itmaybejj / editoria11y-wp

WordPress wrapper for Editoria11y
GNU General Public License v2.0
6 stars 2 forks source link

Super Admin Access #20

Closed tryonegg closed 9 months ago

tryonegg commented 9 months ago

If the plugin is running on a site in a multisite environment and the current user is a Super Admin who is not assiged a role on a specific site then the editor scripts will not load them them. This is because while the user will have full access to that site they are not assigned a role (admin, editor, contributor...) by WP to that site.

PR #19 has a fix that will load the editor scripts if the current user is a super admin.

itmaybejj commented 9 months ago

PR merged; will group into next release. I should look into https://github.com/itmaybejj/editoria11y-wp/issues/11 at the same time...