[wp-trac] [WordPress Trac] #59304: Code quality improvements to `class-wp-theme-json`

WordPress Trac noreply at wordpress.org
Fri Sep 8 00:25:16 UTC 2023


#59304: Code quality improvements to `class-wp-theme-json`
---------------------------------------+----------------------------
 Reporter:  isabel_brison              |       Owner:  isabel_brison
     Type:  enhancement                |      Status:  closed
 Priority:  normal                     |   Milestone:  6.4
Component:  Editor                     |     Version:  trunk
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch  |     Focuses:
---------------------------------------+----------------------------
Changes (by isabel_brison):

 * owner:  (none) => isabel_brison
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56545" 56545]:
 {{{
 #!CommitTicketReference repository="" revision="56545"
 Editor: performance enhancements to `class-wp-theme-json`.

 Removes unnecessary sanitisation of hardcoded strings and avoids looping
 over style presets without classes or variables.

 Props flixos90.
 Fixes #59304.
 }}}

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


More information about the wp-trac mailing list