Changeset 55214
- Timestamp:
- 02/03/2023 03:42:11 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r54891 r55214 1085 1085 * @param object $a The first object to compare. 1086 1086 * @param object $b The second object to compare. 1087 * @return bool Whether the count value for `$a` is greater than the count value for `$b`.1087 * @return int The count value for `$a` minus the count value for `$b` (less than, equal to, or greater than zero). 1088 1088 */ 1089 1089 function _wp_object_count_sort_cb( $a, $b ) { 1090 return ( $a->count >$b->count );1090 return ( $a->count - $b->count ); 1091 1091 } 1092 1092
Note: See TracChangeset
for help on using the changeset viewer.