Ticket #18392: terms.patch
File terms.patch, 894 bytes (added by , 13 years ago) |
---|
-
wp-includes/taxonomy.php
2994 2994 $t['template'] = $template; 2995 2995 2996 2996 $terms = get_object_term_cache($post->ID, $taxonomy); 2997 if ( empty($terms))2997 if ( false === $terms ) 2998 2998 $terms = wp_get_object_terms($post->ID, $taxonomy, $t['args']); 2999 2999 3000 3000 $links = array(); -
wp-admin/includes/media.php
1123 1123 $t['args'] = array(); 1124 1124 1125 1125 $terms = get_object_term_cache($post->ID, $taxonomy); 1126 if ( empty($terms))1126 if ( false === $terms ) 1127 1127 $terms = wp_get_object_terms($post->ID, $taxonomy, $t['args']); 1128 1128 1129 1129 $values = array();