Docs: Fix two typos in return descriptions for `WP_Theme` private `usort()` methods.
See #32246. Built from https://develop.svn.wordpress.org/trunk@36739 git-svn-id: http://core.svn.wordpress.org/trunk@36706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
24a301e06e
commit
3f3659cd80
|
@ -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.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-beta1-36738';
|
||||
$wp_version = '4.5-beta1-36739';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue