Changeset 2860007 for termageddon-usercentrics
- Timestamp:
- 02/04/2023 07:03:46 AM (3 years ago)
- Location:
- termageddon-usercentrics
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
termageddon-usercentrics/tags/1.3.0/admin/class-termageddon-usercentrics-admin.php
r2860002 r2860007 735 735 736 736 $text = get_option( 'termageddon_usercentrics_download_error_count', 0 ); 737 Termageddon_Usercentrics::debug( $text );738 737 printf( 739 738 '<input type="text" id="termageddon_usercentrics_download_error_count" name="termageddon_usercentrics_download_error_count" value="%s" />', … … 751 750 752 751 $text = get_option( 'termageddon_usercentrics_download_error_log', '' ); 753 Termageddon_Usercentrics::debug( $text );754 752 echo '<input type="hidden" id="termageddon_usercentrics_download_error_log" name="termageddon_usercentrics_download_error_log[]" value="" /> 755 753 <p>' . esc_html__( 'Upon saving, all previous errors in the log will be deleted.', 'termageddon-usercentrics' ) . '</p>'; -
termageddon-usercentrics/tags/1.3.0/includes/class-termageddon-usercentrics.php
r2860002 r2860007 240 240 $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' ); 241 241 242 if ( self::is_geoip_enabled() ) {242 if ( self::is_geoip_enabled() && ! wp_doing_cron() ) { 243 243 $this->loader->add_action( 'init', $this, 'lookup_ip_address' ); 244 244 … … 365 365 $path = self::get_maxmind_db_path(); 366 366 367 if ( ! file_exists( $path ) || defined( 'DOING_CRON') ) {367 if ( ! file_exists( $path ) || wp_doing_cron() ) { 368 368 369 369 if ( ! is_dir( dirname( $path ) ) ) { -
termageddon-usercentrics/trunk/admin/class-termageddon-usercentrics-admin.php
r2860001 r2860007 735 735 736 736 $text = get_option( 'termageddon_usercentrics_download_error_count', 0 ); 737 Termageddon_Usercentrics::debug( $text );738 737 printf( 739 738 '<input type="text" id="termageddon_usercentrics_download_error_count" name="termageddon_usercentrics_download_error_count" value="%s" />', … … 751 750 752 751 $text = get_option( 'termageddon_usercentrics_download_error_log', '' ); 753 Termageddon_Usercentrics::debug( $text );754 752 echo '<input type="hidden" id="termageddon_usercentrics_download_error_log" name="termageddon_usercentrics_download_error_log[]" value="" /> 755 753 <p>' . esc_html__( 'Upon saving, all previous errors in the log will be deleted.', 'termageddon-usercentrics' ) . '</p>'; -
termageddon-usercentrics/trunk/includes/class-termageddon-usercentrics.php
r2860001 r2860007 240 240 $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' ); 241 241 242 if ( self::is_geoip_enabled() ) {242 if ( self::is_geoip_enabled() && ! wp_doing_cron() ) { 243 243 $this->loader->add_action( 'init', $this, 'lookup_ip_address' ); 244 244 … … 365 365 $path = self::get_maxmind_db_path(); 366 366 367 if ( ! file_exists( $path ) || defined( 'DOING_CRON') ) {367 if ( ! file_exists( $path ) || wp_doing_cron() ) { 368 368 369 369 if ( ! is_dir( dirname( $path ) ) ) {
Note: See TracChangeset
for help on using the changeset viewer.