Changeset 1891113
- Timestamp:
- 06/11/2018 04:04:21 PM (8 years ago)
- Location:
- tealium/trunk
- Files:
-
- 4 added
- 2 edited
-
languages (added)
-
languages/tealium-en_GB.mo (added)
-
languages/tealium-en_GB.po (added)
-
languages/tealium.pot (added)
-
readme.txt (modified) (3 diffs)
-
tealium.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tealium/trunk/readme.txt
r1836078 r1891113 4 4 Donate link: http://tealium.com 5 5 Requires at least: 3.0.1 6 Tested up to: 4.9. 17 Stable tag: 2.1. 86 Tested up to: 4.9.6 7 Stable tag: 2.1.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 104 104 == Changelog == 105 105 106 = 2.1.9 = 107 * Add translation support and template. 108 * Move data layer above sync file. 109 106 110 = 2.1.8 = 107 111 * Fix issues with WooCommerce support. … … 175 179 == Upgrade Notice == 176 180 181 = 2.1.9 = 182 Add translation support and template. 183 Move data layer above sync file. 184 177 185 = 2.1.8 = 178 186 Fix issues with WooCommerce support. -
tealium/trunk/tealium.php
r1836078 r1891113 4 4 Plugin URI: http://tealium.com 5 5 Description: Adds the Tealium tag and creates a data layer for your WordPress site. 6 Version: 2.1. 86 Version: 2.1.9 7 7 Author: Ian Hampton - Tealium EMEA 8 8 Author URI: http://tealium.com 9 9 Text Domain: tealium 10 Domain Path: /languages 10 11 */ 11 12 … … 83 84 } 84 85 86 function load_plugin_textdomain_tealium() { 87 load_plugin_textdomain( 'tealium', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' ); 88 } 89 add_action( 'plugins_loaded', 'load_plugin_textdomain_tealium' ); 85 90 86 91 /* … … 607 612 $utagSync = get_option( 'tealiumUtagSync' ); 608 613 if ( "1" == $utagSync ) { 609 add_action( 'wp_head', 'tealiumOutputUtagSync', 1);610 } 611 612 // Add utag.sync.jsif required614 add_action( 'wp_head', 'tealiumOutputUtagSync', 2 ); 615 } 616 617 // Add DNS Prefetch if required 613 618 $dnsPrefetch = get_option( 'tealiumDNSPrefetch' ); 614 619 if ( "1" == $dnsPrefetch ) { … … 630 635 // Insert the data object 631 636 if ( get_option( 'tealiumTagLocation' ) != '3' ) { 632 add_action( 'wp_head', 'tealiumEncodedDataObject', 2);633 } 634 } 637 add_action( 'wp_head', 'tealiumEncodedDataObject', 1 ); 638 } 639 }
Note: See TracChangeset
for help on using the changeset viewer.