[wp-trac] [WordPress Trac] #43728: Implements site_enable_theme and site_disable_theme functions in WP_Theme class

WordPress Trac noreply at wordpress.org
Sat Jun 14 17:20:36 UTC 2025


#43728: Implements site_enable_theme and site_disable_theme functions in WP_Theme
class
-------------------------------------------------+-------------------------
 Reporter:  Mista-Flo                            |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  multisite
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests dev-
     feedback


Comment:

 Also, I feel there is much common long between the two functions.
 [https://core.trac.wordpress.org/attachment/ticket/43728/43728.3.diff I've
 sent a refactor].  Given that this is dependent on #39318 it may stay on
 hold (still, I can't really understand why it was separated into another
 ticket back in the day)

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


More information about the wp-trac mailing list