[wp-trac] [WordPress Trac] #57077: Performance issues in `_add_block_template_info`

WordPress Trac noreply at wordpress.org
Fri Nov 11 16:49:27 UTC 2022


#57077: Performance issues in `_add_block_template_info`
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  5.9
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 The function is `_add_block_template_info` is called many times in an
 block theme. It has a number of performance issues, as it called `
 WP_Theme_JSON_Resolver::get_theme_data`. See screenshots attached.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57077>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list