Changeset 21792 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 09/10/2012 05:00:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r21788 r21792 862 862 * exist then WP_Error will be returned. 863 863 */ 864 function &get_term($term, $taxonomy, $output = OBJECT, $filter = 'raw') {864 function get_term($term, $taxonomy, $output = OBJECT, $filter = 'raw') { 865 865 global $wpdb; 866 866 $null = null; … … 1179 1179 * @return array|WP_Error List of Term Objects and their children. Will return WP_Error, if any of $taxonomies do not exist. 1180 1180 */ 1181 function &get_terms($taxonomies, $args = '') {1181 function get_terms($taxonomies, $args = '') { 1182 1182 global $wpdb; 1183 1183 $empty_array = array(); … … 2638 2638 * @return bool|array Empty array if $terms found, but not $taxonomy. False if nothing is in cache for $taxonomy and $id. 2639 2639 */ 2640 function &get_object_term_cache($id, $taxonomy) {2640 function get_object_term_cache($id, $taxonomy) { 2641 2641 $cache = wp_cache_get($id, "{$taxonomy}_relationships"); 2642 2642 return $cache; … … 2784 2784 * @return array The subset of $terms that are descendants of $term_id. 2785 2785 */ 2786 function &_get_term_children($term_id, $terms, $taxonomy) {2786 function _get_term_children($term_id, $terms, $taxonomy) { 2787 2787 $empty_array = array(); 2788 2788 if ( empty($terms) )
Note: See TracChangeset
for help on using the changeset viewer.