mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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() ) {
|
||||
|
||||
Reference in New Issue
Block a user