Changeset 2116670
- Timestamp:
- 07/03/2019 07:25:27 AM (7 years ago)
- Location:
- linkvertise-script-api/trunk
- Files:
-
- 4 edited
-
inc/Base/BaseController.php (modified) (1 diff)
-
inc/Base/Enqueue.php (modified) (2 diffs)
-
linkvertise-script-api.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linkvertise-script-api/trunk/inc/Base/BaseController.php
r2080585 r2116670 11 11 public $plugin_url; 12 12 public $plugin; 13 public $min_jquery_ver= '3.3.1';14 13 public $linkvertise_api_script_url = 'https://linkvertise.net/cdn/linkvertise.js'; 15 14 public $plugin_languages_path; -
linkvertise-script-api/trunk/inc/Base/Enqueue.php
r2080585 r2116670 12 12 public function register() { 13 13 add_action('admin_enqueue_scripts', array($this, 'enqueueAdminScripts')); 14 add_action('wp_enqueue_scripts', array($this, 'enqueueBaseScripts'));15 14 add_action('wp_enqueue_scripts', array($this, 'enqueueScripts')); 15 //add_action('wp_enqueue_scripts', array($this, 'enqueueBaseScripts')); 16 16 } 17 17 … … 20 20 * which are needed for further execution 21 21 */ 22 public function enqueueBaseScripts() 23 { 24 // Enqueue so we can grab the built-in version 25 wp_enqueue_script('jquery'); 26 27 if ( version_compare($GLOBALS['wp_scripts']->registered['jquery']->ver, $this->min_jquery_ver, '<' ) ) { 28 wp_deregister_script('jquery'); 29 wp_register_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/'. $this->min_jquery_ver .'/jquery.min.js' ); 30 wp_enqueue_script( 'jquery' ); 31 } 32 } 22 public function enqueueBaseScripts() { } 33 23 34 24 /** -
linkvertise-script-api/trunk/linkvertise-script-api.php
r2081616 r2116670 4 4 * Plugin URI: https://linkvertise.net/dashboard#dynamic 5 5 * Description: This plugin includes the Linkvertise API script to your Wordpress page. 6 * Version: 1.0. 66 * Version: 1.0.7 7 7 * Author: Linkvertise 8 8 * Author URI: https://linkvertise.net/ -
linkvertise-script-api/trunk/readme.txt
r2081616 r2116670 4 4 Tags: linkvertise, linkvertise.net, link vertise, adsense, website monetization, full script api, linkvertise api, link ads, ad script 5 5 Requires at least: 5.1.1 6 Tested up to: 5. 1.17 Stable tag: 1.0. 66 Tested up to: 5.2.2 7 Stable tag: 1.0.7 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 85 85 == Changelog == 86 86 87 = 1.0.7 = 88 * Changes to ensure compatibility with new Linkvertise API version 89 87 90 = 1.0.6 = 88 91 * Plugin Header Bugfixes
Note: See TracChangeset
for help on using the changeset viewer.