Changeset 2830668
- Timestamp:
- 12/08/2022 02:53:56 PM (3 years ago)
- Location:
- tealium/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (3 diffs)
-
tealium.options.php (modified) (1 diff)
-
tealium.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tealium/trunk/readme.txt
r2626685 r2830668 4 4 Donate link: http://tealium.com 5 5 Requires at least: 3.0.1 6 Tested up to: 5.8.17 Stable tag: 2.1.1 56 Tested up to: 6.1.1 7 Stable tag: 2.1.16 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 108 108 == Changelog == 109 109 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 110 114 = 2.1.15 = 111 115 * Fixed a bug where the iQ tag was inserted into some sitemap plugins. Thanks to peytz.dk for providing the fix. … … 202 206 == Upgrade Notice == 203 207 208 = 2.1.16 = 209 Bugfix - Outdated use of join() on admin page impacting PHP 8 users. 210 Bugfix - Corrected issue where user roles were assumed to begin at 0. 211 204 212 = 2.1.15 = 205 213 Fixed 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 22 22 23 23 // 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 )); 25 25 26 26 // Remove multiple spaces etc. -
tealium/trunk/tealium.php
r2626685 r2830668 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.1 57 Author: Ian Hampton - Tealium EMEA6 Version: 2.1.16 7 Author: Ian Hampton 8 8 Author URI: http://tealium.com 9 9 Text Domain: tealium … … 379 379 $user = wp_get_current_user(); 380 380 $role = ( array ) $user->roles; 381 $utagdata['userRole'] = $role[ 0];381 $utagdata['userRole'] = $role[array_key_first($role)]; 382 382 } 383 383 else {
Note: See TracChangeset
for help on using the changeset viewer.