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