Make WordPress Core


Ignore:
Timestamp:
03/03/2014 04:20:12 PM (11 years ago)
Author:
markjaquith
Message:

Eliminate some of our last remaining create_function() instances

  • Moved some into private function callbacks
  • Eliminated some that weren't necessary anymore

props obenland, markjaquith, nacin. fixes #14424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/import.php

    r27036 r27373  
    7575    echo '<p>' . __('No importers are available.') . '</p>'; // TODO: make more helpful
    7676} else {
    77     uasort($importers, create_function('$a, $b', 'return strnatcasecmp($a[0], $b[0]);'));
     77    uasort( $importers, '_uasort_by_first_member' );
    7878?>
    7979<table class="widefat importers">
Note: See TracChangeset for help on using the changeset viewer.