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:
Drew Jaynes 2016-02-26 17:23:26 +00:00
parent 24a301e06e
commit 3f3659cd80
2 changed files with 3 additions and 3 deletions

View File

@ -1347,7 +1347,7 @@ final class WP_Theme implements ArrayAccess {
* @param string $a First name. * @param string $a First name.
* @param string $b Second name. * @param string $b Second name.
* @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally. * @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 ) { private static function _name_sort( $a, $b ) {
return strnatcasecmp( $a->headers['Name'], $b->headers['Name'] ); 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 $a First name.
* @param string $b Second name. * @param string $b Second name.
* @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally. * @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 ) { private static function _name_sort_i18n( $a, $b ) {
// Don't mark up; Do translate. // Don't mark up; Do translate.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.