#57803 closed enhancement (fixed)
Use wp_cache_get_multiple in fill_descendants
Reported by: | spacedmonkey | Owned by: | spacedmonkey |
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Comments | Keywords: | has-patch commit |
Focuses: | performance | Cc: |
Description
In the fill_descendants
method in WP_Comment_Query
, there is a loop the calls wp_cache_get
. Instead of getting one key at a time, use wp_cache_get_multiple
and get all keys at once.
Attachments (2)
Change History (9)
This ticket was mentioned in PR #4129 on WordPress/wordpress-develop by @spacedmonkey.
2 years ago
#1
- Keywords has-patch added
#2
@
22 months ago
- Milestone changed from Future Release to 6.3
- Owner set to spacedmonkey
- Status changed from new to assigned
@tillkruess commented on PR #4129:
22 months ago
#3
LGTM 👍
#4
@
22 months ago
- Keywords commit added
Making this as commit, as this PR as been approved by too long term contributors, @tillkruess @mukesh27. Will commit by the end of the week.
@spacedmonkey commented on PR #4129:
22 months ago
#6
Committed.
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/57803