WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/26/2010 11:02:51 AM (9 years ago)
Author:
scribu
Message:

use unaltered in the get_list_table_* filter

File:
1 edited

Legend:

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

    r15530 r15535  
    679679    require_once( ABSPATH . '/wp-admin/includes/default-list-tables.php' );
    680680
    681     $type = strtr( ucwords( strtr( $type, '-', ' ') ), ' ', '_' );
    682 
    683     $class = "WP_{$type}_Table";
     681    $class = 'WP_' . strtr( ucwords( strtr( $type, '-', ' ') ), ' ', '_' ) . '_Table';
    684682    $class = apply_filters( "get_list_table_$type", $class );
    685683
Note: See TracChangeset for help on using the changeset viewer.