Changeset 37573 for trunk/src/wp-admin/includes/taxonomy.php
- Timestamp:
- 05/26/2016 04:49:10 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/taxonomy.php
r37488 r37573 243 243 if ( false === $terms ) { 244 244 $terms = wp_get_object_terms( $post_id, $taxonomy ); 245 wp_cache_add( $post_id, $terms, $taxonomy . '_relationships' );245 wp_cache_add( $post_id, wp_list_pluck( $terms, 'term_id' ), $taxonomy . '_relationships' ); 246 246 } 247 247
Note: See TracChangeset
for help on using the changeset viewer.