WordPress.org Meta, Git-ified. Synced from git://meta.git.wordpress.org/ This repository is just a mirror of the WordPress Meta subversion repository. Please include a link to a pre-existing ticket on https://meta.trac.wordpress.org/ with every pull request.
This PR filters the CRUD permissions for the events, so some special user can CRUD events, using the gp_translation_events_can_crud_event, available in the wporg-gp-translation-events plugin.
This PR overwrites the permissions of the plugin, adding CRUD permissions to:
The GP admins.
The site administrators, using the manage_options capability.
This PR filters the CRUD permissions for the events, so some special user can CRUD events, using the
gp_translation_events_can_crud_event
, available in the wporg-gp-translation-events plugin.This PR overwrites the permissions of the plugin, adding CRUD permissions to:
manage_options
capability.Fixes https://github.com/WordPress/wporg-gp-translation-events/issues/244.