Changeset 2522592
- Timestamp:
- 04/28/2021 09:09:48 AM (5 years ago)
- Location:
- piwik-pro
- Files:
-
- 77 added
- 4 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/.htaccess (added)
-
tags/1.0.2/AUTHORS.txt (added)
-
tags/1.0.2/LICENSE.txt (added)
-
tags/1.0.2/README.txt (added)
-
tags/1.0.2/assets (added)
-
tags/1.0.2/assets/index.html (added)
-
tags/1.0.2/assets/js (added)
-
tags/1.0.2/assets/js/async.js (added)
-
tags/1.0.2/assets/js/index.html (added)
-
tags/1.0.2/assets/js/sync.js (added)
-
tags/1.0.2/includes (added)
-
tags/1.0.2/includes/Plugin.php (added)
-
tags/1.0.2/includes/Settings.php (added)
-
tags/1.0.2/includes/index.html (added)
-
tags/1.0.2/index.html (added)
-
tags/1.0.2/languages (added)
-
tags/1.0.2/languages/index.html (added)
-
tags/1.0.2/plugin.php (added)
-
tags/1.0.2/templates (added)
-
tags/1.0.2/templates/index.html (added)
-
tags/1.0.2/templates/link.php (added)
-
tags/1.0.2/templates/noscript.php (added)
-
tags/1.0.2/templates/var.php (added)
-
tags/1.0.2/uninstall.php (added)
-
tags/1.0.2/vendor (added)
-
tags/1.0.2/vendor/autoload.php (added)
-
tags/1.0.2/vendor/clearcode (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/.gitignore (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/.htaccess (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/AUTHORS.txt (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/LICENSE.txt (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/README.md (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/composer.json (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/index.html (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/src (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/src/index.html (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/src/v6_1_2 (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/src/v6_1_2/Filterer.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/src/v6_1_2/Plugin.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/src/v6_1_2/Singleton.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/src/v6_1_2/Templater.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-framework/src/v6_1_2/index.html (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/.gitignore (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/.htaccess (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/AUTHORS.txt (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/LICENSE.txt (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/README.md (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/composer.json (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/index.html (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/index.html (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1 (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/Settings.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/index.html (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/templates (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/templates/index.html (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/templates/input.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/templates/menu.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/templates/page.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/templates/section.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/templates/select.php (added)
-
tags/1.0.2/vendor/clearcode/wordpress-settings/src/v1_1_1/templates/textarea.php (added)
-
tags/1.0.2/vendor/composer (added)
-
tags/1.0.2/vendor/composer/ClassLoader.php (added)
-
tags/1.0.2/vendor/composer/InstalledVersions.php (added)
-
tags/1.0.2/vendor/composer/LICENSE (added)
-
tags/1.0.2/vendor/composer/autoload_classmap.php (added)
-
tags/1.0.2/vendor/composer/autoload_namespaces.php (added)
-
tags/1.0.2/vendor/composer/autoload_psr4.php (added)
-
tags/1.0.2/vendor/composer/autoload_real.php (added)
-
tags/1.0.2/vendor/composer/autoload_static.php (added)
-
tags/1.0.2/vendor/composer/installed.json (added)
-
tags/1.0.2/vendor/composer/installed.php (added)
-
tags/1.0.2/vendor/composer/platform_check.php (added)
-
trunk/README.txt (modified) (4 diffs)
-
trunk/includes/Plugin.php (modified) (1 diff)
-
trunk/includes/Settings.php (modified) (3 diffs)
-
trunk/plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
piwik-pro/trunk/README.txt
r2517692 r2522592 4 4 Requires at least: 5.7 5 5 Tested up to: 5.7.1 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 Requires PHP: 7.4 8 8 License: GPLv3 … … 43 43 = What's the difference between the containers? = 44 44 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. 46 46 * **Additional container (sync):** Add this container if you want to use sync tags. It loads tags before the page content loads. 47 47 … … 75 75 2. Type in the **Container address (URL)**. 76 76 3. 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.77 4. Leave **Basic container (async)** checked. This container holds your tracking code and is used to handle most tags. 78 78 5. Check **Additional container (sync)** if you want to add the container for sync tags. 79 79 6. Optionally rename the **Data layer**. … … 93 93 == Changelog == 94 94 95 = 1.0.2 = 96 **Release date: 28.04.2021** 97 98 * Fix: Removed `delete_option()` from `deactivation()`. 99 95 100 = 1.0.1 = 96 101 **Release date: 19.04.2021** -
piwik-pro/trunk/includes/Plugin.php
r2516197 r2522592 42 42 } 43 43 44 public function deactivation() { 45 delete_option( Settings::OPTION ); 46 } 44 public function deactivation() {} 47 45 48 46 protected function __construct( $file ) { -
piwik-pro/trunk/includes/Settings.php
r2517692 r2522592 98 98 'type' => 'checkbox' 99 99 ], 100 'after' => Plugin::__( 'Basic container (a -sync)' ),100 'after' => Plugin::__( 'Basic container (async)' ), 101 101 'description' => Plugin::__( "This container holds your tracking code and is used to handle most tags.<br /><br /> 102 102 <strong>Note:</strong> Make sure your WordPress theme has the <code>wp_body_open()</code> function<br /> … … 123 123 ], 124 124 'layer' => [ 125 'title' => Plugin::__( 'Data Layer' ),125 'title' => Plugin::__( 'Data layer' ), 126 126 'default' => 'dataLayer', 127 127 'sanitize' => [ $this, 'sanitize_layer' ], … … 172 172 $value = sanitize_text_field( $value ); 173 173 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.' ); 175 175 return get_option( self::OPTION )[ 'layer' ]; 176 176 } -
piwik-pro/trunk/plugin.php
r2517692 r2522592 5 5 * Plugin URI: https://wordpress.org/plugins/piwik-pro/ 6 6 * Description: Adds the Piwik PRO container (with tracking code) to your WordPress site. 7 * Version: 1.0. 17 * Version: 1.0.2 8 8 * Requires at least: 5.7 9 9 * Requires PHP: 7.4
Note: See TracChangeset
for help on using the changeset viewer.