From 33ccdcdeabb1e2a67b29805277bdde709fb97d99 Mon Sep 17 00:00:00 2001 From: scribu Date: Sun, 22 Aug 2010 01:50:34 +0000 Subject: [PATCH] use is_a() instead of is_object() in screen_meta(). See #14579 git-svn-id: http://svn.automattic.com/wordpress/trunk@15518 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index b4a0d08e66..c1b898adf4 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -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');