Ticket #18301: 18301.2.patch
File 18301.2.patch, 747 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/class-wp-themes-list-table.php
class WP_Themes_List_Table extends WP_List_Table { 25 25 } 26 26 27 27 function prepare_items() { 28 $themes = wp_get_themes( array( 'allowed' => true ) ); 28 if ( is_multisite() && is_super_admin() ) 29 $themes = wp_get_themes(); 30 else 31 $themes = wp_get_themes( array( 'allowed' => true ) ); 29 32 30 33 if ( ! empty( $_REQUEST['s'] ) ) 31 34 $this->search_terms = array_unique( array_filter( array_map( 'trim', explode( ',', strtolower( stripslashes( $_REQUEST['s'] ) ) ) ) ) );