Making WordPress.org

Changeset 7654


Ignore:
Timestamp:
09/10/2018 03:27:44 PM (7 years ago)
Author:
vedjain
Message:

WordCamp: Use same permission name for WordCamp and Meetup.

Also add comment for wcpt_meetup_sync.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-meetup/class-meetup-admin.php

    r7646 r7654  
    7171         */
    7272        public static function get_edit_capability() {
    73             return 'can_wrangle_meetup';
     73            return 'wordcamp_wrangle_wordcamps';
    7474        }
    7575
     
    278278        }
    279279
     280        /**
     281         * Displays a MetaBox which allows option to sync Meetup.com API data with Meetup tracker.
     282         */
    280283        public function wcpt_meetup_sync() {
    281284            global $post_id;
     
    303306            <?php
    304307        }
     308
    305309        /**
    306310         * Updates meetup fields using meetup.com API only if Sync now checkbox is checked.
Note: See TracChangeset for help on using the changeset viewer.