mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2235,4 +2235,14 @@ function wp_login($username, $password, $already_md5 = false) {
|
||||
}
|
||||
}
|
||||
|
||||
function is_plugin_page() {
|
||||
global $plugin_page;
|
||||
|
||||
if (isset($plugin_page)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user