Ticket #31086: taxonomy.php.patch
| File taxonomy.php.patch, 384 bytes (added by , 11 years ago) |
|---|
-
taxonomy.php
3687 3687 */ 3688 3688 function get_object_term_cache($id, $taxonomy) { 3689 3689 $cache = wp_cache_get($id, "{$taxonomy}_relationships"); 3690 if( is_array( $cache ) ) { 3691 return array_values( $cache ); 3692 } 3690 3693 return $cache; 3691 3694 } 3692 3695