Plugin Directory

Changeset 2522592


Ignore:
Timestamp:
04/28/2021 09:09:48 AM (5 years ago)
Author:
piwikpro
Message:

Version 1.0.2

Location:
piwik-pro
Files:
77 added
4 edited

Legend:

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

    r2517692 r2522592  
    44Requires at least: 5.7
    55Tested up to: 5.7.1
    6 Stable tag: 1.0.1
     6Stable tag: 1.0.2
    77Requires PHP: 7.4
    88License: GPLv3
     
    4343= What's the difference between the containers? =
    4444
    45 * **Basic container (a-sync):** This container holds your tracking code and is used to handle most tags.
     45* **Basic container (async):** This container holds your tracking code and is used to handle most tags.
    4646* **Additional container (sync):** Add this container if you want to use sync tags. It loads tags before the page content loads.
    4747
     
    75752. Type in the **Container address (URL)**.
    76763. Type in your **Site ID**. [Where to find it?](https://help.piwik.pro/support/questions/find-website-id/)
    77 4. Leave **Basic container (a-synch)** checked. This container holds your tracking code and is used to handle most tags.
     774. Leave **Basic container (async)** checked. This container holds your tracking code and is used to handle most tags.
    78785. Check **Additional container (sync)** if you want to add the container for sync tags.
    79796. Optionally rename the **Data layer**.
     
    9393== Changelog ==
    9494
     95= 1.0.2 =
     96**Release date: 28.04.2021**
     97
     98* Fix: Removed `delete_option()` from `deactivation()`.
     99
    95100= 1.0.1 =
    96101**Release date: 19.04.2021**
  • piwik-pro/trunk/includes/Plugin.php

    r2516197 r2522592  
    4242        }
    4343
    44         public function deactivation() {
    45             delete_option( Settings::OPTION );
    46         }
     44        public function deactivation() {}
    4745
    4846        protected function __construct( $file ) {
  • piwik-pro/trunk/includes/Settings.php

    r2517692 r2522592  
    9898                                                                'type' => 'checkbox'
    9999                                                            ],
    100                                                             'after' => Plugin::__( 'Basic container (a-sync)' ),
     100                                                            'after' => Plugin::__( 'Basic container (async)' ),
    101101                                                            'description' => Plugin::__( "This container holds your tracking code and is used to handle most tags.<br /><br />
    102102                                                                             <strong>Note:</strong> Make sure your WordPress theme has the <code>wp_body_open()</code> function<br />
     
    123123                                                ],
    124124                                                'layer' => [
    125                                                     'title' => Plugin::__( 'Data Layer' ),
     125                                                    'title' => Plugin::__( 'Data layer' ),
    126126                                                    'default' => 'dataLayer',
    127127                                                    'sanitize' => [ $this, 'sanitize_layer' ],
     
    172172            $value = sanitize_text_field( $value );
    173173            if ( preg_match('/^[a-zA-Z_$][0-9a-zA-Z_$]*$/', $value ) !== 1 ) {
    174                 $this->notice( 'Wrong <code>Data Layer</code> value.' );
     174                $this->notice( 'Wrong <code>Data layer</code> value.' );
    175175                return get_option( self::OPTION )[ 'layer' ];
    176176            }
  • piwik-pro/trunk/plugin.php

    r2517692 r2522592  
    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.0.1
     7 * Version:           1.0.2
    88 * Requires at least: 5.7
    99 * Requires PHP:      7.4
Note: See TracChangeset for help on using the changeset viewer.