From 0aae0ca1e69d37e11ddfe6dfdb96eb0d477e6b21 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 3 Mar 2014 17:08:26 +0000 Subject: [PATCH] Slight renaming in our callback in [27373]. see #14424. git-svn-id: https://develop.svn.wordpress.org/trunk@27374 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/import.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/import.php b/src/wp-admin/includes/import.php index b5c987229f..f01eb8734d 100644 --- a/src/wp-admin/includes/import.php +++ b/src/wp-admin/includes/import.php @@ -16,7 +16,7 @@ function get_importers() { global $wp_importers; if ( is_array( $wp_importers ) ) { - uasort( $wp_importers, '_uasort_by_first_member' ); + uasort( $wp_importers, '_usort_by_first_member' ); } return $wp_importers; } @@ -33,7 +33,7 @@ function get_importers() { * @param array $b * @return int */ -function _uasort_by_first_member( $a, $b ) { +function _usort_by_first_member( $a, $b ) { return strnatcasecmp( $a[0], $b[0] ); }