diff --git a/wp-admin/site-editor.php b/wp-admin/site-editor.php index 0f1415ea9b..dba0c5981b 100644 --- a/wp-admin/site-editor.php +++ b/wp-admin/site-editor.php @@ -31,7 +31,7 @@ if ( ! current_user_can( 'edit_theme_options' ) ) { */ function _wp_get_site_editor_redirection_url() { global $pagenow; - if ( 'site-editor.php' !== $pagenow || isset( $_REQUEST['p'] ) || ! $_SERVER['QUERY_STRING'] ) { + if ( 'site-editor.php' !== $pagenow || isset( $_REQUEST['p'] ) || empty( $_SERVER['QUERY_STRING'] ) ) { return false; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 1a68032c67..1aa657b147 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60132'; +$wp_version = '6.9-alpha-60134'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.