Plugin Directory

Changeset 2871817


Ignore:
Timestamp:
02/27/2023 04:31:22 PM (3 years ago)
Author:
juanin8
Message:

Update to 2.3.3

Location:
segment-for-wp-by-in8-io/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • segment-for-wp-by-in8-io/trunk/README.txt

    r2833394 r2871817  
    66Tested up to: 6.1.1
    77Requires PHP: 7.3.5
    8 Stable tag: 2.3.2
     8Stable tag: 2.3.3
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7272== Changelog ==
    7373
     74= 2.3.3 =
     75* Fix error with flatten function on Server Side tracking
     76
    7477= 2.3.2 =
    7578* 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  
    493493    {
    494494
    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) {
    503496
    504497            as_enqueue_async_action($task, array($args), $plugin_name);
     
    508501        }
    509502
     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;
    510510    }
    511511
  • segment-for-wp-by-in8-io/trunk/segment-for-wp-by-in8-io.php

    r2833394 r2871817  
    1010 * Plugin URI:        https://github.com/omgwtfwow/segment-for-wp-by-in8-io
    1111 * Description:       Segment Analytics for WordPress
    12  * Version:           2.3.2
     12 * Version:           2.3.3
    1313 * Author:            Juan
    1414 * Author URI:        https://juangonzalez.com.au
     
    2727 * Currently plugin version.
    2828 */
    29 define( 'SEGMENT_FOR_WP_BY_IN8_IO_VERSION', '2.3.2' );
     29define( 'SEGMENT_FOR_WP_BY_IN8_IO_VERSION', '2.3.3' );
    3030
    3131/**
Note: See TracChangeset for help on using the changeset viewer.