From 2efb50415f495dcfcfe7fb8230d139976b988f6f Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Mon, 27 Nov 2023 14:09:06 -0800 Subject: [PATCH] WCPT: Let meetup wranglers modify tags See https://wordpress.slack.com/archives/C08M59V3P/p1701077681917869?thread_ts=1700830335.858499&cid=C08M59V3P --- .../wp-content/plugins/wcpt/wcpt-meetup/meetup-loader.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public_html/wp-content/plugins/wcpt/wcpt-meetup/meetup-loader.php b/public_html/wp-content/plugins/wcpt/wcpt-meetup/meetup-loader.php index 5bd4234984..f5cfa62fcd 100644 --- a/public_html/wp-content/plugins/wcpt/wcpt-meetup/meetup-loader.php +++ b/public_html/wp-content/plugins/wcpt/wcpt-meetup/meetup-loader.php @@ -91,6 +91,12 @@ public function register_meetup_taxonomy() { 'meetup_tags', Meetup_Application::POST_TYPE, array( + 'capabilities' => array( + 'manage_terms' => 'wordcamp_wrangle_meetups', + 'edit_terms' => 'wordcamp_wrangle_meetups', + 'delete_terms' => 'manage_network', + 'assign_terms' => 'wordcamp_wrangle_meetups', + ), 'hierarchical' => true, 'labels' => array( 'name' => __( 'Meetup Tags' ),