Changeset 3292529
- Timestamp:
- 05/13/2025 11:58:53 AM (11 months ago)
- Location:
- convert-a-link/trunk
- Files:
-
- 2 edited
-
convert-a-link.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
convert-a-link/trunk/convert-a-link.php
r3262204 r3292529 5 5 Plugin Name: Awin Publisher MasterTag 6 6 Description: The Awin Publisher MasterTag allows you to access and enable technology from Awin and our partners. 7 Version: 1.8. 37 Version: 1.8.4 8 8 Author: awinglobal 9 9 Author URI: https://profiles.wordpress.org/awinglobal/ … … 27 27 } 28 28 29 $publisherId = get_option('cal_publisherId'); 30 wp_enqueue_script('convert-a-link', 'https://www.dwin2.com/pub.' . $publisherId . '.min.js', array(), false, true); 29 add_action('wp_enqueue_scripts', 'convert_a_link_enqueue_script'); 30 function 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 } 31 34 32 35 -
convert-a-link/trunk/readme.txt
r3262204 r3292529 4 4 Requires at least: 4.0 5 5 Tested up to: 6.7.2 6 Stable tag: 1.8. 36 Stable tag: 1.8.4 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 87 87 == Changelog == 88 88 89 = 1.8.4 = 90 - Added wp_enqueue_script to load the script in the footer 91 89 92 = 1.8.3 = 90 93 - Tested with 6.7.2
Note: See TracChangeset
for help on using the changeset viewer.