mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
use is_a() instead of is_object() in screen_meta(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1634,7 +1634,7 @@ function screen_meta($screen) {
|
||||
if ( is_string($screen) )
|
||||
$screen = convert_to_screen($screen);
|
||||
|
||||
if ( is_object($table) )
|
||||
if ( is_a($table, 'WP_List_Table') )
|
||||
list( $screen_columns ) = $table->get_column_headers();
|
||||
$meta_screens = array('index' => 'dashboard');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user