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