Slight renaming in our callback in [27373]. see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@27374 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7937358328
commit
0aae0ca1e6
@ -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
Block a user