开发者 | keraweb |
---|---|
更新时间 | 2024年6月1日 04:54 |
捐献地址: | 去捐款 |
PHP版本: | 5.2.4 及以上 |
WordPress版本: | 6.5 |
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
Just click on the link in the toolbar!
If the amount of users and roles combined is more than 15 you can find the users under their roles or you can search for them.
If the amount of users is more than 100 the plugin will switch to AJAX search and won't load users in advance for performance.\
This limit can be changed through the filter: view_admin_as_user_query_limit
Only the capabilities that are allowed for your user are shown. You can deselect the capabilities by clicking on them. When you would like to see the results just click the apply button on the upper left. Please note that as an administrator you don't have all capabilities marked as enabled by default. This is because WP overrules some capability checks for super admins. This does not happen when you are in a view!** You can also filter the roles by name or select/deselect all capabilities. Note: When you select/deselect capabilities while you've filtered them only the capabilities shown by your filter are affected! When you disable a capability that prevents you from viewing a screen, you can reset the view, see next item.
When a view is selected there is a reset button available on the dropdown. If you get a 403 page of WordPress you can return with the link that this plugin will add to those pages. And if even that doesn't work just add "?reset-view" in the address bar and you're good to go! This will work on all pages as long as you are logged in. Example: http://www.your.domain/wp-admin/?reset-view
Could it be that this user is an equal user to your's? Example: you are both Admins? If so, these are filtered. Viewing Admins can only be done when you are a Super Admin within a network installation. Why? To protect your fellow admin! You have no power over equal users.. Unless you are a superior admin... Read more If this is not the case, please make sure you aren't overlooking something.\ If that is not the case, please contact me! See next item.
Please let me know through the support and add a plugins and themes list! :)
You have nothing to worry about.\ All the plugin functionality is only run if the user is logged in AND is allowed to use this plugin (website admin or custom capabilities).\ This plugin will do absolutely nothing if the above requirements are not met.
Yes, see Install as a must-use plugin on the Installation tab.
edit_user
capability.vaa_view_admin_as_reset_all_views
, vaa_view_admin_as_cleanup_views
, vaa_view_admin_as_reset_view
, vaa_view_admin_as_update_view
.apply_shortcodes()
function. #111force-ajax-users
setting to optionally prevent query.is_view_active()
. (Documentation)X-Redirect-By
header since WordPress 5.0. #42313view_admin_as_user_ajax_search
to force AJAX search for user at all times.view_admin_as_user_query_limit
to change the limit used to query users.vaa_admin_bar_view_title_role
& vaa_admin_bar_view_title_user
& vaa_admin_bar_view_title_locale
to change the titles for role, users and languages.vaa_admin_bar_view_title_user_show_roles
to remove the roles from user nodes.view_admin_as_full_access_capabilities
for single site installations to change the capabilities required to gain full access to this plugin.rel
attribute for view type data.prop
instead of attr
for checked
attributes in checkbox inputs.