Changeset 34158 for trunk/src/wp-includes/comment-functions.php
- Timestamp:
- 09/15/2015 12:57:48 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-functions.php
r34136 r34158 1908 1908 if ( !$post_id ) 1909 1909 return false; 1910 1911 wp_cache_delete( 'comments-0', 'counts' ); 1912 wp_cache_delete( "comments-{$post_id}", 'counts' ); 1913 1910 1914 if ( !$post = get_post($post_id) ) 1911 1915 return false; … … 1916 1920 1917 1921 clean_post_cache( $post ); 1918 1919 wp_cache_delete( 'comments-0', 'counts' );1920 wp_cache_delete( "comments-{$post_id}", 'counts' );1921 1922 1922 1923 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)