Make WordPress Core

Opened 19 months ago

Closed 12 months ago

Last modified 3 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:


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 19 months ago.

Download all attachments as: .zip

Change History (3)

19 months ago

#1 @spacedmonkey
12 months ago

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

This issue was fixed as part of [55569].

#2 @swissspidy
3 months ago

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