[wp-trac] [WordPress Trac] #11334: Add caching to get_page_of_comment()
WordPress Trac
noreply at wordpress.org
Tue Feb 17 02:57:01 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 | Focuses: performance
--------------------------+--------------------------
Changes (by boonebgorges):
* keywords: has-patch dev-feedback => has-patch
Comment:
Replying to [comment:18 DrewAPicture]:
> 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.
Nope, the comment types should not be the same - bad copypasta on my part.
Fix is coming up.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11334#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list