From cc7a2e29f5e9e7c80c626bddf30bd3f8f719090b Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 3 Mar 2014 17:09:14 +0000 Subject: [PATCH] Slight renaming in our callback in [27373]. see #14424. Built from https://develop.svn.wordpress.org/trunk@27374 git-svn-id: http://core.svn.wordpress.org/trunk@27223 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/import.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/import.php b/wp-admin/includes/import.php index b5c987229f..f01eb8734d 100644 --- a/wp-admin/includes/import.php +++ b/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] ); }