| 138 | <?php // JavaScript is disabled. ?> |
| 139 | <div class="wrap hide-if-js site-editor-no-js"> |
| 140 | <h1 class="wp-heading-inline"><?php _e( 'Edit site' ); ?></h1> |
| 141 | <div class="notice notice-error notice-alt"> |
| 142 | <p> |
| 143 | <?php |
| 144 | /** |
| 145 | * Filters the message displayed in the site editor interface when JavaScript is |
| 146 | * not enabled in the browser. |
| 147 | * |
| 148 | * @since 6.3.0 |
| 149 | * |
| 150 | * @param string $message The message being displayed. |
| 151 | * @param WP_Post $post The post being edited. |
| 152 | */ |
| 153 | echo apply_filters( 'site_editor_no_javascript_message', __( 'The site editor requires JavaScript. Please enable JavaScript in your browser settings.' ), $post ); |
| 154 | ?> |
| 155 | </p> |
| 156 | </div> |
| 157 | </div> |
| 158 | </div> |
| 159 | |