Changeset 1694645
- Timestamp:
- 07/11/2017 04:41:56 PM (9 years ago)
- Location:
- adtechmedia/trunk
- Files:
-
- 3 edited
-
adtechmedia-plugin.php (modified) (2 diffs)
-
adtechmedia.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adtechmedia/trunk/adtechmedia-plugin.php
r1693783 r1694645 488 488 $hash = $this->get_plugin_option( 'atm-js-hash' ); 489 489 // @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']; 491 492 $this->add_plugin_option( 'atm-js-hash', $new_hash ); 492 493 $this->add_plugin_option( 'atm-js-is-old', '0' ); … … 499 500 if ( ! file_exists( $sw_file ) || ( time() - filemtime( $sw_file ) ) > Adtechmedia_Config::get( 'atm_js_cache_time' ) ) { 500 501 // @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']; 502 504 file_put_contents( $sw_file, $data ); 503 505 // @codingStandardsIgnoreEnd -
adtechmedia/trunk/adtechmedia.php
r1693889 r1694645 3 3 * Plugin Name: AdTechMedia 4 4 * Plugin URI: https://wordpress.org/plugins/adtechmedia/ 5 * Version: 0.10. 65 * Version: 0.10.7 6 6 * Author: AdTechMedia.io 7 7 * 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 10 10 Requires at least: 3.6 11 11 Tested up to: 4.8 12 Stable tag: 0.10. 612 Stable tag: 0.10.7 13 13 14 14
Note: See TracChangeset
for help on using the changeset viewer.