Changeset 2871817
- Timestamp:
- 02/27/2023 04:31:22 PM (3 years ago)
- Location:
- segment-for-wp-by-in8-io/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
includes/class-segment-for-wp-by-in8-io-track-server.php (modified) (2 diffs)
-
segment-for-wp-by-in8-io.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
segment-for-wp-by-in8-io/trunk/README.txt
r2833394 r2871817 6 6 Tested up to: 6.1.1 7 7 Requires PHP: 7.3.5 8 Stable tag: 2.3. 28 Stable tag: 2.3.3 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 72 72 == Changelog == 73 73 74 = 2.3.3 = 75 * Fix error with flatten function on Server Side tracking 76 74 77 = 2.3.2 = 75 78 * Include more pages in custom post meta functionality -
segment-for-wp-by-in8-io/trunk/includes/class-segment-for-wp-by-in8-io-track-server.php
r2833394 r2871817 493 493 { 494 494 495 function flatten(array $array) { 496 $return = array(); 497 array_walk_recursive($array, function($a) use (&$return) { $return[] = $a; }); 498 return $return; 499 } 500 501 502 if (mb_strlen(implode(flatten($args))) < 8000) { 495 if (mb_strlen(implode($this->flatten($args))) < 8000) { 503 496 504 497 as_enqueue_async_action($task, array($args), $plugin_name); … … 508 501 } 509 502 503 } 504 505 private function flatten(array $array) 506 { 507 $return = array(); 508 array_walk_recursive($array, function($a) use (&$return) { $return[] = $a; }); 509 return $return; 510 510 } 511 511 -
segment-for-wp-by-in8-io/trunk/segment-for-wp-by-in8-io.php
r2833394 r2871817 10 10 * Plugin URI: https://github.com/omgwtfwow/segment-for-wp-by-in8-io 11 11 * Description: Segment Analytics for WordPress 12 * Version: 2.3. 212 * Version: 2.3.3 13 13 * Author: Juan 14 14 * Author URI: https://juangonzalez.com.au … … 27 27 * Currently plugin version. 28 28 */ 29 define( 'SEGMENT_FOR_WP_BY_IN8_IO_VERSION', '2.3. 2' );29 define( 'SEGMENT_FOR_WP_BY_IN8_IO_VERSION', '2.3.3' ); 30 30 31 31 /**
Note: See TracChangeset
for help on using the changeset viewer.