wp-api-plugins-themes-endpoints
wp-api-plugins-themes-endpoints copied to clipboard
Fix permissions check for plugin endpoint.
Currently the permissions check looks at manage_options this capability does not have to do with plugin access. The correct capability to check is activate_plugins. For Reference and source code reference