Make WordPress Core

Opened 12 months ago

Closed 5 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: Awaiting Review 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 12 months ago.

Download all attachments as: .zip

Change History (2)

12 months ago

#1 @spacedmonkey
5 months ago

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

This issue was fixed as part of [55569].

Note: See TracTickets for help on using tickets.