Make WordPress Core

Opened 18 months ago

Closed 13 months ago

Last modified 11 months 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: has-dev-note
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 (6)

#1 @spacedmonkey
13 months ago

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

#2 @spacedmonkey
13 months ago

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

#3 @spacedmonkey
13 months ago

Added a ticket for site meta as well #58185.

#4 @spacedmonkey
13 months 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.

#5 @spacedmonkey
11 months ago

  • Keywords needs-dev-note added

#6 @spacedmonkey
11 months ago

  • Keywords has-dev-note added; needs-patch needs-dev-note removed
Note: See TracTickets for help on using tickets.