[wp-trac] [WordPress Trac] #57150: Implement wp_cache_get_multiple() in wp_queue_posts_for_term_meta_lazyload()
WordPress Trac
noreply at wordpress.org
Tue Feb 21 06:20:25 UTC 2023
#57150: Implement wp_cache_get_multiple() in
wp_queue_posts_for_term_meta_lazyload()
-------------------------------------------------+-------------------------
Reporter: ocean90 | Owner:
| spacedmonkey
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.2
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback has-unit- | Focuses:
tests | performance
-------------------------------------------------+-------------------------
Comment (by skithund):
@spacedmonkey that didn't fix it.
The problem is in line 7805, where you're reassigning `$term_ids` while
doing foreach loop. Renaming `$term_ids` to `$_term_ids` like in row 7825
does the trick.
I'm unable to create a proper Github PR/patch now, but
attachment:57510.patch worked.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57150#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list