[wp-trac] [WordPress Trac] #56975: Replace the internal `WP_Theme_JSON_Resolver::theme_has_support()` with a public function

WordPress Trac noreply at wordpress.org
Wed Jan 18 20:00:06 UTC 2023


#56975: Replace the internal `WP_Theme_JSON_Resolver::theme_has_support()` with a
public function
-------------------------------------------------+-------------------------
 Reporter:  oandregal                            |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.2
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  dev-feedback                                   |  performance
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 The caching is important part of the overall performance strategy work
 that's being backported function by function from
 https://github.com/WordPress/gutenberg/issues/45171. There are other
 functions that will receive the same code. So it's important to get it
 right in this one first before it's backported to the others.

 As it's currently impacting sites running on `trunk`, let's revert the
 caching part of [55086] for now. This will give @flixos90 and others time
 to discuss, test, and make adjustments.

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


More information about the wp-trac mailing list