[wp-trac] [WordPress Trac] #45755: Theme Editor WSOD functionality doesn't work with Multisite

WordPress Trac noreply at wordpress.org
Sun Apr 26 12:17:24 UTC 2020


#45755: Theme Editor WSOD functionality doesn't work with Multisite
-------------------------------------+-----------------------------
 Reporter:  dd32                     |       Owner:  (none)
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  Future Release
Component:  Networks and Sites       |     Version:  4.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  multisite
-------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Just noting the `is_multisite()` checks in [attachment:"45755.diff"] seem
 redundant, `network_admin_url()` can just be used directly. It has the
 same check, is available on single site, and falls back to `admin_url()`
 there.

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


More information about the wp-trac mailing list