Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 15 months ago

#56586 closed enhancement (fixed)

Remove extra sanitization before caching in get_pages function

Reported by: davidbinda's profile david.binda Owned by:
Milestone: 6.3 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: performance Cc:

Description

This ticket is related to #50567 , respectively r53042 , where a filter is set to raw for any post passed through the update_post_cache function.

There is a custom logic in `get_pages()` function for preventing duplicate sanitization of pages before they are cached (introduced in r12062 ), which is now redundant.

IMHO, we can safely remove the custom logic from the function when r53042 is in place.

Attachments (1)

56586.diff (1.5 KB) - added by david.binda 3 years ago.

Download all attachments as: .zip

Change History (3)

@david.binda
3 years ago

#1 @spacedmonkey
2 years ago

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

This issue was fixed as part of [55569].

#2 @swissspidy
15 months ago

  • Milestone changed from Awaiting Review to 6.3
Note: See TracTickets for help on using tickets.