WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/21/2012 06:52:15 PM (8 years ago)
Author:
nacin
Message:

Call clean_post_cache() in wp_insert_post() after the manual query to change GUID. Remove the second call to clean_post_cache() previously done on the save_post hook. see #11399.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r21537 r21943  
    250250add_action( 'pre_post_update',            'wp_save_post_revision'                          );
    251251add_action( 'publish_post',               '_publish_post_hook',                       5, 1 );
    252 add_action( 'save_post',                  '_save_post_hook',                          5, 2 );
    253252add_action( 'transition_post_status',     '_transition_post_status',                  5, 3 );
    254253add_action( 'transition_post_status',     '_update_term_count_on_transition_post_status', 10, 3 );
Note: See TracChangeset for help on using the changeset viewer.