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

WordPress Trac noreply at wordpress.org
Wed Jan 29 17:16:14 UTC 2025


#62126: Cache duplicate calls to WP_Theme_JSON::sanitize
-------------------------+--------------------------
 Reporter:  josephscott  |       Owner:  pbearne
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  6.8
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+--------------------------
Changes (by pbearne):

 * keywords:  has-patch changes-requested => has-patch


Comment:

 I have added a function to reset the cache and added a call to the
 wp_add_global_styles_for_blocks function

 This clears the test errors

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


More information about the wp-trac mailing list