mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -2576,7 +2576,7 @@ function is_plugin_page() {
|
||||
|
||||
global $plugin_page;
|
||||
|
||||
if ( $plugin_page )
|
||||
if ( isset($plugin_page) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user