Docs: Add missing parameter and return notations in the DocBlock for `WP_Theme::_name_sort()`, a private `usort()` helper.
See #32246. Built from https://develop.svn.wordpress.org/trunk@36737 git-svn-id: http://core.svn.wordpress.org/trunk@36704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
22ad478325
commit
3851bc0c56
|
@ -1344,7 +1344,10 @@ final class WP_Theme implements ArrayAccess {
|
||||||
* @static
|
* @static
|
||||||
* @access private
|
* @access private
|
||||||
*
|
*
|
||||||
* @return int
|
* @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().
|
||||||
*/
|
*/
|
||||||
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'] );
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-beta1-36736';
|
$wp_version = '4.5-beta1-36737';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue