[wp-trac] [WordPress Trac] #50334: The Theme Installer displays an "Activate" button for the already active theme

WordPress Trac noreply at wordpress.org
Sat Jun 13 14:24:45 UTC 2020


#50334: The Theme Installer displays an "Activate" button for the already active
theme
---------------------------------------+-----------------------------
 Reporter:  afercia                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  5.5
Component:  Themes                     |     Version:  4.6
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-screenshots has-patch  |     Focuses:
---------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"48037" 48037]:
 {{{
 #!CommitTicketReference repository="" revision="48037"
 Themes: Ensure the theme slug is set before checking if the theme is
 installed or active.

 This fixes an issue with every installed theme being marked as active on
 Themes screen.

 The slug is set on Add Themes screen, but not on Themes.

 Follow-up to [47924].

 Props BackuPs, mukesh27, SergeyBiryukov.
 Fixes #50381. See #50334.
 }}}

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


More information about the wp-trac mailing list