Changeset 1994931
- Timestamp:
- 12/14/2018 03:19:24 PM (7 years ago)
- File:
-
- 1 edited
-
wp-integration/trunk/wp-integration.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-integration/trunk/wp-integration.php
r1994882 r1994931 188 188 add_action('admin_notices', array('Wpcon', 'no_required_wp')); 189 189 } 190 } elseif(defined('THEMEPROVIDER_INIT') && !defined('XMLRPC_REQUEST') && !defined('REST_REQUEST') && !defined('WP_INSTALLING') && !wp_doing_ajax() && !wp_is_json_request()) { 190 } elseif( 191 defined('THEMEPROVIDER_INIT') && !defined('XMLRPC_REQUEST') && !defined('REST_REQUEST') && !defined('WP_INSTALLING') 192 && ( 193 (function_exists('wp_doing_ajax') && !wp_doing_ajax()) 194 || 195 (!function_exists('wp_doing_ajax') && !defined('DOING_AJAX')) 196 ) 197 && (!function_exists('wp_is_json_request') || !wp_is_json_request()) 198 ) { 199 200 // DOING_AJAX 191 201 add_action('init', array('Wpcon', 'wpInit')); 192 202 }
Note: See TracChangeset
for help on using the changeset viewer.