Ticket #56228: 56228.diff
File 56228.diff, 1.6 KB (added by , 2 years ago) |
---|
-
src/wp-admin/css/common.css
572 572 margin: 10px 20px 0 2px; 573 573 } 574 574 575 .wrap.block-editor-no-js { 575 .wrap.block-editor-no-js, 576 .wrap.site-editor-no-js { 576 577 padding-left: 20px; 577 578 } 578 579 -
src/wp-admin/site-editor.php
143 143 require_once ABSPATH . 'wp-admin/admin-header.php'; 144 144 ?> 145 145 146 <div id="site-editor" class="edit-site"></div> 146 <div class="edit-site"> 147 <h1 class="screen-reader-text hide-if-no-js"><?php _e( 'Edit site' ); ?></h1> 148 <div id="site-editor"></div> 147 149 150 <?php // JavaScript is disabled. ?> 151 <div class="wrap hide-if-js site-editor-no-js"> 152 <h1 class="wp-heading-inline"><?php _e( 'Edit site' ); ?></h1> 153 <div class="notice notice-error notice-alt"> 154 <p> 155 <?php 156 /** 157 * Filters the message displayed in the site editor interface when JavaScript is 158 * not enabled in the browser. 159 * 160 * @since 6.1.0 161 * 162 * @param string $message The message being displayed. 163 * @param WP_Post $post The post being edited. 164 */ 165 echo apply_filters( 'site_editor_no_javascript_message', __( 'The site editor requires JavaScript. Please enable JavaScript in your browser settings.' ), $post ); 166 ?> 167 </p> 168 </div> 169 </div> 170 </div> 171 148 172 <?php 149 173 150 174 require_once ABSPATH . 'wp-admin/admin-footer.php';