[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 Jul 25 15:18:14 UTC 2019


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

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45672" 45672]:
 {{{
 #!CommitTicketReference repository="" revision="45672"
 Docs: Clarify that `is_network_admin()` does not check if the site is a
 Multisite network; `is_multisite()` should be used for that.

 Props svovaf, dilipbheda, tazotodua.
 Fixes #47415.
 }}}

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


More information about the wp-trac mailing list