Docs: Use consistent format for the `@return` tags in `_wp_object_name_sort_cb()` and `_wp_object_count_sort_cb()`.
Both functions are used as a callback for `uasort()`. Follow-up to [36013], [55214]. See #57358, #56792. Built from https://develop.svn.wordpress.org/trunk@55222 git-svn-id: http://core.svn.wordpress.org/trunk@54755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ba5324e2bd
commit
cb4b7b6a8b
|
@ -1084,7 +1084,8 @@ function _wp_object_name_sort_cb( $a, $b ) {
|
|||
*
|
||||
* @param object $a The first object to compare.
|
||||
* @param object $b The second object to compare.
|
||||
* @return int The count value for `$a` minus the count value for `$b` (less than, equal to, or greater than zero).
|
||||
* @return int Negative number if `$a->count` is less than `$b->count`, zero if they are equal,
|
||||
* or greater than zero if `$a->count` is greater than `$b->count`.
|
||||
*/
|
||||
function _wp_object_count_sort_cb( $a, $b ) {
|
||||
return ( $a->count - $b->count );
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-55221';
|
||||
$wp_version = '6.2-alpha-55222';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue