Make WordPress Core


Ignore:
Timestamp:
10/09/2008 12:50:52 AM (16 years ago)
Author:
ryan
Message:

Suspend cache invalidation while importing posts with WP importer

File:
1 edited

Legend:

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

    r9101 r9106  
    28622862 */
    28632863function clean_post_cache($id) {
    2864     global $wpdb;
     2864    global $_wp_suspend_cache_invalidation, $wpdb;
     2865
     2866    if ( !empty($_wp_suspend_cache_invalidation) )
     2867        return;
     2868
    28652869    $id = (int) $id;
    28662870
Note: See TracChangeset for help on using the changeset viewer.