Changeset 2302
- Timestamp:
- 01/16/2016 12:22:43 AM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network
- Files:
-
- 9 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/bootstrap.php
r2298 r2302 15 15 defined( 'WPINC' ) or die(); 16 16 17 if ( is_admin() ) { 17 if ( is_admin() || defined( 'DOING_CRON' ) ) { 18 /* 19 * The bootloader for WordCamp Budgets only loads files during is_admin(), because that's all that plugin 20 * needs, but this plugin also needs some of them to be active during cron jobs. 21 */ 22 require_once( WP_PLUGIN_DIR . '/wordcamp-payments/includes/wordcamp-budgets.php' ); 23 require_once( WP_PLUGIN_DIR . '/wordcamp-payments/includes/sponsor-invoice.php' ); 24 18 25 require_once( __DIR__ . '/includes/wordcamp-budgets-dashboard.php' ); 19 26 require_once( __DIR__ . '/includes/payment-requests-dashboard.php' ); 27 require_once( __DIR__ . '/includes/sponsor-invoices-dashboard.php' ); 20 28 21 29 $GLOBALS['Payment_Requests_Dashboard'] = new \Payment_Requests_Dashboard();
Note: See TracChangeset
for help on using the changeset viewer.