[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 05:29:27 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 oglekler):

 I wonder is it is possible to cache block templates in regard to the
 current site in case of a multisite installation by adding a prefix to
 template cache key accordingly.

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


More information about the wp-trac mailing list