[wp-trac] [WordPress Trac] #62126: Cache duplicate calls to WP_Theme_JSON::sanitize

WordPress Trac noreply at wordpress.org
Thu Sep 18 00:30:07 UTC 2025


#62126: Cache duplicate calls to WP_Theme_JSON::sanitize
-----------------------------------------+--------------------------
 Reporter:  josephscott                  |       Owner:  pbearne
     Type:  enhancement                  |      Status:  assigned
 Priority:  normal                       |   Milestone:  6.9
Component:  General                      |     Version:  5.8
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:  performance
-----------------------------------------+--------------------------

Comment (by josephscott):

 As another data point I ran https://github.com/WordPress/wordpress-
 develop/pull/8213 against a fresh WooCommerce install, and the
 `WP_Theme_JSON::sanitize` time ( via SPX ) dropped from 3.21ms to 0.832ms.

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


More information about the wp-trac mailing list