Ticket #63224: 63224.patch
| File 63224.patch, 551 bytes (added by , 14 months ago) |
|---|
-
src/wp-admin/site-editor.php
diff --git a/src/wp-admin/site-editor.php b/src/wp-admin/site-editor.php index 0f1415ea9b..dba0c5981b 100644
a b if ( ! current_user_can( 'edit_theme_options' ) ) { 31 31 */ 32 32 function _wp_get_site_editor_redirection_url() { 33 33 global $pagenow; 34 if ( 'site-editor.php' !== $pagenow || isset( $_REQUEST['p'] ) || ! $_SERVER['QUERY_STRING']) {34 if ( 'site-editor.php' !== $pagenow || isset( $_REQUEST['p'] ) || empty( $_SERVER['QUERY_STRING'] ) ) { 35 35 return false; 36 36 } 37 37