[wp-trac] [WordPress Trac] #37447: Remove redundant `is_multisite()` checks in network admin templates
WordPress Trac
noreply at wordpress.org
Sat Jul 23 14:06:17 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 | Keywords: needs-patch
Focuses: multisite |
----------------------------+-----------------------------
Most of the templates for the network admin have a check for
`is_multisite()` in the beginning of the file. However there's already
such a check happening in the `admin.php` file for the network admin,
making these additional checks redundant. Let's remove them.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37447>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list