Changeset 29667 for trunk/src/wp-includes/ms-blogs.php
- Timestamp:
- 09/02/2014 07:16:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r29319 r29667 918 918 */ 919 919 function _update_posts_count_on_delete( $post_id ) { 920 if ( 'publish' !== get_post_field( 'post_status', $post_id ) ) { 920 $post = get_post( $post_id ); 921 922 if ( ! $post || 'publish' !== $post->post_status ) { 921 923 return; 922 924 }
Note: See TracChangeset
for help on using the changeset viewer.