[wp-trac] [WordPress Trac] #37447: Remove redundant `is_multisite()` checks in network admin templates
WordPress Trac
noreply at wordpress.org
Sun Jul 24 03:58:08 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 flixos90):
Replying to [comment:3 SergeyBiryukov]:
> Looking at [16272], I guess the checks are there just in case the one in
`network/admin.php` gets removed at some pount (it might be an oversight
as well, but seems unlikely).
Why would that file be removed? Solely for that purpose, (so that we don't
need duplicate code) I think it would make sense to keep it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37447#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list