[wp-trac] [WordPress Trac] #56296: is_network_admin() function does not work correctly on multisite

WordPress Trac noreply at wordpress.org
Fri Jul 29 09:47:56 UTC 2022

#56296: is_network_admin() function does not work correctly on multisite
 Reporter:  stefanowp2021      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  multisite

Comment (by stefanowp2021):

 Replying to [comment:2 johnbillion]:
 > Thanks for the report @stefanowp2021 and welcome to WordPress Trac. I'm
 unable to reproduce this problem on a fresh installation of WordPress
 Multisite. The `is_network_admin()` function is working as expected in the
 network admin area.
 > Can you confirm whether the problem persists if you deactivate your
 plugins and switch to a default theme such as Twenty Twenty One? Don't
 forget to check for any plugins in `wp-content/mu-plugins` or a `wp-
 content/sunrise.php` file too.

 Hi John,
 I've tried on another wordpress instalation and it works ok for me too.
 I need to investigate further to fix the issue.
 We can close this ticket considering is not wordpress bug. Thank you.

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

More information about the wp-trac mailing list