JoryHogeveen / view-admin-as

View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.
https://wordpress.org/plugins/view-admin-as/
GNU General Public License v2.0
45 stars 4 forks source link

Enhance plugin loader for Must-Use plugins directory #71

Closed JoryHogeveen closed 7 years ago

JoryHogeveen commented 7 years ago

More info on mu-plugins: https://codex.wordpress.org/Must_Use_Plugins

Make installing as a mu-plugin as easy as possible:

Move the view-admin-as.php file into the root of your mu-plugins directory, not in the view-admin-as subdirectory. (This is a limitation of WordPress and probably won't change soon.)

Example: All files dir: /wp-content/mu-plugins/view-admin-as/... Main file dir: /wp-content/mu-plugins/view-admin-as.php