Making WordPress.org

Changeset 7650


Ignore:
Timestamp:
09/10/2018 08:10:13 AM (7 years ago)
Author:
vedjain
Message:

WordCamp: Revert r7649

Reverting because Meetup_Application class was not loading correctly, causing a fatal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-subroles.php

    r7649 r7650  
    77
    88namespace WordCamp\SubRoles;
    9 use WordPress_Community\Applications\Meetup_Application;
    109
    1110defined( 'WPINC' ) || die();
     
    156155                }
    157156            }
    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_events
    162                 if ( $current_user && $current_user->has_cap( 'wordcamp_wrangle_wordcamps' ) ) {
    163                     $required_caps[] = 'wordcamp_wrangle_wordcamps';
    164                 }
    165             }
    166157            break;
    167158    }
Note: See TracChangeset for help on using the changeset viewer.