Make WordPress Core


Ignore:
Timestamp:
11/01/2010 08:37:02 AM (14 years ago)
Author:
westi
Message:

Make the class to filename mapping easier to read.
Ensure that we support PHP4 for now by passing references to objects in list tables code.
See #14579.

File:
1 edited

Legend:

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

    r16089 r16125  
    110110        if ( $s ) {
    111111            $status = 'search';
    112             $plugins['search'] = array_filter( $plugins['all'], array( $this, '_search_callback' ) );
     112            $plugins['search'] = array_filter( $plugins['all'], array( &$this, '_search_callback' ) );
    113113        }
    114114
     
    127127            $order = strtoupper( $order );
    128128
    129             uasort( $this->items, array( $this, '_order_callback' ) );
     129            uasort( $this->items, array( &$this, '_order_callback' ) );
    130130        }
    131131
Note: See TracChangeset for help on using the changeset viewer.