Plugin Directory

Changeset 3329263


Ignore:
Timestamp:
07/16/2025 07:00:54 PM (9 months ago)
Author:
raptive
Message:

Release 3.8.0

Location:
adthrive-ads
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • adthrive-ads/tags/3.8.0/adthrive-ads.php

    r3324371 r3329263  
    88 * Plugin URI: http://www.raptive.com
    99 * Description: Raptive Ads
    10  * Version: 3.7.7
     10 * Version: 3.8.0
    1111 * Author: Raptive
    1212 * Author URI: http://www.raptive.com
     
    3131defined( 'ABSPATH' ) || die;
    3232
    33 define( 'ADTHRIVE_ADS_VERSION', '3.7.7' );
     33define( 'ADTHRIVE_ADS_VERSION', '3.8.0' );
    3434define( 'ADTHRIVE_ADS_FILE', __FILE__ );
    3535define( 'ADTHRIVE_ADS_PATH', plugin_dir_path( ADTHRIVE_ADS_FILE ) );
  • adthrive-ads/tags/3.8.0/components/ads/class-main.php

    r3324371 r3329263  
    513513                    if ( $this->has_essential_site_ads_keys( $decoded_data ) ) {
    514514                        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
    515524                        add_action(
    516525                            'wp_head',
  • adthrive-ads/tags/3.8.0/components/ads/class-scheduled.php

    r3324371 r3329263  
    209209        $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' ) );
    210210        $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' ) );
    211212        return $status;
    212213    }
  • adthrive-ads/tags/3.8.0/components/amp/class-ad-injection-sanitizer.php

    r3324371 r3329263  
    276276        $disable_tag = is_array( $disabled_tags ) && array_intersect( $disabled_tags, $tag_names );
    277277
    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'] ) );
    279279
    280280        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  
    3434            );
    3535
    36             $uri = filter_input( INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_URL );
     36            $uri = ! empty( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : '';
    3737
    3838            $current_path = wp_parse_url( $uri, PHP_URL_PATH );
  • adthrive-ads/tags/3.8.0/readme.txt

    r3324371 r3329263  
    55Tested up to: 6.8
    66Requires PHP: 5.6
    7 Stable tag: 3.7.7
     7Stable tag: 3.8.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3535== Changelog ==
    3636
     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
    3740= 3.7.7 =
    3841* Use IdentityAPI for privacy compliant localStorage access
  • adthrive-ads/trunk/adthrive-ads.php

    r3324371 r3329263  
    88 * Plugin URI: http://www.raptive.com
    99 * Description: Raptive Ads
    10  * Version: 3.7.7
     10 * Version: 3.8.0
    1111 * Author: Raptive
    1212 * Author URI: http://www.raptive.com
     
    3131defined( 'ABSPATH' ) || die;
    3232
    33 define( 'ADTHRIVE_ADS_VERSION', '3.7.7' );
     33define( 'ADTHRIVE_ADS_VERSION', '3.8.0' );
    3434define( 'ADTHRIVE_ADS_FILE', __FILE__ );
    3535define( 'ADTHRIVE_ADS_PATH', plugin_dir_path( ADTHRIVE_ADS_FILE ) );
  • adthrive-ads/trunk/components/ads/class-main.php

    r3324371 r3329263  
    513513                    if ( $this->has_essential_site_ads_keys( $decoded_data ) ) {
    514514                        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
    515524                        add_action(
    516525                            'wp_head',
  • adthrive-ads/trunk/components/ads/class-scheduled.php

    r3324371 r3329263  
    209209        $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' ) );
    210210        $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' ) );
    211212        return $status;
    212213    }
  • adthrive-ads/trunk/components/amp/class-ad-injection-sanitizer.php

    r3324371 r3329263  
    276276        $disable_tag = is_array( $disabled_tags ) && array_intersect( $disabled_tags, $tag_names );
    277277
    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'] ) );
    279279
    280280        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  
    3434            );
    3535
    36             $uri = filter_input( INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_URL );
     36            $uri = ! empty( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : '';
    3737
    3838            $current_path = wp_parse_url( $uri, PHP_URL_PATH );
  • adthrive-ads/trunk/readme.txt

    r3324371 r3329263  
    55Tested up to: 6.8
    66Requires PHP: 5.6
    7 Stable tag: 3.7.7
     7Stable tag: 3.8.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3535== Changelog ==
    3636
     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
    3740= 3.7.7 =
    3841* Use IdentityAPI for privacy compliant localStorage access
Note: See TracChangeset for help on using the changeset viewer.