WordPress.org

Make WordPress Core

Changeset 15535


Ignore:
Timestamp:
08/26/10 11:02:51 (4 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.