Making WordPress.org


Ignore:
Timestamp:
01/25/2019 03:51:50 AM (6 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Move Event_Loader require to plugin loader.

The class is needed for both WordCamp_Loader and Meetup_Loader, so it should be included higher up the chain, rather than relying on the assumption that WordCamp_Loader will load it before Meetup_Loader needs it.

This also makes it easier for other plugins to include WordCamp_Loader, in order to access it's public methods.

File:
1 edited

Legend:

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

    r8104 r8139  
    4444            // Load the files.
    4545            require_once( WCPT_DIR . 'wcpt-functions.php' );
     46            require_once( WCPT_DIR . 'wcpt-event/class-event-loader.php' );
    4647            require_once( WCPT_DIR . 'wcpt-wordcamp/wordcamp-loader.php' );
    4748            require_once( WCPT_DIR . 'wcpt-meetup/meetup-loader.php' );
Note: See TracChangeset for help on using the changeset viewer.