Make WordPress Core


Ignore:
Timestamp:
11/03/2011 05:06:45 PM (13 years ago)
Author:
ryan
Message:

Update the blog date whenever a pubic post type is published or changed after being published. fixes #18624

File:
1 edited

Legend:

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

    r18657 r19129  
    3737add_action( 'publish_post', 'update_posts_count' );
    3838add_action( 'delete_post', 'wpmu_update_blogs_date' );
    39 add_action( 'publish_post', 'wpmu_update_blogs_date' );
     39add_action( 'transition_post_status', '_update_blog_date_on_post_publish', 10, 3 );
    4040add_action( 'admin_init', 'wp_schedule_update_network_counts');
    4141add_action( 'update_network_counts', 'wp_update_network_counts');
Note: See TracChangeset for help on using the changeset viewer.