[wp-trac] [WordPress Trac] #37447: Remove redundant `is_multisite()` checks in network admin templates

WordPress Trac noreply at wordpress.org
Sat Jul 23 16:35:56 UTC 2016


#37447: Remove redundant `is_multisite()` checks in network admin templates
----------------------------+------------------------------
 Reporter:  flixos90        |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  multisite
----------------------------+------------------------------

Comment (by SergeyBiryukov):

 Originally introduced in [12609], expanded in [16272]. `network/admin.php`
 was added in [15481].

 Looking at [16272], I guess the checks are there just in case the one in
 `network/admin.php` gets removed at some point (it might be an oversight
 as well, but seems unlikely).

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


More information about the wp-trac mailing list