After [31105], don't ditch the isset() calls for BC. Declare $page_hook as null so it is initialized for all execution paths but will still fail isset() checks.

Fixes #30958.


git-svn-id: https://develop.svn.wordpress.org/trunk@31106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-01-08 22:51:30 +00:00
parent c4e2ad04a2
commit 0c37f866f2
4 changed files with 38 additions and 40 deletions

View File

@@ -2576,7 +2576,7 @@ function is_plugin_page() {
global $plugin_page;
if ( $plugin_page )
if ( isset($plugin_page) )
return true;
return false;