WordPress.org

Make WordPress Core

Changeset 1198 in tests


Ignore:
Timestamp:
01/31/2013 09:19:57 PM (5 years ago)
Author:
nbachiyski
Message:

Use __CLASS__ instead of self

Before it worked, because WP_DEBUG was off and the test magically
passed.

Props scribu, see #UT101.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/export/class-wp-export-query.php

    r1195 r1198  
    238238
    239239    private static function get_term_ids( $terms ) {
    240         return array_values( array_map( array( self, '_get_term_ids_cb' ), $terms ) );
     240        return array_values( array_map( array( __CLASS__, '_get_term_ids_cb' ), $terms ) );
    241241    }
    242242
Note: See TracChangeset for help on using the changeset viewer.