Make WordPress Core

Changeset 15518


Ignore:
Timestamp:
08/22/2010 01:50:34 AM (14 years ago)
Author:
scribu
Message:

use is_a() instead of is_object() in screen_meta(). See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r15493 r15518  
    16351635        $screen = convert_to_screen($screen);
    16361636
    1637     if ( is_object($table) )
     1637    if ( is_a($table, 'WP_List_Table') )
    16381638        list( $screen_columns ) = $table->get_column_headers();
    16391639    $meta_screens = array('index' => 'dashboard');
Note: See TracChangeset for help on using the changeset viewer.