Plugin Directory

Changeset 3146367


Ignore:
Timestamp:
09/04/2024 10:13:54 AM (18 months ago)
Author:
piwikpro
Message:

Version 1.3.6

Location:
piwik-pro
Files:
67 added
6 edited

Legend:

Unmodified
Added
Removed
  • piwik-pro/trunk/README.txt

    r3104008 r3146367  
    33Tags: Piwik PRO, Piwik, analytics, website stats, woocommerce
    44Requires at least: 5.7
    5 Tested up to: 6.5.4
    6 Stable tag: 1.3.5
     5Tested up to: 6.6.1
     6Stable tag: 1.3.6
    77Requires PHP: 7.4
    88License: GPLv3
     
    109109== Changelog ==
    110110
     111= 1.3.6 =
     112**Release date: 04.09.2024**
     113
     114* Info: Support for sync container will be discontinued from October 7, 2024.
     115* Test: Tested up to WordPress 6.6.1
     116
    111117= 1.3.5 =
    112118**Release date: 18.06.2024**
  • piwik-pro/trunk/autoload.php

    r3059913 r3146367  
    11<?php return ( function() { $map = require __DIR__ . '/classmap.php';
    2     return spl_autoload_register( fn( string $class ) => ! ( $map[ $class ] ?? null ) ?: require __DIR__ . $map[ $class ] );
     2    return spl_autoload_register( function( $class ) use( $map ) { return ! ( $map[ $class ] ?? null ) ?: require __DIR__ . $map[ $class ]; } );
    33} )(); # This file is part of https://github.com/PiotrPress/composer-classmapper package.
  • piwik-pro/trunk/classmap.php

    r3059913 r3146367  
    88  'PiwikPRO\\Vendor\\Clearcode\\Framework\\v6_1_3\\Templater' => '/vendor/clearcode/wordpress-framework/src/v6_1_3/Templater.php',
    99  'PiwikPRO\\Vendor\\Clearcode\\Settings\\v1_1_3\\Settings' => '/vendor/clearcode/wordpress-settings/src/v1_1_3/Settings.php',
    10 );
     10); # This file is part of https://github.com/PiotrPress/composer-classmapper package.
  • piwik-pro/trunk/includes/Plugin.php

    r2983740 r3146367  
    7272            foreach ( [ 'url', 'id', 'layer', 'sync' ] as $key ) if ( ! $this->settings[ $key ] ) return;
    7373
    74             echo wp_get_inline_script_tag(
    75                 ( $this->settings[ 'nonce' ] ? self::render( 'nonce', $this->settings ) : '' ) .
    76                 self::render( 'sync', $this->settings ),
    77                 $this->settings[ 'nonce' ] ? [ 'nonce' => $this->settings[ 'nonce' ] ] : []
    78             );
     74            if ( strtotime( '2024-10-07' ) > time() )
     75                echo wp_get_inline_script_tag(
     76                    ( $this->settings[ 'nonce' ] ? self::render( 'nonce', $this->settings ) : '' ) .
     77                    self::render( 'sync', $this->settings ),
     78                    $this->settings[ 'nonce' ] ? [ 'nonce' => $this->settings[ 'nonce' ] ] : []
     79                );
    7980        }
    8081
  • piwik-pro/trunk/includes/Settings.php

    r3104008 r3146367  
    105105                                                        ]
    106106                                                    ]
    107                                                 ],
     107                                                ]
     108                                            ], ( strtotime( '2024-10-07' ) > time() ) ? [
    108109                                                'sync' => [
    109110                                                    'title' => '',
     
    120121                                                            ],
    121122                                                            'after' => Plugin::__( 'Additional container (sync)' ),
    122                                                             'description' => Plugin::__( 'Add this container if you want to use sync tags. It loads tags before the page content loads.<br />
    123                                                                              <p><span class="notice notice-warning">Support for the sync tags will be sunset on October 7, 2024. We recommend using async tags instead.</span></p>' )
    124                                                         ]
    125                                                     ]
    126                                                 ],
     123                                                            'description' => Plugin::__( 'Add this container if you want to use sync tags. It loads tags before the page content loads.' ) . '<br />' .
     124                                                                             '<p><span class="notice notice-warning">' . Plugin::__( 'Support for the sync tags will be sunset on October 7, 2024. We recommend using async tags instead.' ) . '</span></p>'
     125                                                        ]
     126                                                    ]
     127                                                ]
     128                                            ] : [], [
    127129                                                'layer' => [
    128130                                                    'title' => Plugin::__( 'Data layer' ),
     
    138140                                                            ],
    139141                                                            'description' => Plugin::__( 'Default: <code>dataLayer</code>. Rename the data layer if you use other software with data layers.<br />
    140                                                                              If the names are the same, the software can interfere with each other.
    141                                                                              <a href="https://developers.piwik.pro/en/latest/tag_manager/data_layer_name.html#data-layer-name-guidelines" target="_blank">How to check it?</a>' )
     142                                                                                 If the names are the same, the software can interfere with each other.
     143                                                                                 <a href="https://developers.piwik.pro/en/latest/tag_manager/data_layer_name.html#data-layer-name-guidelines" target="_blank">How to check it?</a>' )
    142144                                                        ]
    143145                                                    ]
  • piwik-pro/trunk/plugin.php

    r3104008 r3146367  
    55 * Plugin URI:        https://wordpress.org/plugins/piwik-pro/
    66 * Description:       Adds the Piwik PRO container (with tracking code) to your WordPress site.
    7  * Version:           1.3.5
     7 * Version:           1.3.6
    88 * Requires at least: 5.7
    99 * Requires PHP:      7.4
Note: See TracChangeset for help on using the changeset viewer.