mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
Coding Standards: Move an assignment out of a condition in wp-admin/admin.php
.
Props subrataemfluence, jrf, pento. Fixes #44363. Built from https://develop.svn.wordpress.org/trunk@44598 git-svn-id: http://core.svn.wordpress.org/trunk@44429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
120710d8f8
commit
883ee72ed6
@ -174,7 +174,9 @@ if ( isset( $plugin_page ) ) {
|
||||
} else {
|
||||
$the_parent = $pagenow;
|
||||
}
|
||||
if ( ! $page_hook = get_plugin_page_hook( $plugin_page, $the_parent ) ) {
|
||||
|
||||
$page_hook = get_plugin_page_hook( $plugin_page, $the_parent );
|
||||
if ( ! $page_hook ) {
|
||||
$page_hook = get_plugin_page_hook( $plugin_page, $plugin_page );
|
||||
|
||||
// Back-compat for plugins using add_management_page().
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-beta1-44597';
|
||||
$wp_version = '5.1-beta1-44598';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user