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:
scribu
2010-08-22 01:50:34 +00:00
parent e848b8b815
commit b96c92620d

View File

@@ -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');