clean_comment_cache()
in wp_insert_comment()
.
Previously, only the 'last_changed' incrementor was manually invalidated, since the newly created comment did not yet exist in the cache. However, this created an inconsistency with the other comment CRUD functions, which result in the 'clean_comment_cache' action firing. Props spacedmonkey. See #36906. git-svn-id: https://develop.svn.wordpress.org/trunk@37614 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
76.7%
CSS
10.9%
JavaScript
9.2%
Modelica
2.4%
HTML
0.6%
Other
0.2%