Skip to content
Commit 491a770a authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Coding Standards: Correct the `get_plugin_page_hook()` check in `wp-admin/admin.php`.

The condition is meant to check for a non-empty string, however `get_plugin_page_hook()` can return null, in which case the strict check doesn't work as expected.

Follow-up to [47218].

See #48455, #49222.
Built from https://develop.svn.wordpress.org/trunk@47220


git-svn-id: https://core.svn.wordpress.org/trunk@47020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 0f74a918
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment