[wp-trac] [WordPress Trac] #57886: get_post_templates includes results of get_block_templates while caching (WP_Theme)

WordPress Trac noreply at wordpress.org
Wed Mar 22 12:10:42 UTC 2023


#57886: get_post_templates includes results of get_block_templates while caching
(WP_Theme)
--------------------------+-------------------------------------
 Reporter:  maniu         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  5.9
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  multisite, performance
--------------------------+-------------------------------------

Comment (by maniu):

 @oglekler all the theme data beside block templates is the same on the
 whole network. I think it would be waste o resources to do it like that,
 especially on bigger multisite installations.

 I find my idea from previous comment to be the best solution to this
 problem.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57886#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list