[wp-trac] [WordPress Trac] #61451: Improve performance of block style variation registration and retrieval

WordPress Trac noreply at wordpress.org
Tue Jun 18 06:01:08 UTC 2024


#61451: Improve performance of block style variation registration and retrieval
---------------------------------------+---------------------
 Reporter:  aaronrobertshaw            |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  6.6
Component:  Editor                     |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  gutenberg-merge has-patch  |     Focuses:
---------------------------------------+---------------------

Comment (by isabel_brison):

 In [changeset:"58428" 58428]:
 {{{
 #!CommitTicketReference repository="" revision="58428"
 Editor: Read theme.json files stored in `styles/` folder only once.

 Uses `read_json_file` to access cached file if it exists instead of using
 `wp_json_file_decode` directly.

 Props oandregal, aaronrobertshaw, joemcgill, ramonopoly, isabel_brison.
 See #61451.
 }}}

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


More information about the wp-trac mailing list