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

WordPress Trac noreply at wordpress.org
Wed Mar 26 16:55:29 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:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:  performance
-----------------------------------------+--------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 @pbearne  The PR overall looks good, I will leave a review in GitHub.

 It would be great to see the before/after count for the sanitize calls - I
 assume it would be similar to the ticket description.

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


More information about the wp-trac mailing list