[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 22:23:58 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:  dev-feedback needs-testing-info      |     Focuses:
  gutenberg-merge                                |  performance
-------------------------------------------------+-------------------------

Comment (by Otto42):

 > I'm curious how this affects wp-admin CSS, maybe a bit unnerved that
 theme-JSON related code can have this effect, but maybe I'm overlooking
 something on the caching?

 This has nothing to do with theme related JSON or anything else. This is
 straight PHP code that was not working properly, because it was not
 including required files.

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


More information about the wp-trac mailing list