From f9d01cc7de11eaa89ca8a5df202f29558a50d168 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 26 Feb 2016 17:22:30 +0000 Subject: [PATCH] Docs: Fix two typos in return descriptions for `WP_Theme` private `usort()` methods. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36739 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php index 1fbe16d562..d98fb3149b 100644 --- a/src/wp-includes/class-wp-theme.php +++ b/src/wp-includes/class-wp-theme.php @@ -1347,7 +1347,7 @@ final class WP_Theme implements ArrayAccess { * @param string $a First name. * @param string $b Second name. * @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally. - * Greater than 0 if `$a` falls higher in the natural order than `$b`. Used with uasort(). + * Greater than 0 if `$a` falls higher in the natural order than `$b`. Used with usort(). */ private static function _name_sort( $a, $b ) { return strnatcasecmp( $a->headers['Name'], $b->headers['Name'] ); @@ -1364,7 +1364,7 @@ final class WP_Theme implements ArrayAccess { * @param string $a First name. * @param string $b Second name. * @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally. - * Greater than 0 if `$a` falls higher in the natural order than `$b`. Used with uasort(). + * Greater than 0 if `$a` falls higher in the natural order than `$b`. Used with usort(). */ private static function _name_sort_i18n( $a, $b ) { // Don't mark up; Do translate.