Make WordPress Core

Changeset 18657


Ignore:
Timestamp:
09/09/2011 05:49:30 PM (13 years ago)
Author:
nacin
Message:

Update blog last_updated time only on publish_post. Both private_to_published and publish_phone are overly broad and otherwise redundant. props mdawaffe, fixes #18624.

File:
1 edited

Legend:

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

    r16213 r18657  
    3737add_action( 'publish_post', 'update_posts_count' );
    3838add_action( 'delete_post', 'wpmu_update_blogs_date' );
    39 add_action( 'private_to_published', 'wpmu_update_blogs_date' );
    40 add_action( 'publish_phone', 'wpmu_update_blogs_date' );
    4139add_action( 'publish_post', 'wpmu_update_blogs_date' );
    4240add_action( 'admin_init', 'wp_schedule_update_network_counts');
Note: See TracChangeset for help on using the changeset viewer.