Changeset 36013 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 12/18/2015 11:37:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r36005 r36013 948 948 949 949 /** 950 * Callback for comparing objects based on name 950 * Serves as a callback for comparing objects based on name. 951 * 952 * Used with `uasort()`. 951 953 * 952 954 * @since 3.1.0 953 955 * @access private 954 * @return int 956 * 957 * @param object $a The first object to compare. 958 * @param object $b The second object to compare. 959 * @return int Negative number if `$a->name` is less than `$b->name`, zero if they are equal, 960 * or greater than zero if `$a->name` is greater than `$b->name`. 955 961 */ 956 962 function _wp_object_name_sort_cb( $a, $b ) { … … 959 965 960 966 /** 961 * Callback for comparing objects based on count 967 * Serves as a callback for comparing objects based on count. 968 * 969 * Used with `uasort()`. 962 970 * 963 971 * @since 3.1.0 964 972 * @access private 965 * @return bool 973 * 974 * @param object $a The first object to compare. 975 * @param object $b The second object to compare. 976 * @return bool Whether the count value for `$a` is greater than the count value for `$b`. 966 977 */ 967 978 function _wp_object_count_sort_cb( $a, $b ) {
Note: See TracChangeset
for help on using the changeset viewer.