Ticket #56228: 56228.1.diff
File 56228.1.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
158 158 require_once ABSPATH . 'wp-admin/admin-header.php'; 159 159 ?> 160 160 161 <div id="site-editor" class="edit-site"></div> 161 <div class="edit-site"> 162 <h1 class="screen-reader-text hide-if-no-js"><?php _e( 'Edit site' ); ?></h1> 163 <div id="site-editor"></div> 162 164 165 <?php // JavaScript is disabled. ?> 166 <div class="wrap hide-if-js site-editor-no-js"> 167 <h1 class="wp-heading-inline"><?php _e( 'Edit site' ); ?></h1> 168 <div class="notice notice-error notice-alt"> 169 <p> 170 <?php 171 /** 172 * Filters the message displayed in the site editor interface when JavaScript is 173 * not enabled in the browser. 174 * 175 * @since 6.1.0 176 * 177 * @param string $message The message being displayed. 178 * @param WP_Post $post The post being edited. 179 */ 180 echo apply_filters( 'site_editor_no_javascript_message', __( 'The site editor requires JavaScript. Please enable JavaScript in your browser settings.' ), $post ); 181 ?> 182 </p> 183 </div> 184 </div> 185 </div> 186 163 187 <?php 164 188 165 189 require_once ABSPATH . 'wp-admin/admin-footer.php';