]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-wp-ms-themes-list-table.php
Wordpress 3.7
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-ms-themes-list-table.php
index 1d61af9f82ac061413f0022eb4aa8cec0194053a..73045dbfc58de41ea8eabe7500c2f3cbfaf24f93 100644 (file)
@@ -84,7 +84,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
 
                if ( $s ) {
                        $status = 'search';
-                       $themes['search'] = array_filter( array_merge( $themes['all'], $themes['broken'] ), array( &$this, '_search_callback' ) );
+                       $themes['search'] = array_filter( array_merge( $themes['all'], $themes['broken'] ), array( $this, '_search_callback' ) );
                }
 
                $totals = array();
@@ -108,7 +108,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
                                if ( 'ASC' == $order )
                                        $this->items = array_reverse( $this->items );
                        } else {
-                               uasort( $this->items, array( &$this, '_order_callback' ) );
+                               uasort( $this->items, array( $this, '_order_callback' ) );
                        }
                }
 
@@ -284,8 +284,8 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
                if ( ! $allowed && current_user_can( 'delete_themes' ) && ! $this->is_site_themes && $stylesheet != get_option( 'stylesheet' ) && $stylesheet != get_option( 'template' ) )
                        $actions['delete'] = '<a href="' . esc_url( wp_nonce_url( 'themes.php?action=delete-selected&amp;checked[]=' . $theme_key . '&amp;theme_status=' . $context . '&amp;paged=' . $page . '&amp;s=' . $s, 'bulk-themes' ) ) . '" title="' . esc_attr__( 'Delete this theme' ) . '" class="delete">' . __( 'Delete' ) . '</a>';
 
-               $actions = apply_filters( 'theme_action_links', array_filter( $actions ), $stylesheet, $theme, $context );
-               $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $stylesheet, $theme, $context );
+               $actions = apply_filters( 'theme_action_links', array_filter( $actions ), $theme, $context );
+               $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $theme, $context );
 
                $class = ! $allowed ? 'inactive' : 'active';
                $checkbox_id = "checkbox_" . md5( $theme->get('Name') );