Plugin Directory

Changeset 2830668


Ignore:
Timestamp:
12/08/2022 02:53:56 PM (3 years ago)
Author:
tealium
Message:

Commit 2.1.16 - Bugfixes

Location:
tealium/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tealium/trunk/readme.txt

    r2626685 r2830668  
    44Donate link: http://tealium.com
    55Requires at least: 3.0.1
    6 Tested up to: 5.8.1
    7 Stable tag: 2.1.15
     6Tested up to: 6.1.1
     7Stable tag: 2.1.16
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108== Changelog ==
    109109
     110= 2.1.16 =
     111* Bugfix - Outdated use of join() on admin page impacting PHP 8 users.
     112* Bugfix - Corrected issue where user roles were assumed to begin at 0.
     113
    110114= 2.1.15 =
    111115* Fixed a bug where the iQ tag was inserted into some sitemap plugins. Thanks to peytz.dk for providing the fix.
     
    202206== Upgrade Notice ==
    203207
     208= 2.1.16 =
     209Bugfix - Outdated use of join() on admin page impacting PHP 8 users.
     210Bugfix - Corrected issue where user roles were assumed to begin at 0.
     211
    204212= 2.1.15 =
    205213Fixed a bug where the iQ tag was inserted into some sitemap plugins. Thanks to peytz.dk for providing the fix.
  • tealium/trunk/tealium.options.php

    r1934840 r2830668  
    2222
    2323    // Handle camelCase
    24     $key = join( preg_split( '/(^[^A-Z]+|[A-Z][^A-Z]+)/', $key, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE ), ' ');
     24    $key = implode( ' ', preg_split( '/(^[^A-Z]+|[A-Z][^A-Z]+)/', $key, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE ));
    2525
    2626    // Remove multiple spaces etc.
  • tealium/trunk/tealium.php

    r2626685 r2830668  
    44Plugin URI: http://tealium.com
    55Description: Adds the Tealium tag and creates a data layer for your WordPress site.
    6 Version: 2.1.15
    7 Author: Ian Hampton - Tealium EMEA
     6Version: 2.1.16
     7Author: Ian Hampton
    88Author URI: http://tealium.com
    99Text Domain: tealium
     
    379379        $user = wp_get_current_user();
    380380        $role = ( array ) $user->roles;
    381         $utagdata['userRole'] = $role[0];
     381        $utagdata['userRole'] = $role[array_key_first($role)];
    382382    }
    383383    else {
Note: See TracChangeset for help on using the changeset viewer.