Changeset 19729 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 01/11/2012 09:26:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r19684 r19729 2658 2658 2659 2659 foreach ( $ids as $id ) { 2660 foreach ( $taxonomies 2660 foreach ( $taxonomies as $taxonomy ) { 2661 2661 if ( ! isset($object_terms[$id][$taxonomy]) ) { 2662 2662 if ( !isset($object_terms[$id]) ) … … 2669 2669 foreach ( $object_terms as $id => $value ) { 2670 2670 foreach ( $value as $taxonomy => $terms ) { 2671 wp_cache_ set($id, $terms, "{$taxonomy}_relationships");2671 wp_cache_add( $id, $terms, "{$taxonomy}_relationships" ); 2672 2672 } 2673 2673 }
Note: See TracChangeset
for help on using the changeset viewer.