#57803 closed enhancement (fixed)
Use wp_cache_get_multiple in fill_descendants
| Reported by: | spacedmonkey | Owned by: | spacedmonkey |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | Comments | Version: | 4.4 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | performance |
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.
4 years ago
#1
- Keywords has-patch added
@tillkruess commented on PR #4129:
3 years ago
#3
LGTM 👍
#4
@
3 years 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:
3 years ago
#6
Committed.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/57803