Changeset 7650
- Timestamp:
- 09/10/2018 08:10:13 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-subroles.php
r7649 r7650 7 7 8 8 namespace WordCamp\SubRoles; 9 use WordPress_Community\Applications\Meetup_Application;10 9 11 10 defined( 'WPINC' ) || die(); … … 156 155 } 157 156 } 158 159 if ( Meetup_Application::POST_TYPE === $post_type ) {160 // Use same permission for meetups as well as wordcamps.161 // TODO: In future consider changing this to wrangle_events162 if ( $current_user && $current_user->has_cap( 'wordcamp_wrangle_wordcamps' ) ) {163 $required_caps[] = 'wordcamp_wrangle_wordcamps';164 }165 }166 157 break; 167 158 }
Note: See TracChangeset
for help on using the changeset viewer.