Plugin Directory

Changeset 1954560


Ignore:
Timestamp:
10/10/2018 01:15:42 PM (7 years ago)
Author:
tealium
Message:

Version 2.1.11

Location:
tealium/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tealium/trunk/readme.txt

    r1934840 r1954560  
    55Requires at least: 3.0.1
    66Tested up to: 4.9.8
    7 Stable tag: 2.1.10
     7Stable tag: 2.1.11
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    104104== Changelog ==
    105105
     106= 2.1.11 =
     107* AMP bug fix. Workaround for a bug in a 3rd-party AMP plugin.
     108
    106109= 2.1.10 =
    107110* Add support for alternative utag_data namespace.
     
    183186== Upgrade Notice ==
    184187
     188= 2.1.11 =
     189AMP bug fix. Workaround for a bug in a 3rd-party AMP plugin.
     190
    185191= 2.1.10 =
    186192Add support for alternative utag_data namespace.
  • tealium/trunk/tealium.php

    r1934840 r1954560  
    44Plugin URI: http://tealium.com
    55Description: Adds the Tealium tag and creates a data layer for your WordPress site.
    6 Version: 2.1.10
     6Version: 2.1.11
    77Author: Ian Hampton - Tealium EMEA
    88Author URI: http://tealium.com
     
    552552 */
    553553function tealiumAMP() {
    554     if ( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) {
     554    global $wp_query;
     555    if ( function_exists( 'is_amp_endpoint' ) && $wp_query !== null && is_amp_endpoint() ) {
    555556        return true;
    556557    }
Note: See TracChangeset for help on using the changeset viewer.