WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/01/2010 08:37:02 AM (9 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-ms-themes.php

    r16123 r16125  
    7777        if ( $s ) {
    7878            $status = 'search';
    79             $themes['search'] = array_filter( $themes['all'], array( $this, '_search_callback' ) );
     79            $themes['search'] = array_filter( $themes['all'], array( &$this, '_search_callback' ) );
    8080        }
    8181
     
    9494            $order = strtoupper( $order );
    9595
    96             uasort( $this->items, array( $this, '_order_callback' ) );
     96            uasort( $this->items, array( &$this, '_order_callback' ) );
    9797        }
    9898
Note: See TracChangeset for help on using the changeset viewer.