Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#55619 closed defect (bug) (invalid)

Different order of params, results in a different cache key in query classes.

Reported by: spacedmonkey Owned by:
Priority: normal Milestone:
Component: Cache API Version: 6.0
Severity: normal Keywords: needs-patch
Cc: Focuses: performance

Description

In [52970] [53169] [53097] [53098], the cache key generation was improved. However while testing, it was noted that depending on when order in which params are sent to the query classes, this may result in a different cache to generated.

To be safe, the array used generate the cache key, should be sorted.

See ##55352, #55460, #55462, #55461.

Change History (3)

This ticket was mentioned in ​PR #2628 on ​WordPress/wordpress-develop by ​spacedmonkey.


5 years ago
#1

  • Keywords has-patch has-unit-tests added; needs-patch removed

#2 @spacedmonkey
5 years ago

  • Keywords needs-patch added; has-patch has-unit-tests removed
  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → closed

Closing as invalid.

​spacedmonkey commented on ​PR #2628:


5 years ago
#3

Closing as invalid.

Note: See TracTickets for help on using tickets.