Make WordPress Core

Opened 6 months ago

Closed 4 weeks ago

#57227 closed defect (bug) (fixed)

_prime_(comment|term|site)_caches() don't account for primed objects without primed meta

Reported by: ocean90's profile ocean90 Owned by: spacedmonkey's profile spacedmonkey
Milestone: 6.3 Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords: needs-patch
Focuses: performance Cc:


This is similar to #57163 where _prime_post_caches() was fixed.

Example for comments:

_prime_comment_caches( $comment_ids, false );
_prime_comment_caches( $comment_ids, true ); // Bug: No meta is primed

Change History (4)

#1 @spacedmonkey
7 weeks ago

  • Milestone changed from Future Release to 6.3
  • Owner set to spacedmonkey
  • Status changed from new to assigned

#2 @spacedmonkey
6 weeks ago

Now that #57645 was committed [55671]. This means that term meta is fixed. Comment meta will be fixed in #57801.

#3 @spacedmonkey
6 weeks ago

Added a ticket for site meta as well #58185.

#4 @spacedmonkey
4 weeks ago

  • Resolution set to fixed
  • Status changed from assigned to closed

This issue has been fixed as part of #57645 [55671], #57801 [55749] and #58185 [55747].

I am going to close this ticket out for now.

Note: See TracTickets for help on using tickets.