[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
Tue Jan 24 21:26:13 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:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests has-testing-info                         |  performance
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 Replying to [comment:100 dmsnell]:
 > @hellofromTonya the non-persistent cache seems minimal in this case,
 which is a win. I have no stake in this so I don't have strong opinions
 unless we're talking about adding layers of caching and complexity to try
 and solve a problem we don't fully understand 😉

 Agreed. Keeping it simple until there's data to show something more
 complex is needed.

 Thanks @dmsnell! Appreciate your input.

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


More information about the wp-trac mailing list