mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
And fix this variable. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1a70603eb2
commit
95087c5947
@ -2339,7 +2339,7 @@ class WP_Screen {
|
||||
function set_parentage( $parent_file ) {
|
||||
$this->parent_file = $parent_file;
|
||||
$this->parent_base = preg_replace('/\?.*$/', '', $parent_file);
|
||||
$this->parent_base = str_replace('.php', '', $current_screen->parent_base);
|
||||
$this->parent_base = str_replace('.php', '', $this->parent_base);
|
||||
}
|
||||
|
||||
function add_option( $option, $args = array() ) {
|
||||
|
Loading…
Reference in New Issue
Block a user