[wp-trac] [WordPress Trac] #49831: Multisite: themes should not be allowed to be updated from the Appearance > Themes screen of a subsite

WordPress Trac noreply at wordpress.org
Tue Oct 20 19:13:09 UTC 2020


#49831: Multisite: themes should not be allowed to be updated from the Appearance >
Themes screen of a subsite
----------------------------------------------+--------------------------
 Reporter:  pbiron                            |       Owner:  johnbillion
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  5.6
Component:  Upgrade/Install                   |     Version:
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-screenshots has-patch commit  |     Focuses:  multisite
----------------------------------------------+--------------------------
Changes (by helen):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49253" 49253]:
 {{{
 #!CommitTicketReference repository="" revision="49253"
 Upgrade/Install: Don't show theme update prompts on subsites.

 If you are using `wp_prepare_themes_for_js()` and relying on
 `updates`/`no_updates` in multisite, you will need to filter that data
 back in using the `wp_prepare_themes_for_js` hook.

 Props pbiron, afragen.
 Fixes #49831.
 }}}

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


More information about the wp-trac mailing list