Making WordPress.org


Ignore:
Timestamp:
02/24/2015 07:58:53 PM (10 years ago)
Author:
iandunn
Message:

Multi Event Sponsors: Refactor the Regions taxonomy into its own class.

There was arguably already enough code to warrant putting it in its own file, and I'm going to be adding more soon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/bootstrap.php

    r623 r1302  
    1313
    1414require_once( __DIR__ . '/classes/multi-event-sponsors.php' );
     15require_once( __DIR__ . '/classes/mes-region.php' );
    1516require_once( __DIR__ . '/classes/mes-sponsor.php' );
    1617require_once( __DIR__ . '/classes/mes-sponsorship-level.php' );
    1718
    1819$GLOBALS['multi_event_sponsors']  = new Multi_Event_Sponsors();
     20$GLOBALS['mes_sponsor']           = new MES_Region();
    1921$GLOBALS['mes_sponsor']           = new MES_Sponsor();
    2022$GLOBALS['mes_sponsorship_level'] = new MES_Sponsorship_Level();
Note: See TracChangeset for help on using the changeset viewer.