Changeset 3329263
- Timestamp:
- 07/16/2025 07:00:54 PM (9 months ago)
- Location:
- adthrive-ads
- Files:
-
- 12 edited
- 1 copied
-
tags/3.8.0 (copied) (copied from adthrive-ads/trunk)
-
tags/3.8.0/adthrive-ads.php (modified) (2 diffs)
-
tags/3.8.0/components/ads/class-main.php (modified) (1 diff)
-
tags/3.8.0/components/ads/class-scheduled.php (modified) (1 diff)
-
tags/3.8.0/components/amp/class-ad-injection-sanitizer.php (modified) (1 diff)
-
tags/3.8.0/components/static-files/class-main.php (modified) (1 diff)
-
tags/3.8.0/readme.txt (modified) (2 diffs)
-
trunk/adthrive-ads.php (modified) (2 diffs)
-
trunk/components/ads/class-main.php (modified) (1 diff)
-
trunk/components/ads/class-scheduled.php (modified) (1 diff)
-
trunk/components/amp/class-ad-injection-sanitizer.php (modified) (1 diff)
-
trunk/components/static-files/class-main.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
adthrive-ads/tags/3.8.0/adthrive-ads.php
r3324371 r3329263 8 8 * Plugin URI: http://www.raptive.com 9 9 * Description: Raptive Ads 10 * Version: 3. 7.710 * Version: 3.8.0 11 11 * Author: Raptive 12 12 * Author URI: http://www.raptive.com … … 31 31 defined( 'ABSPATH' ) || die; 32 32 33 define( 'ADTHRIVE_ADS_VERSION', '3. 7.7' );33 define( 'ADTHRIVE_ADS_VERSION', '3.8.0' ); 34 34 define( 'ADTHRIVE_ADS_FILE', __FILE__ ); 35 35 define( 'ADTHRIVE_ADS_PATH', plugin_dir_path( ADTHRIVE_ADS_FILE ) ); -
adthrive-ads/tags/3.8.0/components/ads/class-main.php
r3324371 r3329263 513 513 if ( $this->has_essential_site_ads_keys( $decoded_data ) ) { 514 514 require 'partials/insertion-includes.php'; 515 516 add_action( 517 'wp_head', 518 function () use ( $data ) { 519 $this->insert_cls_file( 'comscore-loader', $data ); 520 }, 521 100 522 ); 523 515 524 add_action( 516 525 'wp_head', -
adthrive-ads/tags/3.8.0/components/ads/class-scheduled.php
r3324371 r3329263 209 209 $status['header-insertion'] = \AdThrive_Ads\Options::save_to_option( 'cls-header-insertion.' . ( $is_stable ? 'stable' : $hash ), $this->get_remote_file( $base_url . 'cls-header-insertion.min.js' ) ); 210 210 $status['disable-ads'] = \AdThrive_Ads\Options::save_to_option( 'cls-disable-ads.' . ( $is_stable ? 'stable' : $hash ), $this->get_remote_file( $base_url . 'cls-disable-ads.min.js' ) ); 211 $status['comscore-loader'] = \AdThrive_Ads\Options::save_to_option( 'comscore-loader.' . ( $is_stable ? 'stable' : $hash ), $this->get_remote_file( $base_url . 'comscore-loader.min.js' ) ); 211 212 return $status; 212 213 } -
adthrive-ads/tags/3.8.0/components/amp/class-ad-injection-sanitizer.php
r3324371 r3329263 276 276 $disable_tag = is_array( $disabled_tags ) && array_intersect( $disabled_tags, $tag_names ); 277 277 278 $disable_email = preg_match( '/([A-Z0-9._%+-]+(@|%(25)*40)[A-Z0-9.-]+\.[A-Z]{2,})/i', filter_input( INPUT_SERVER, 'REQUEST_URI') );278 $disable_email = ! empty( $_SERVER['REQUEST_URI'] ) && preg_match( '/([A-Z0-9._%+-]+(@|%(25)*40)[A-Z0-9.-]+\.[A-Z]{2,})/i', wp_unslash( $_SERVER['REQUEST_URI'] ) ); 279 279 280 280 return $disable_all || in_array( 'noads', $tag_names, true ) || $disable_category || $disable_tag || $disable_email; -
adthrive-ads/tags/3.8.0/components/static-files/class-main.php
r3324371 r3329263 34 34 ); 35 35 36 $uri = filter_input( INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_URL );36 $uri = ! empty( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : ''; 37 37 38 38 $current_path = wp_parse_url( $uri, PHP_URL_PATH ); -
adthrive-ads/tags/3.8.0/readme.txt
r3324371 r3329263 5 5 Tested up to: 6.8 6 6 Requires PHP: 5.6 7 Stable tag: 3. 7.77 Stable tag: 3.8.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 35 35 == Changelog == 36 36 37 = 3.8.0 = 38 * Move Raptive's Comscore script into the plugin. This update allows the script to load quicker, providing more accurate tracking and measurement of Raptive traffic. 39 37 40 = 3.7.7 = 38 41 * Use IdentityAPI for privacy compliant localStorage access -
adthrive-ads/trunk/adthrive-ads.php
r3324371 r3329263 8 8 * Plugin URI: http://www.raptive.com 9 9 * Description: Raptive Ads 10 * Version: 3. 7.710 * Version: 3.8.0 11 11 * Author: Raptive 12 12 * Author URI: http://www.raptive.com … … 31 31 defined( 'ABSPATH' ) || die; 32 32 33 define( 'ADTHRIVE_ADS_VERSION', '3. 7.7' );33 define( 'ADTHRIVE_ADS_VERSION', '3.8.0' ); 34 34 define( 'ADTHRIVE_ADS_FILE', __FILE__ ); 35 35 define( 'ADTHRIVE_ADS_PATH', plugin_dir_path( ADTHRIVE_ADS_FILE ) ); -
adthrive-ads/trunk/components/ads/class-main.php
r3324371 r3329263 513 513 if ( $this->has_essential_site_ads_keys( $decoded_data ) ) { 514 514 require 'partials/insertion-includes.php'; 515 516 add_action( 517 'wp_head', 518 function () use ( $data ) { 519 $this->insert_cls_file( 'comscore-loader', $data ); 520 }, 521 100 522 ); 523 515 524 add_action( 516 525 'wp_head', -
adthrive-ads/trunk/components/ads/class-scheduled.php
r3324371 r3329263 209 209 $status['header-insertion'] = \AdThrive_Ads\Options::save_to_option( 'cls-header-insertion.' . ( $is_stable ? 'stable' : $hash ), $this->get_remote_file( $base_url . 'cls-header-insertion.min.js' ) ); 210 210 $status['disable-ads'] = \AdThrive_Ads\Options::save_to_option( 'cls-disable-ads.' . ( $is_stable ? 'stable' : $hash ), $this->get_remote_file( $base_url . 'cls-disable-ads.min.js' ) ); 211 $status['comscore-loader'] = \AdThrive_Ads\Options::save_to_option( 'comscore-loader.' . ( $is_stable ? 'stable' : $hash ), $this->get_remote_file( $base_url . 'comscore-loader.min.js' ) ); 211 212 return $status; 212 213 } -
adthrive-ads/trunk/components/amp/class-ad-injection-sanitizer.php
r3324371 r3329263 276 276 $disable_tag = is_array( $disabled_tags ) && array_intersect( $disabled_tags, $tag_names ); 277 277 278 $disable_email = preg_match( '/([A-Z0-9._%+-]+(@|%(25)*40)[A-Z0-9.-]+\.[A-Z]{2,})/i', filter_input( INPUT_SERVER, 'REQUEST_URI') );278 $disable_email = ! empty( $_SERVER['REQUEST_URI'] ) && preg_match( '/([A-Z0-9._%+-]+(@|%(25)*40)[A-Z0-9.-]+\.[A-Z]{2,})/i', wp_unslash( $_SERVER['REQUEST_URI'] ) ); 279 279 280 280 return $disable_all || in_array( 'noads', $tag_names, true ) || $disable_category || $disable_tag || $disable_email; -
adthrive-ads/trunk/components/static-files/class-main.php
r3324371 r3329263 34 34 ); 35 35 36 $uri = filter_input( INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_URL );36 $uri = ! empty( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : ''; 37 37 38 38 $current_path = wp_parse_url( $uri, PHP_URL_PATH ); -
adthrive-ads/trunk/readme.txt
r3324371 r3329263 5 5 Tested up to: 6.8 6 6 Requires PHP: 5.6 7 Stable tag: 3. 7.77 Stable tag: 3.8.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 35 35 == Changelog == 36 36 37 = 3.8.0 = 38 * Move Raptive's Comscore script into the plugin. This update allows the script to load quicker, providing more accurate tracking and measurement of Raptive traffic. 39 37 40 = 3.7.7 = 38 41 * Use IdentityAPI for privacy compliant localStorage access
Note: See TracChangeset
for help on using the changeset viewer.