Plugin Directory

Changeset 2116670


Ignore:
Timestamp:
07/03/2019 07:25:27 AM (7 years ago)
Author:
linkvertise
Message:

Removed jQuery Check, raised version to 1.0.7, readme file changes

Location:
linkvertise-script-api/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • linkvertise-script-api/trunk/inc/Base/BaseController.php

    r2080585 r2116670  
    1111  public $plugin_url;
    1212  public $plugin;
    13   public $min_jquery_ver= '3.3.1';
    1413  public $linkvertise_api_script_url = 'https://linkvertise.net/cdn/linkvertise.js';
    1514  public $plugin_languages_path;
  • linkvertise-script-api/trunk/inc/Base/Enqueue.php

    r2080585 r2116670  
    1212  public function register() {
    1313     add_action('admin_enqueue_scripts', array($this, 'enqueueAdminScripts'));
    14      add_action('wp_enqueue_scripts', array($this, 'enqueueBaseScripts'));
    1514     add_action('wp_enqueue_scripts', array($this, 'enqueueScripts'));
     15     //add_action('wp_enqueue_scripts', array($this, 'enqueueBaseScripts'));
    1616  } 
    1717
     
    2020   * which are needed for further execution
    2121   */
    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() { }
    3323
    3424  /**
  • linkvertise-script-api/trunk/linkvertise-script-api.php

    r2081616 r2116670  
    44 * Plugin URI: https://linkvertise.net/dashboard#dynamic
    55 * Description: This plugin includes the Linkvertise API script to your Wordpress page.
    6  * Version: 1.0.6
     6 * Version: 1.0.7
    77 * Author: Linkvertise
    88 * Author URI: https://linkvertise.net/
  • linkvertise-script-api/trunk/readme.txt

    r2081616 r2116670  
    44Tags: linkvertise, linkvertise.net, link vertise, adsense, website monetization, full script api, linkvertise api, link ads, ad script
    55Requires at least: 5.1.1
    6 Tested up to: 5.1.1
    7 Stable tag: 1.0.6
     6Tested up to: 5.2.2
     7Stable tag: 1.0.7
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    8585== Changelog ==
    8686
     87= 1.0.7 =
     88* Changes to ensure compatibility with new Linkvertise API version
     89
    8790= 1.0.6 =
    8891* Plugin Header Bugfixes
Note: See TracChangeset for help on using the changeset viewer.