diff --git a/wp-admin/admin.php b/wp-admin/admin.php index 7b703caff9..287027f4f6 100644 --- a/wp-admin/admin.php +++ b/wp-admin/admin.php @@ -181,7 +181,7 @@ if ( isset( $plugin_page ) ) { $page_hook = get_plugin_page_hook( $plugin_page, $plugin_page ); // Back-compat for plugins using add_management_page(). - if ( empty( $page_hook ) && 'edit.php' === $pagenow && '' !== get_plugin_page_hook( $plugin_page, 'tools.php' ) ) { + if ( empty( $page_hook ) && 'edit.php' === $pagenow && get_plugin_page_hook( $plugin_page, 'tools.php' ) ) { // There could be plugin specific params on the URL, so we need the whole query string. if ( ! empty( $_SERVER['QUERY_STRING'] ) ) { $query_string = $_SERVER['QUERY_STRING']; diff --git a/wp-includes/version.php b/wp-includes/version.php index 26c318621d..785d7c6107 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47219'; +$wp_version = '5.4-alpha-47220'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.