관리-도구
편집 파일: settings-page.php
<?php /** * This is the error page HTML. * * @since 4.1.9 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } // phpcs:disable Generic.Files.LineLength.MaxExceeded $logoImage = 'data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMyIDI2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGNsYXNzPSJhaW9zZW8tbG9nbyI+Cgk8cGF0aAoJCWZpbGwtcnVsZT0iZXZlbm9kZCIKCQljbGlwLXJ1bGU9ImV2ZW5vZGQiCgkJZD0iTTExOS4wMzggMjUuOTI0MUMxMjYuMTk3IDI1LjkyNDEgMTMyIDIwLjEyMDggMTMyIDEyLjk2MkMxMzIgNS44MDMzIDEyNi4xOTcgMCAxMTkuMDM4IDBDMTExLjg3OSAwIDEwNi4wNzYgNS44MDMzIDEwNi4wNzYgMTIuOTYyQzEwNi4wNzYgMjAuMTIwOCAxMTEuODc5IDI1LjkyNDEgMTE5LjAzOCAyNS45MjQxWk0xMTYuOTc0IDQuNzQ0MDhDMTE2Ljc5OCA0LjQ3NjQ4IDExNi40NzMgNC4zNTEzNiAxMTYuMTc1IDQuNDU2NzJDMTE1LjgzNSA0LjU3NjczIDExNS41MDMgNC43MTc4NyAxMTUuMTggNC44NzkyOUMxMTQuODk3IDUuMDIwOTggMTE0Ljc1NSA1LjM0NDY2IDExNC44MTcgNS42NjAzM0wxMTUuMDM5IDYuNzg1MDdDMTE1LjA5NiA3LjA3NDU3IDExNC45NzggNy4zNjgzOSAxMTQuNzU0IDcuNTU1MDRDMTE0LjQgNy44NTAwMyAxMTQuMDcyIDguMTgzNTQgMTEzLjc3OSA4LjU1MjY4QzExMy41OTcgOC43ODIxMiAxMTMuMzA5IDguOTAzNzMgMTEzLjAyNSA4Ljg0NjM4TDExMS45MjMgOC42MjM2NEMxMTEuNjEzIDguNTYxMDcgMTExLjI5NiA4LjcwNzQ3IDExM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to; width: 750px; max-width: 100%; animation: loadAioseoSettingsNoJSView 0s 5s forwards; } #aioseo-settings-error-loading-area { text-align: center; background-color: #fff; border: 1px solid #D6E2EC; padding: 15px 50px 30px; color: #141B38; margin: 82px 0; } #aioseo-settings-logo { max-width: 100%; width: 240px; padding: 30px 0 15px; } .aioseo-settings-button, .aioseo-settings-button:focus { margin-left: auto; background-color: #005ae0; border-color: #3380BC; border-bottom-width: 2px; color: #fff; border-radius: 3px; font-weight: 600; transition: all 0.1s ease-in-out; transition-duration: 0.2s; padding: 14px 35px; font-size: 16px; margin-top: 10px; margin-bottom: 20px; text-decoration: none; display: inline-block; } .aioseo-settings-button:hover { color: #fff; background-color: #1a82ea; } #aioseo-alert-message { position: relative; border-radius: 3px; padding: 12px 20px; font-size: 14px; color: #141B38; line-height: 1.4; border: 1px solid #DF2A4A; background-color: #FBE9EC; } #aioseo-settings-area h3 { font-size: 20px; color: #434343; font-weight: 500; line-height:1.4; } #aioseo-settings-area p { line-height: 1.5; margin: 1em 0; font-size: 16px; color: #434343; padding: 5px 20px 20px; } @keyframes loadAioseoSettingsNoJSView{ to { visibility: visible; } } </style> <!--[if IE]> <style> #aioseo-settings-area{ visibility: visible !important; } </style> <![endif]--> <script type="text/javascript"> var ua = window.navigator.userAgent; var msie = ua.indexOf( 'MSIE ' ); if (0 < msie) { document.addEventListener('DOMContentLoaded', () => { var browserError = document.getElementById( 'aioseo-error-browser' ), jsError = document.getElementById( 'aioseo-error-js' ); jsError.style.display = 'none'; browserError.style.display = 'block'; }) } else { window.onerror = function myErrorHandler( errorMsg, url, lineNumber ) { /* Don't try to put error in container that no longer exists post-vue loading */ var messageContainer = document.getElementById( 'aioseo-nojs-error-message' ); if ( ! messageContainer ) { return false; } var message = document.getElementById( 'aioseo-alert-message' ); message.innerHTML = errorMsg; messageContainer.style.display = 'block'; return false; } } </script> <div id="aioseo-settings-area"> <div id="aioseo-settings-error-loading-area"> <img id="aioseo-settings-logo" src="<?php echo esc_attr( $logoImage ); ?>" alt="<?php echo esc_attr( AIOSEO_PLUGIN_NAME ); ?>"> <div id="aioseo-error-js"> <h3><?php esc_html_e( 'Ooops! It Appears JavaScript Didn’t Load', 'all-in-one-seo-pack' ); ?></h3> <p> <?php printf( // Translators: 1 - Line break HTML tag, 2 - "AIOSEO". esc_html__( 'There seems to be an issue running JavaScript on your website. %1$s%2$s is built with JavaScript to give you the best experience possible.', 'all-in-one-seo-pack' ), '<br>', esc_attr( AIOSEO_PLUGIN_SHORT_NAME ) ); ?> </p> <div style="display: none;" id="aioseo-nojs-error-message"> <div id="aioseo-alert-message"></div> <p style="margin-top: 5px; font-size: 14px; color: #141B38;"> <?php printf( // Translators: 1 - "AIOSEO". esc_html__( 'Copy the error message above and paste it in a message to the %1$s support team.', 'all-in-one-seo-pack' ), esc_attr( AIOSEO_PLUGIN_SHORT_NAME ) ); ?> </p> </div> <a href="https://aioseo.com/docs/how-to-fix-javascript-errors/?utm_source=WordPress&utm_medium=<?php echo esc_attr( $medium ); ?>&utm_campaign=javascript-errors" class="aioseo-settings-button" target="_blank"> <?php esc_html_e( 'Resolve This Issue', 'all-in-one-seo-pack' ); ?> </a> </div> <div id="aioseo-error-browser" style="display: none"> <h3><?php esc_html_e( 'Your browser version is not supported', 'all-in-one-seo-pack' ); ?></h3> <p> <?php printf( // Translators: 1 - "AIOSEO". esc_html__( 'You are using a browser which is no longer supported by %1$s. Please update or use another browser in order to access the plugin settings.', 'all-in-one-seo-pack' ), esc_attr( AIOSEO_PLUGIN_SHORT_NAME ) ); ?> </p> <a href="https://www.aioseo.com/docs/browser-support-policy/?utm_source=WordPress&utm_medium=<?php echo esc_attr( $medium ); ?>&utm_campaign=javascript-errors" class="aioseo-settings-button" target="_blank"> <?php esc_html_e( 'View supported browsers', 'all-in-one-seo-pack' ); ?> </a> </div> </div> </div>