Plugin Directory

Changeset 3292529


Ignore:
Timestamp:
05/13/2025 11:58:53 AM (11 months ago)
Author:
awinglobal
Message:

Updated to 1.8.4

Location:
convert-a-link/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • convert-a-link/trunk/convert-a-link.php

    r3262204 r3292529  
    55Plugin Name: Awin Publisher MasterTag
    66Description: The Awin Publisher MasterTag allows you to access and enable technology from Awin and our partners.
    7 Version:     1.8.3
     7Version:     1.8.4
    88Author:      awinglobal
    99Author URI:  https://profiles.wordpress.org/awinglobal/
     
    2727}
    2828
    29 $publisherId = get_option('cal_publisherId');
    30 wp_enqueue_script('convert-a-link', 'https://www.dwin2.com/pub.' . $publisherId . '.min.js', array(), false, true);
     29add_action('wp_enqueue_scripts', 'convert_a_link_enqueue_script');
     30function convert_a_link_enqueue_script() {
     31    $publisherId = get_option('cal_publisherId');
     32    wp_enqueue_script('convert-a-link', 'https://www.dwin2.com/pub.' . $publisherId . '.min.js', array(), false, true);
     33}
    3134
    3235
  • convert-a-link/trunk/readme.txt

    r3262204 r3292529  
    44Requires at least: 4.0
    55Tested up to: 6.7.2
    6 Stable tag: 1.8.3
     6Stable tag: 1.8.4
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8787== Changelog ==
    8888
     89= 1.8.4 =
     90- Added wp_enqueue_script to load the script in the footer
     91
    8992= 1.8.3 =
    9093- Tested with 6.7.2
Note: See TracChangeset for help on using the changeset viewer.