Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiSite: Add link to Switch Back when Network Admin dashboard is accessed by a network admin who is switched to a non-admin #120

Open
MadtownLems opened this issue Jul 25, 2024 · 1 comment

Comments

@MadtownLems
Copy link

You recently completed #116 - which is awesome and works great. Thanks!

This includes a Switch Back link on pages such as: wp-admin/network/sites.php

However, the switch back link is not present on the bare /wp-admin/network/

Is it possible to add it there also, or is there a technical limitation that prevents it? Thanks!

@johnbillion
Copy link
Owner

Probably because it uses a vanilla wp_die() call rather than via the admin_page_access_denied hook. I'll take a look at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants