[wp-trac] [WordPress Trac] #11334: Add caching to get_page_of_comment()
WordPress Trac
noreply at wordpress.org
Sun Jun 9 05:35:28 UTC 2013
#11334: Add caching to get_page_of_comment()
-------------------------------------------------+-------------------------
Reporter: Viper007Bond | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: Future
Component: Comments | Release
Severity: major | Version: 2.9
Keywords: has-patch needs-testing needs- | Resolution:
refresh |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
Replying to [comment:6 wmertens]:
> With this patch though, we get the following warnings every time we
delete a piece of spam
You need to specify the number of arguments in the `add_action()` call:
{{{
add_action( 'transition_comment_status', 'clear_page_of_comment_cache',
10, 3 );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11334#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list