Make WordPress Core


Ignore:
Timestamp:
09/05/2013 04:33:50 PM (11 years ago)
Author:
wonderboymusic
Message:

Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this.

Props jdgrimes.
See #25160.

File:
1 edited

Legend:

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

    r24583 r25254  
    100100        if ( $s ) {
    101101            $status = 'search';
    102             $plugins['search'] = array_filter( $plugins['all'], array( &$this, '_search_callback' ) );
     102            $plugins['search'] = array_filter( $plugins['all'], array( $this, '_search_callback' ) );
    103103        }
    104104
     
    122122            $order = strtoupper( $order );
    123123
    124             uasort( $this->items, array( &$this, '_order_callback' ) );
     124            uasort( $this->items, array( $this, '_order_callback' ) );
    125125        }
    126126
Note: See TracChangeset for help on using the changeset viewer.