Google Analytics Opt-Out - Version 2.2.3

Version Description

  • Fixed PHP warning: filemtime(): stat failed in line xyz
Download this release

Release Info

Developer wp-buddy
Plugin Icon 128x128 Google Analytics Opt-Out
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

google-analytics-opt-out.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Google Analytics Opt-Out
4
  Plugin URI: https://wp-buddy.com/products/plugins/google-analytics-opt-out
5
  Description: Provides an Opt-Out functionality for Google Analytics
6
- Version: 2.2.2
7
  Author: WP-Buddy
8
  Author URI: https://wp-buddy.com
9
  License: GPL2
3
  Plugin Name: Google Analytics Opt-Out
4
  Plugin URI: https://wp-buddy.com/products/plugins/google-analytics-opt-out
5
  Description: Provides an Opt-Out functionality for Google Analytics
6
+ Version: 2.2.3
7
  Author: WP-Buddy
8
  Author URI: https://wp-buddy.com
9
  License: GPL2
images/optout-editor-icon.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg width="18" height="20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M15.61 16.086c.093.094.14.2.14.316 0 .118-.047.211-.14.282a2.763 2.763 0 0 1-2.075.878c-.82 0-1.512-.292-2.074-.878L7.383 12.64l-.88.879c.165.398.247.808.247 1.23 0 .938-.328 1.734-.984 2.39-.657.657-1.454.985-2.391.985-.938 0-1.734-.328-2.39-.984C.327 16.484 0 15.688 0 14.75c0-.937.328-1.734.984-2.39.657-.657 1.453-.985 2.391-.985.164 0 .316.012.457.035l1.16-1.16-1.16-1.16c-.14.023-.293.035-.457.035-.938 0-1.734-.328-2.39-.984C.327 7.484 0 6.688 0 5.75c0-.937.328-1.734.984-2.39.657-.657 1.453-.985 2.391-.985.937 0 1.734.328 2.39.984.657.657.985 1.454.985 2.391 0 .422-.082.832-.246 1.23l.879.88 4.078-4.044a2.763 2.763 0 0 1 2.074-.878c.82 0 1.512.293 2.074.878.094.07.141.164.141.282a.437.437 0 0 1-.14.316L9.772 10.25l5.836 5.836zM3.374 4.625c-.305 0-.568.111-.791.334a1.081 1.081 0 0 0-.334.791c0 .305.111.568.334.791.223.223.486.334.791.334.305 0 .568-.111.791-.334.223-.223.334-.486.334-.791 0-.305-.111-.568-.334-.791a1.081 1.081 0 0 0-.791-.334zm0 9c-.305 0-.568.111-.791.334a1.081 1.081 0 0 0-.334.791c0 .305.111.568.334.791.223.223.486.334.791.334.305 0 .568-.111.791-.334.223-.223.334-.486.334-.791 0-.305-.111-.568-.334-.791a1.081 1.081 0 0 0-.791-.334zm3.937-3.797a.407.407 0 0 0-.298.123.407.407 0 0 0-.123.299c0 .117.04.217.123.299a.407.407 0 0 0 .298.123.407.407 0 0 0 .3-.123.407.407 0 0 0 .122-.299.407.407 0 0 0-.123-.299.407.407 0 0 0-.299-.123z" fill="#000"/><path fill="#196EEE" d="M16 0H18V4H16z"/><path fill="#D9442F" d="M16 4H18V8H16z"/><path fill="#FFBB04" d="M16 8H18V12H16z"/><path fill="#176CED" d="M16 12H18V16H16z"/><path fill="#03A25D" d="M16 16H18V20H16z"/></g></svg>
inc/admin.php CHANGED
@@ -123,11 +123,14 @@ function gaoop_gutenberg_init() {
123
  }
124
 
125
  function gaoop_gutenberg_editor_assets() {
 
 
 
126
  wp_enqueue_script(
127
  'gaoop-block',
128
  plugin_dir_url( GAOOP_FILE ) . 'js/opt-out-block.js',
129
  array( 'wp-blocks', 'wp-i18n', 'wp-element' ),
130
- filemtime( plugin_dir_path( GAOOP_FILE ) . 'js/opt-out-block.js' ),
131
  true
132
  );
133
 
123
  }
124
 
125
  function gaoop_gutenberg_editor_assets() {
126
+
127
+ $block_file = plugin_dir_path( GAOOP_FILE ) . 'js/opt-out-block.js';
128
+
129
  wp_enqueue_script(
130
  'gaoop-block',
131
  plugin_dir_url( GAOOP_FILE ) . 'js/opt-out-block.js',
132
  array( 'wp-blocks', 'wp-i18n', 'wp-element' ),
133
+ is_file( $block_file ) ? filemtime( $block_file ) : '',
134
  true
135
  );
136
 
js/opt-out-block.js ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // The module cache
3
+ /******/ var installedModules = {};
4
+ /******/
5
+ /******/ // The require function
6
+ /******/ function __webpack_require__(moduleId) {
7
+ /******/
8
+ /******/ // Check if module is in cache
9
+ /******/ if(installedModules[moduleId]) {
10
+ /******/ return installedModules[moduleId].exports;
11
+ /******/ }
12
+ /******/ // Create a new module (and put it into the cache)
13
+ /******/ var module = installedModules[moduleId] = {
14
+ /******/ i: moduleId,
15
+ /******/ l: false,
16
+ /******/ exports: {}
17
+ /******/ };
18
+ /******/
19
+ /******/ // Execute the module function
20
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
+ /******/
22
+ /******/ // Flag the module as loaded
23
+ /******/ module.l = true;
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/
30
+ /******/ // expose the modules object (__webpack_modules__)
31
+ /******/ __webpack_require__.m = modules;
32
+ /******/
33
+ /******/ // expose the module cache
34
+ /******/ __webpack_require__.c = installedModules;
35
+ /******/
36
+ /******/ // define getter function for harmony exports
37
+ /******/ __webpack_require__.d = function(exports, name, getter) {
38
+ /******/ if(!__webpack_require__.o(exports, name)) {
39
+ /******/ Object.defineProperty(exports, name, {
40
+ /******/ configurable: false,
41
+ /******/ enumerable: true,
42
+ /******/ get: getter
43
+ /******/ });
44
+ /******/ }
45
+ /******/ };
46
+ /******/
47
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
48
+ /******/ __webpack_require__.n = function(module) {
49
+ /******/ var getter = module && module.__esModule ?
50
+ /******/ function getDefault() { return module['default']; } :
51
+ /******/ function getModuleExports() { return module; };
52
+ /******/ __webpack_require__.d(getter, 'a', getter);
53
+ /******/ return getter;
54
+ /******/ };
55
+ /******/
56
+ /******/ // Object.prototype.hasOwnProperty.call
57
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
+ /******/
59
+ /******/ // __webpack_public_path__
60
+ /******/ __webpack_require__.p = "";
61
+ /******/
62
+ /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 0);
64
+ /******/ })
65
+ /************************************************************************/
66
+ /******/ ([
67
+ /* 0 */
68
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
69
+
70
+ "use strict";
71
+ eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n registerBlockType = _wp$blocks.registerBlockType,\n createBlock = _wp$blocks.createBlock;\nvar TextControl = wp.components.TextControl;\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (registerBlockType('gaoop/opt-out-block', {\n title: __('Analytics Opt Out', 'gaoop'),\n category: 'widgets',\n icon: wp.element.createElement(\n 'svg',\n { width: '18', height: '20',\n xmlns: 'http://www.w3.org/2000/svg' },\n wp.element.createElement('path', {\n d: 'M15.61 16.086c.093.094.14.2.14.316 0 .118-.047.211-.14.282a2.763 2.763 0 0 1-2.075.878c-.82 0-1.512-.292-2.074-.878L7.383 12.64l-.88.879c.165.398.247.808.247 1.23 0 .938-.328 1.734-.984 2.39-.657.657-1.454.985-2.391.985-.938 0-1.734-.328-2.39-.984C.327 16.484 0 15.688 0 14.75c0-.937.328-1.734.984-2.39.657-.657 1.453-.985 2.391-.985.164 0 .316.012.457.035l1.16-1.16-1.16-1.16c-.14.023-.293.035-.457.035-.938 0-1.734-.328-2.39-.984C.327 7.484 0 6.688 0 5.75c0-.937.328-1.734.984-2.39.657-.657 1.453-.985 2.391-.985.937 0 1.734.328 2.39.984.657.657.985 1.454.985 2.391 0 .422-.082.832-.246 1.23l.879.88 4.078-4.044a2.763 2.763 0 0 1 2.074-.878c.82 0 1.512.293 2.074.878.094.07.141.164.141.282a.437.437 0 0 1-.14.316L9.772 10.25l5.836 5.836zM3.374 4.625c-.305 0-.568.111-.791.334a1.081 1.081 0 0 0-.334.791c0 .305.111.568.334.791.223.223.486.334.791.334.305 0 .568-.111.791-.334.223-.223.334-.486.334-.791 0-.305-.111-.568-.334-.791a1.081 1.081 0 0 0-.791-.334zm0 9c-.305 0-.568.111-.791.334a1.081 1.081 0 0 0-.334.791c0 .305.111.568.334.791.223.223.486.334.791.334.305 0 .568-.111.791-.334.223-.223.334-.486.334-.791 0-.305-.111-.568-.334-.791a1.081 1.081 0 0 0-.791-.334zm3.937-3.797a.407.407 0 0 0-.298.123.407.407 0 0 0-.123.299c0 .117.04.217.123.299a.407.407 0 0 0 .298.123.407.407 0 0 0 .3-.123.407.407 0 0 0 .122-.299.407.407 0 0 0-.123-.299.407.407 0 0 0-.299-.123z',\n fill: '#000' }),\n wp.element.createElement('path', { fill: '#196EEE', d: 'M16 0H18V4H16z' }),\n wp.element.createElement('path', { fill: '#D9442F', d: 'M16 4H18V8H16z' }),\n wp.element.createElement('path', { fill: '#FFBB04', d: 'M16 8H18V12H16z' }),\n wp.element.createElement('path', { fill: '#176CED', d: 'M16 12H18V16H16z' }),\n wp.element.createElement('path', { fill: '#03A25D', d: 'M16 16H18V20H16z' })\n ),\n keywords: ['gaoop', __('Analytics Opt Out', 'gaoop')],\n attributes: {\n content: {\n source: 'text',\n selector: 'a',\n default: __('Click here to opt out', 'gaoop')\n }\n },\n\n transforms: {\n to: [{\n type: 'block',\n blocks: ['core/paragraph'],\n transform: function transform(_ref) {\n var content = _ref.content;\n\n return createBlock('core/paragraph', {\n content: content\n });\n }\n }],\n from: [{\n type: 'block',\n blocks: ['core/paragraph'],\n transform: function transform(_ref2) {\n var content = _ref2.content;\n\n return createBlock('gaoop/opt-out-block', {\n content: content\n });\n }\n }]\n },\n\n edit: function edit(props) {\n var isSelected = props.isSelected,\n setAttributes = props.setAttributes;\n\n\n var content = '' === props.attributes.content ? __('Click here to opt out', 'gaoop') : props.attributes.content;\n\n return isSelected ? wp.element.createElement(TextControl, {\n label: __('Enter a link text', 'gaoop'),\n value: content,\n onChange: function onChange(value) {\n return setAttributes({ content: value });\n }\n }) : wp.element.createElement(\n 'a',\n { className: 'gaoop-block', href: '#' },\n content\n );\n },\n save: function save(props) {\n\n var content = '' === props.attributes.content ? __('Click here to opt out', 'gaoop') : props.attributes.content;\n\n return wp.element.createElement(\n 'a',\n { className: 'gaoop-block',\n href: 'javascript:gaoop_analytics_optout();' },\n content\n );\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2Jsb2Nrcy9vcHQtb3V0LmpzP2M4YzciXSwic291cmNlc0NvbnRlbnQiOlsidmFyIF9fID0gd3AuaTE4bi5fXztcbnZhciBfd3AkYmxvY2tzID0gd3AuYmxvY2tzLFxuICAgIHJlZ2lzdGVyQmxvY2tUeXBlID0gX3dwJGJsb2Nrcy5yZWdpc3RlckJsb2NrVHlwZSxcbiAgICBjcmVhdGVCbG9jayA9IF93cCRibG9ja3MuY3JlYXRlQmxvY2s7XG52YXIgVGV4dENvbnRyb2wgPSB3cC5jb21wb25lbnRzLlRleHRDb250cm9sO1xuXG5cbmV4cG9ydCBkZWZhdWx0IHJlZ2lzdGVyQmxvY2tUeXBlKCdnYW9vcC9vcHQtb3V0LWJsb2NrJywge1xuICB0aXRsZTogX18oJ0FuYWx5dGljcyBPcHQgT3V0JywgJ2dhb29wJyksXG4gIGNhdGVnb3J5OiAnd2lkZ2V0cycsXG4gIGljb246IHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAnc3ZnJyxcbiAgICB7IHdpZHRoOiAnMTgnLCBoZWlnaHQ6ICcyMCcsX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UFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///0\n");
72
+
73
+ /***/ })
74
+ /******/ ]);
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wp-buddy, floriansimeth
3
  Donate link: https://wp-buddy.com/products/plugins/google-analytics-opt-out/
4
  Tags: google analytics opt-out, monster insights, gdpr
5
- Version: 2.2.2
6
- Stable tag: 2.2.2
7
  Requires at least: 4.8.0
8
  Requires PHP: 5.6.0
9
  Tested up to: 5.0
@@ -42,6 +42,9 @@ The free and the pro version have now been merged together. So you now can have
42
 
43
  == Changelog ==
44
 
 
 
 
45
  = 2.2.2 =
46
  * New Opt-Out Gutenberg block did not work (due to missing JavaScript file).
47
 
2
  Contributors: wp-buddy, floriansimeth
3
  Donate link: https://wp-buddy.com/products/plugins/google-analytics-opt-out/
4
  Tags: google analytics opt-out, monster insights, gdpr
5
+ Version: 2.2.3
6
+ Stable tag: 2.2.3
7
  Requires at least: 4.8.0
8
  Requires PHP: 5.6.0
9
  Tested up to: 5.0
42
 
43
  == Changelog ==
44
 
45
+ = 2.2.3 =
46
+ * Fixed PHP warning: filemtime(): stat failed in line xyz
47
+
48
  = 2.2.2 =
49
  * New Opt-Out Gutenberg block did not work (due to missing JavaScript file).
50