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
This commit is contained in:
parent
fb56a9942b
commit
cc7a2e29f5
|
@ -16,7 +16,7 @@
|
||||||
function get_importers() {
|
function get_importers() {
|
||||||
global $wp_importers;
|
global $wp_importers;
|
||||||
if ( is_array( $wp_importers ) ) {
|
if ( is_array( $wp_importers ) ) {
|
||||||
uasort( $wp_importers, '_uasort_by_first_member' );
|
uasort( $wp_importers, '_usort_by_first_member' );
|
||||||
}
|
}
|
||||||
return $wp_importers;
|
return $wp_importers;
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ function get_importers() {
|
||||||
* @param array $b
|
* @param array $b
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
function _uasort_by_first_member( $a, $b ) {
|
function _usort_by_first_member( $a, $b ) {
|
||||||
return strnatcasecmp( $a[0], $b[0] );
|
return strnatcasecmp( $a[0], $b[0] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue