Skip to content

Trac 57886: WP_Theme->get_post_templates fixed MS caching issue for block templates#4321

Closed
maniu wants to merge 1 commit intoWordPress:trunkfrom
maniu:57886-get_post_templates-caching-fix
Closed

Trac 57886: WP_Theme->get_post_templates fixed MS caching issue for block templates#4321
maniu wants to merge 1 commit intoWordPress:trunkfrom
maniu:57886-get_post_templates-caching-fix

Conversation

@maniu
Copy link
Copy Markdown

@maniu maniu commented Apr 12, 2023

Moves block templates outside global caching in WP_Theme->get_post_templates so those templates are not cached globally in the WP network.

Trac ticket: https://core.trac.wordpress.org/ticket/57886


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@spacedmonkey spacedmonkey self-requested a review April 18, 2023 10:39
@spacedmonkey
Copy link
Copy Markdown
Member

Comitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants