Declare the `$submenu_file` global to avoid a notice generated by passing it as a parameter to the `submenu_file` hook, introduced in [34722].

Fixes #24531.

Built from https://develop.svn.wordpress.org/trunk@34724


git-svn-id: http://core.svn.wordpress.org/trunk@34688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-10-01 01:23:25 +00:00
parent 7365e0ebbb
commit 2a0a841a13
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ $self = preg_replace('|^.*/mu-plugins/|i', '', $self);
* @global array $submenu
* @global string $parent_file
*/
global $menu, $submenu, $parent_file;
global $menu, $submenu, $parent_file, $submenu_file;
/**
* Filter the parent file of an admin menu sub-menu item.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34723';
$wp_version = '4.4-alpha-34724';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.