[wp-trac] [WordPress Trac] #47415: is_network_admin() is not checking if the context install is a multisite - documentation improvement

WordPress Trac noreply at wordpress.org
Thu Jun 20 12:56:22 UTC 2019


#47415: is_network_admin() is not checking if the context install is a multisite -
documentation improvement
----------------------------------------+------------------------------
 Reporter:  svovaf                      |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Networks and Sites          |     Version:
 Severity:  minor                       |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  docs, multisite
----------------------------------------+------------------------------
Changes (by jeremyfelt):

 * keywords:   => needs-patch good-first-bug
 * milestone:  Awaiting Review => Future Release


Comment:

 Hi @svovaf, thanks for opening a ticket.

 Another line further describing the context in which the function is used
 would be useful.

 Do you have details on the possible bugs that arose from this? The `/wp-
 admin/network/*` pages show notices if `is_multisite()` is `false`, and
 `is_network_admin()` will always return `false` if not on one of those
 pages.

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


More information about the wp-trac mailing list