Making WordPress.org


Ignore:
Timestamp:
08/13/2018 11:52:14 AM (7 years ago)
Author:
vedjain
Message:

WordCamp: Support Meetup Applications and review in central.

Major refactor to WordCamp post types, to extract out code which is then used in Meetup post types and application. This code is not 5.x compatible.
Eventually, the aim is to credit contributors for their work organizing meetup groups in the WordPress chapter program, and make use of existing administrative tools to meetup applications/groups.

This is the (Non exhaustive) test plan after this commit is deployed:

  • Existing WordCamp schedule
  • WordCamp organizer application render.
  • Submit WordCamp application. Fill all fields and make sure they exists in app.
  • Verify original application.
  • Verify protected fields.
  • Verify REST API responses for wordcamp posts (#)
  • Status mapping, and transition to valid next statuses.
  • Move application from Needs Vetting to Needs Site. Add private notes.
  • Track and verify application status page.
  • Create a site for wordcamp

Test plan for Meetups

  • Submit meetup applications. Fill all fields and make sure they are saved.
  • Change application status. Add and remove meta box fields to make sure they are saved.
File:
1 edited

Legend:

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

    r7221 r7607  
    4646        require_once ( WCPT_DIR . 'wcpt-functions.php' );
    4747        require_once ( WCPT_DIR . 'wcpt-wordcamp/wordcamp-loader.php' );
    48         require_once ( WCPT_DIR . 'applications/common.php' );
    49         require_once ( WCPT_DIR . 'applications/tracker.php' );
    50         require_once ( WCPT_DIR . 'applications/wordcamp.php' );
     48        require_once ( WCPT_DIR . 'wcpt-meetup/meetup-loader.php' );
     49        require_once ( WCPT_DIR . 'wcpt-event/tracker.php' );
     50        require_once ( WCPT_DIR . 'wcpt-wordcamp/wordcamp.php' );
     51        require_once ( WCPT_DIR . 'wcpt-meetup/meetup.php' );
     52        require_once ( WCPT_DIR . 'wcpt-meetup/class-meetup-admin.php' );
    5153
    5254        // Require admin files.
     
    6870        $GLOBALS['wcpt_admin'] = new WCPT_Admin;
    6971        $GLOBALS['wordcamp_admin'] = new WordCamp_Admin;
     72        $GLOBALS['meetup_admin'] = new Meetup_Admin();
    7073    }
    7174
     
    8891$wcpt_loader     = new WCPT_Loader;
    8992$wordcamp_loader = new WordCamp_Loader;
     93$meetup_loader = new Meetup_Loader();
Note: See TracChangeset for help on using the changeset viewer.