Plugin Directory

Changeset 1694645


Ignore:
Timestamp:
07/11/2017 04:41:56 PM (9 years ago)
Author:
adtechmedia
Message:

fix plugin download

Location:
adtechmedia/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • adtechmedia/trunk/adtechmedia-plugin.php

    r1693783 r1694645  
    488488                $hash = $this->get_plugin_option( 'atm-js-hash' );
    489489                // @codingStandardsIgnoreStart
    490                 $data     = @gzdecode( file_get_contents( $script . "?_v=" . time() ) );
     490                $data = wp_remote_get( $script . "?_v=" . time() );
     491                $data = gzdecode( $data['body'] ) ? gzdecode( $data['body'] ) : $data['body'];
    491492                $this->add_plugin_option( 'atm-js-hash', $new_hash );
    492493                $this->add_plugin_option( 'atm-js-is-old', '0' );
     
    499500            if ( ! file_exists( $sw_file ) || ( time() - filemtime( $sw_file ) ) > Adtechmedia_Config::get( 'atm_js_cache_time' ) ) {
    500501                // @codingStandardsIgnoreStart
    501                 $data = @gzdecode( file_get_contents( Adtechmedia_Config::get( 'sw_js_url' ) ) );
     502                $data = wp_remote_get( Adtechmedia_Config::get( 'sw_js_url' ) );
     503                $data = gzdecode( $data['body'] ) ? gzdecode( $data['body'] ) : $data['body'];
    502504                file_put_contents( $sw_file, $data );
    503505                // @codingStandardsIgnoreEnd
  • adtechmedia/trunk/adtechmedia.php

    r1693889 r1694645  
    33 * Plugin Name: AdTechMedia
    44 * Plugin URI: https://wordpress.org/plugins/adtechmedia/
    5  * Version: 0.10.6
     5 * Version: 0.10.7
    66 * Author: AdTechMedia.io
    77 * Description: AdTechMedia is an advertising platform with micropayments capabilities for media content monetization. We help publishers and content providers to generate complimentary revenue streams that are immune to ad blocking software (e.g. native advertising or native micropayments). Our solutions are white labeled, data driven and realtime. To learn more, contact hello@adtechmedia.io or visit www.adtechmedia.io.
  • adtechmedia/trunk/readme.txt

    r1693889 r1694645  
    1010Requires at least: 3.6
    1111Tested up to: 4.8
    12 Stable tag: 0.10.6
     12Stable tag: 0.10.7
    1313
    1414
Note: See TracChangeset for help on using the changeset viewer.