Changeset 3133
- Timestamp:
- 05/13/2016 07:51:37 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-loader.php
r3126 r3133 51 51 52 52 // Require admin files. 53 if ( is_admin() || DOING_CRON) {53 if ( is_admin() || ( defined( 'DOING_CRON' ) && DOING_CRON ) ) { 54 54 require_once ( WCPT_DIR . 'wcpt-admin.php' ); 55 55 require_once ( WCPT_DIR . 'wcpt-wordcamp/wordcamp-admin.php' ); … … 59 59 function core_admin() { 60 60 // Quick admin check 61 if ( ! is_admin() && ! DOING_CRON) {61 if ( ! is_admin() && ( ! defined( 'DOING_CRON' ) || ! DOING_CRON ) ) { 62 62 return; 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.