And fix this variable. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@18781 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d5dee542e5
commit
601a70fe8e
|
@ -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