Changeset 12768 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 01/19/2010 07:45:44 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r12760 r12768 662 662 } 663 663 664 // deprecated, see clean_post_cache() 664 665 function clear_global_post_cache( $post_id ) { 665 global $wpdb; 666 667 wp_cache_delete( $wpdb->blogid . '-' . $post_id, 'global-posts' ); 668 } 669 add_action( 'publish_post', 'clear_global_post_cache' ); 670 add_action( 'delete_post', 'clear_global_post_cache' ); 666 return; 667 } 671 668 672 669 function add_user_to_blog( $blog_id, $user_id, $role ) {
Note: See TracChangeset
for help on using the changeset viewer.