[wp-trac] [WordPress Trac] #11334: Add caching to get_page_of_comment()
WordPress Trac
noreply at wordpress.org
Tue Feb 17 01:08:53 UTC 2015
#11334: Add caching to get_page_of_comment()
------------------------------------+--------------------------
Reporter: Viper007Bond | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 4.2
Component: Comments | Version: 2.9
Severity: major | Resolution:
Keywords: has-patch dev-feedback | Focuses: performance
------------------------------------+--------------------------
Changes (by DrewAPicture):
* keywords: has-patch => has-patch dev-feedback
Comment:
Patch still applies.
Looking at the switch statement on `$comment_type`, should the comment
types all be the same for the 'comment', 'pingback', 'trackback', and
'pings' types? If so, we can reduce that down to assigning
`$comment_type_where` for all four cases at once.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11334#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list