| | 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 | |