WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/27/2010 07:42:23 PM (12 years ago)
Author:
ryan
Message:

Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r12783 r12881  
    20442044    // new-style support for all tag-like taxonomies
    20452045    if ( !empty($tax_input) ) {
    2046         foreach ( $tax_input as $taxonomy => $tags ) {
     2046        foreach ( $tax_input as $taxonomy => $tags )
    20472047            wp_set_post_terms( $post_ID, $tags, $taxonomy );
    2048         }
    20492048    }
    20502049
Note: See TracChangeset for help on using the changeset viewer.