Go to file
Scott Taylor 95795c1301 More bonkers comment cache cleanup: toggle `wp_defer_comment_counting()` in `wp_insert_post()` and `wp_insert_attachment()`. Move the cache deletion in `wp_update_comment_count_now()` to before the `get_post()` call, so that the caches get deleted even if the post has already been deleted and the function returns early.
See #33875.


git-svn-id: https://develop.svn.wordpress.org/trunk@34158 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-15 00:57:48 +00:00
src More bonkers comment cache cleanup: toggle `wp_defer_comment_counting()` in `wp_insert_post()` and `wp_insert_attachment()`. Move the cache deletion in `wp_update_comment_count_now()` to before the `get_post()` call, so that the caches get deleted even if the post has already been deleted and the function returns early. 2015-09-15 00:57:48 +00:00
tests Ensure that the count cache for `all` is in sync with `comment-{$post_id}` values. These are the values most often relied-upon by the list table for comments. 2015-09-14 22:38:02 +00:00
tools/i18n i18n tools: Use https for `msgid-bugs-address` URLs. 2015-07-27 19:37:13 +00:00
.editorconfig
.gitignore
.jshintrc
.travis.yml Switch explicitly from `nightly` to `7.0` for Travis, for clarity. 2015-07-27 15:15:34 +00:00
Gruntfile.js Speed up `browserify` builds, don't `uglify` the media builds on `watch`. 2015-09-09 02:11:23 +00:00
package.json Build Tools: Update `grunt-contrib-uglify` to 0.9.2. 2015-08-25 03:27:23 +00:00
phpunit.xml.dist
wp-cli.yml
wp-config-sample.php Lightly clean up and improve inline documentation in wp-config-sample.php. 2015-05-10 00:05:30 +00:00
wp-tests-config-sample.php