WP Google Maps - Version 7.10.20

Version Description

:- 2018-07-05 :- Low priority = * Added hook for new GDPR tab content * Added JavaScript for VGM GDPR controls * Fixed WPGMZA\DOMDocument::saveInnerBody not saving text nodes

Download this release

Release Info

Developer perryrylance
Plugin Icon 128x128 WP Google Maps
Version 7.10.20
Comparing to
See all releases

Code changes from version 7.10.19 to 7.10.20

css/wp-google-maps-admin.css CHANGED
@@ -455,7 +455,7 @@ input.cmn-toggle-yes-no:checked + label:after {
455
 
456
  #wpgmza-gdpr-compliance fieldset>label
457
  {
458
- width: 250px;
459
  }
460
 
461
  #wpgmza-gdpr-compliance input[type='number']
455
 
456
  #wpgmza-gdpr-compliance fieldset>label
457
  {
458
+ width: 260px;
459
  }
460
 
461
  #wpgmza-gdpr-compliance input[type='number']
html/gdpr-compliance-settings.html.php CHANGED
@@ -19,25 +19,6 @@
19
 
20
  </div>
21
 
22
- <div id="wpgmza-gdpr-vgm-compliance" style="display: none;">
23
-
24
- <h2>
25
- <?php _e('VGM Add-on Compliance', 'wp-google-maps'); ?>
26
- </h2>
27
-
28
- <fieldset>
29
- <label for="wpgmza_gdpr_require_consent_before_vgm_submit">
30
- <?php
31
- _e('Require consent before user submission', 'wp-google-maps');
32
- ?>
33
- <i class="fa fa-question-circle"
34
- title="<?php _e('If you collect personally identifying information through your Visitor Generated Markers form, you should check this box to require the user to consent to the GDPR notice before submitting their marker.', 'wp-google-maps') ?>"/>
35
- </label>
36
- <input name="wpgmza_gdpr_require_consent_before_vgm_submit" type="checkbox"/>
37
- </fieldset>
38
-
39
- </div>
40
-
41
  <div id="wpgmza-gdpr-compliance-notice" style="display: none;">
42
 
43
  <h2>
@@ -116,5 +97,5 @@
116
  <?php
117
  _e('For more information about WPGM and GDPR compliance, please refer to our <a href="https://www.wpgmaps.com/gdpr/">GDPR information page</a> and our <a href="https://www.wpgmaps.com/privacy-policy/">Privacy Policy</a>', 'wp-google-maps');
118
  ?>
119
- </p>--
120
  </div>
19
 
20
  </div>
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  <div id="wpgmza-gdpr-compliance-notice" style="display: none;">
23
 
24
  <h2>
97
  <?php
98
  _e('For more information about WPGM and GDPR compliance, please refer to our <a href="https://www.wpgmaps.com/gdpr/">GDPR information page</a> and our <a href="https://www.wpgmaps.com/privacy-policy/">Privacy Policy</a>', 'wp-google-maps');
99
  ?>
100
+ </p>
101
  </div>
includes/build.log CHANGED
@@ -1,124 +1,124 @@
1
- 2018-07-05 09:36:08 :- Scanning dependencies
2
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/circle.js
3
- 2018-07-05 09:36:08 :- Found wpgmza-circle
4
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-map-object
5
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/compatibility.js
6
- 2018-07-05 09:36:08 :- Found wpgmza-compatibility
7
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
8
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/core.js
9
- 2018-07-05 09:36:08 :- Found wpgmza
10
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/distance.js
11
- 2018-07-05 09:36:08 :- Found wpgmza-distance
12
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
13
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/event-dispatcher.js
14
- 2018-07-05 09:36:08 :- Found wpgmza-event-dispatcher
15
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
16
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/event.js
17
- 2018-07-05 09:36:08 :- Found wpgmza-event
18
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
19
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/friendly-error.js
20
- 2018-07-05 09:36:08 :- Found wpgmza-friendly-error
21
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
22
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/geocoder.js
23
- 2018-07-05 09:36:08 :- Found wpgmza-geocoder
24
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
25
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/info-window.js
26
- 2018-07-05 09:36:08 :- Found wpgmza-info-window
27
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-event-dispatcher
28
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/latlng.js
29
- 2018-07-05 09:36:08 :- Found wpgmza-lat-lng
30
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
31
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/latlngbounds.js
32
- 2018-07-05 09:36:08 :- Found wpgmza-lat-lng-bounds
33
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
34
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-object.js
35
- 2018-07-05 09:36:08 :- Found wpgmza-map-object
36
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-event-dispatcher
37
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-settings-page.js
38
- 2018-07-05 09:36:08 :- Found wpgmza-map-settings-page
39
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
40
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-settings.js
41
- 2018-07-05 09:36:08 :- Found wpgmza-map-settings
42
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
43
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map.js
44
- 2018-07-05 09:36:08 :- Found wpgmza-map
45
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-event-dispatcher
46
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/maps-engine-dialog.js
47
- 2018-07-05 09:36:08 :- Found wpgmza-maps-engine-dialog
48
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
49
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/marker.js
50
- 2018-07-05 09:36:08 :- Found wpgmza-marker
51
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
52
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator-circle.js
53
- 2018-07-05 09:36:08 :- Found wpgmza-modern-store-locator-circle
54
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
55
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator.js
56
- 2018-07-05 09:36:08 :- Found wpgmza-modern-store-locator
57
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
58
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/polygon.js
59
- 2018-07-05 09:36:08 :- Found wpgmza-polygon
60
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-map-object
61
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/polyline.js
62
- 2018-07-05 09:36:08 :- Found wpgmza-polyline
63
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-map-object
64
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/v7-custom-script.js
65
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/version.js
66
- 2018-07-05 09:36:08 :- Found wpgmza-version
67
- 2018-07-05 09:36:08 :- Adding dependency wpgmza
68
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-circle.js
69
- 2018-07-05 09:36:08 :- Found wpgmza-google-circle
70
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-circle
71
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-geocoder.js
72
- 2018-07-05 09:36:08 :- Found wpgmza-google-geocoder
73
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-geocoder
74
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-info-window.js
75
- 2018-07-05 09:36:08 :- Found wpgmza-google-info-window
76
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-info-window
77
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-map.js
78
- 2018-07-05 09:36:08 :- Found wpgmza-google-map
79
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-map
80
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-marker.js
81
- 2018-07-05 09:36:08 :- Found wpgmza-google-marker
82
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-marker
83
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator-circle.js
84
- 2018-07-05 09:36:08 :- Found wpgmza-google-modern-store-locator-circle
85
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-modern-store-locator-circle
86
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator.js
87
- 2018-07-05 09:36:08 :- Found wpgmza-google-modern-store-locator
88
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-modern-store-locator
89
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polygon.js
90
- 2018-07-05 09:36:08 :- Found wpgmza-google-polygon
91
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-polygon
92
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polyline.js
93
- 2018-07-05 09:36:08 :- Found wpgmza-google-polyline
94
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-polyline
95
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-vertex-context-menu.js
96
- 2018-07-05 09:36:08 :- Found wpgmza-google-vertex-context-menu
97
- 2018-07-05 09:36:08 :- Adding dependency wpgmza_api_call
98
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-circle.js
99
- 2018-07-05 09:36:08 :- Found wpgmza-ol-circle
100
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-circle
101
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-geocoder.js
102
- 2018-07-05 09:36:08 :- Found wpgmza-ol-geocoder
103
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-geocoder
104
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-info-window.js
105
- 2018-07-05 09:36:08 :- Found wpgmza-ol-info-window
106
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-info-window
107
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-map.js
108
- 2018-07-05 09:36:08 :- Found wpgmza-ol-map
109
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-map
110
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-marker.js
111
- 2018-07-05 09:36:08 :- Found wpgmza-ol-marker
112
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-marker
113
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator-circle.js
114
- 2018-07-05 09:36:08 :- Found wpgmza-ol-modern-store-locator-circle
115
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-modern-store-locator-circle
116
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator.js
117
- 2018-07-05 09:36:08 :- Found wpgmza-ol-modern-store-locator
118
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-modern-store-locator
119
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polygon.js
120
- 2018-07-05 09:36:08 :- Found wpgmza-ol-polygon
121
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-polygon
122
- 2018-07-05 09:36:08 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polyline.js
123
- 2018-07-05 09:36:08 :- Found wpgmza-ol-polyline
124
- 2018-07-05 09:36:08 :- Adding dependency wpgmza-polyline
1
+ 2018-07-05 12:12:51 :- Scanning dependencies
2
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/circle.js
3
+ 2018-07-05 12:12:51 :- Found wpgmza-circle
4
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-map-object
5
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/compatibility.js
6
+ 2018-07-05 12:12:51 :- Found wpgmza-compatibility
7
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
8
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/core.js
9
+ 2018-07-05 12:12:51 :- Found wpgmza
10
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/distance.js
11
+ 2018-07-05 12:12:51 :- Found wpgmza-distance
12
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
13
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/event-dispatcher.js
14
+ 2018-07-05 12:12:51 :- Found wpgmza-event-dispatcher
15
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
16
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/event.js
17
+ 2018-07-05 12:12:51 :- Found wpgmza-event
18
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
19
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/friendly-error.js
20
+ 2018-07-05 12:12:51 :- Found wpgmza-friendly-error
21
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
22
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/geocoder.js
23
+ 2018-07-05 12:12:51 :- Found wpgmza-geocoder
24
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
25
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/info-window.js
26
+ 2018-07-05 12:12:51 :- Found wpgmza-info-window
27
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-event-dispatcher
28
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/latlng.js
29
+ 2018-07-05 12:12:51 :- Found wpgmza-lat-lng
30
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
31
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/latlngbounds.js
32
+ 2018-07-05 12:12:51 :- Found wpgmza-lat-lng-bounds
33
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
34
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-object.js
35
+ 2018-07-05 12:12:51 :- Found wpgmza-map-object
36
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-event-dispatcher
37
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-settings-page.js
38
+ 2018-07-05 12:12:51 :- Found wpgmza-map-settings-page
39
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
40
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-settings.js
41
+ 2018-07-05 12:12:51 :- Found wpgmza-map-settings
42
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
43
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map.js
44
+ 2018-07-05 12:12:51 :- Found wpgmza-map
45
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-event-dispatcher
46
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/maps-engine-dialog.js
47
+ 2018-07-05 12:12:51 :- Found wpgmza-maps-engine-dialog
48
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
49
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/marker.js
50
+ 2018-07-05 12:12:51 :- Found wpgmza-marker
51
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
52
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator-circle.js
53
+ 2018-07-05 12:12:51 :- Found wpgmza-modern-store-locator-circle
54
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
55
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator.js
56
+ 2018-07-05 12:12:51 :- Found wpgmza-modern-store-locator
57
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
58
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/polygon.js
59
+ 2018-07-05 12:12:51 :- Found wpgmza-polygon
60
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-map-object
61
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/polyline.js
62
+ 2018-07-05 12:12:51 :- Found wpgmza-polyline
63
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-map-object
64
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/v7-custom-script.js
65
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/version.js
66
+ 2018-07-05 12:12:51 :- Found wpgmza-version
67
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza
68
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-circle.js
69
+ 2018-07-05 12:12:51 :- Found wpgmza-google-circle
70
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-circle
71
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-geocoder.js
72
+ 2018-07-05 12:12:51 :- Found wpgmza-google-geocoder
73
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-geocoder
74
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-info-window.js
75
+ 2018-07-05 12:12:51 :- Found wpgmza-google-info-window
76
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-info-window
77
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-map.js
78
+ 2018-07-05 12:12:51 :- Found wpgmza-google-map
79
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-map
80
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-marker.js
81
+ 2018-07-05 12:12:51 :- Found wpgmza-google-marker
82
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-marker
83
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator-circle.js
84
+ 2018-07-05 12:12:51 :- Found wpgmza-google-modern-store-locator-circle
85
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-modern-store-locator-circle
86
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator.js
87
+ 2018-07-05 12:12:51 :- Found wpgmza-google-modern-store-locator
88
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-modern-store-locator
89
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polygon.js
90
+ 2018-07-05 12:12:51 :- Found wpgmza-google-polygon
91
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-polygon
92
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polyline.js
93
+ 2018-07-05 12:12:51 :- Found wpgmza-google-polyline
94
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-polyline
95
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-vertex-context-menu.js
96
+ 2018-07-05 12:12:51 :- Found wpgmza-google-vertex-context-menu
97
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza_api_call
98
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-circle.js
99
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-circle
100
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-circle
101
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-geocoder.js
102
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-geocoder
103
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-geocoder
104
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-info-window.js
105
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-info-window
106
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-info-window
107
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-map.js
108
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-map
109
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-map
110
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-marker.js
111
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-marker
112
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-marker
113
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator-circle.js
114
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-modern-store-locator-circle
115
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-modern-store-locator-circle
116
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator.js
117
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-modern-store-locator
118
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-modern-store-locator
119
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polygon.js
120
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-polygon
121
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-polygon
122
+ 2018-07-05 12:12:51 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polyline.js
123
+ 2018-07-05 12:12:51 :- Found wpgmza-ol-polyline
124
+ 2018-07-05 12:12:51 :- Adding dependency wpgmza-polyline
includes/class.dom-document.php CHANGED
@@ -223,9 +223,12 @@ class DOMDocument extends \DOMDocument
223
  {
224
  $result = '';
225
 
226
- //Plugin::resetAttributeHooks($this);
227
 
228
- foreach($this->querySelectorAll('body>*') as $node)
 
 
 
229
  $result .= $this->saveHTML($node);
230
 
231
  return $result;
223
  {
224
  $result = '';
225
 
226
+ $body = $this->querySelector('body');
227
 
228
+ if(!$body)
229
+ return null;
230
+
231
+ for($node = $body->firstChild; $node != null; $node = $node->nextSibling)
232
  $result .= $this->saveHTML($node);
233
 
234
  return $result;
includes/class.gdpr-compliance.php CHANGED
@@ -94,6 +94,9 @@ class GDPRCompliance
94
 
95
  $document = new DOMDocument();
96
  $document->loadPHPFile(plugin_dir_path(__DIR__) . 'html/gdpr-compliance-settings.html.php');
 
 
 
97
  $document->populate($settings);
98
 
99
  return $document;
94
 
95
  $document = new DOMDocument();
96
  $document->loadPHPFile(plugin_dir_path(__DIR__) . 'html/gdpr-compliance-settings.html.php');
97
+
98
+ $document = apply_filters('wpgmza_gdpr_settings_tab_content', $document);
99
+
100
  $document->populate($settings);
101
 
102
  return $document;
js/v8/map-settings-page.js CHANGED
@@ -10,10 +10,15 @@
10
  var self = this;
11
 
12
  this.updateEngineSpecificControls();
 
13
 
14
  $("select[name='wpgmza_maps_engine']").on("change", function(event) {
15
  self.updateEngineSpecificControls();
16
  });
 
 
 
 
17
  }
18
 
19
  WPGMZA.MapSettingsPage.prototype.updateEngineSpecificControls = function()
@@ -24,6 +29,36 @@
24
  $("[data-required-maps-engine='" + engine + "']").show();
25
  }
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  $(document).ready(function(event) {
28
 
29
  if(!window.location.href.match(/wp-google-maps-menu-settings/))
10
  var self = this;
11
 
12
  this.updateEngineSpecificControls();
13
+ this.updateGDPRControls();
14
 
15
  $("select[name='wpgmza_maps_engine']").on("change", function(event) {
16
  self.updateEngineSpecificControls();
17
  });
18
+
19
+ $("input[name='wpgmza_gdpr_require_consent_before_load'], input[name='wpgmza_gdpr_require_consent_before_vgm_submit'], input[name='wpgmza_gdpr_override_notice']").on("change", function(event) {
20
+ self.updateGDPRControls();
21
+ });
22
  }
23
 
24
  WPGMZA.MapSettingsPage.prototype.updateEngineSpecificControls = function()
29
  $("[data-required-maps-engine='" + engine + "']").show();
30
  }
31
 
32
+ WPGMZA.MapSettingsPage.prototype.updateGDPRControls = function()
33
+ {
34
+ var showNoticeControls = $("input[name='wpgmza_gdpr_require_consent_before_load']").prop("checked");
35
+
36
+ var vgmCheckbox = $("input[name='wpgmza_gdpr_require_consent_before_vgm_submit']");
37
+
38
+ if(vgmCheckbox.length)
39
+ showNoticeControls = showNoticeControls || vgmCheckbox.prop("checked");
40
+
41
+ var showOverrideTextarea = showNoticeControls && $("input[name='wpgmza_gdpr_override_notice']").prop("checked");
42
+
43
+ if(showNoticeControls)
44
+ {
45
+ $("#wpgmza-gdpr-compliance-notice").show("slow");
46
+ }
47
+ else
48
+ {
49
+ $("#wpgmza-gdpr-compliance-notice").hide("slow");
50
+ }
51
+
52
+ if(showOverrideTextarea)
53
+ {
54
+ $("#wpgmza_gdpr_override_notice_text").show("slow");
55
+ }
56
+ else
57
+ {
58
+ $("#wpgmza_gdpr_override_notice_text").hide("slow");
59
+ }
60
+ }
61
+
62
  $(document).ready(function(event) {
63
 
64
  if(!window.location.href.match(/wp-google-maps-menu-settings/))
js/wpgmaps_tabs.js CHANGED
@@ -68,34 +68,6 @@ $("document").ready(function() {
68
  });
69
 
70
 
71
- function updateGDPRTab()
72
- {
73
- var showNoticeControls = $("input[name='wpgmza_gdpr_require_consent_before_load']").prop("checked");
74
- var showOverrideTextarea = showNoticeControls && $("input[name='wpgmza_gdpr_override_notice']").prop("checked");
75
-
76
- if(showNoticeControls)
77
- {
78
- $("#wpgmza-gdpr-compliance-notice").show("slow");
79
- }
80
- else
81
- {
82
- $("#wpgmza-gdpr-compliance-notice").hide("slow");
83
- }
84
-
85
- if(showOverrideTextarea)
86
- {
87
- $("#wpgmza_gdpr_override_notice_text").show("slow");
88
- }
89
- else
90
- {
91
- $("#wpgmza_gdpr_override_notice_text").hide("slow");
92
- }
93
- }
94
-
95
- $("input[name='wpgmza_gdpr_require_consent_before_load'], input[name='wpgmza_gdpr_require_consent_before_vgm_submit'], input[name='wpgmza_gdpr_override_notice']").on("change", updateGDPRTab);
96
-
97
- updateGDPRTab();
98
-
99
  });
100
 
101
  })(jQuery);
68
  });
69
 
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  });
72
 
73
  })(jQuery);
readme.txt CHANGED
@@ -215,6 +215,11 @@ Please upgrade your version of WP Google Maps to version 6.0.27 as it includes m
215
 
216
  == Changelog ==
217
 
 
 
 
 
 
218
  = 7.10.19 - 2018-07-05 :- Medium Priority =
219
  * Added new event "userlocationfound" dispatched from WPGMZA.events
220
  * Added fall back to convert UTF-8 to HTML entities on installations without multibyte functions available
215
 
216
  == Changelog ==
217
 
218
+ = 7.10.20 :- 2018-07-05 :- Low priority =
219
+ * Added hook for new GDPR tab content
220
+ * Added JavaScript for VGM GDPR controls
221
+ * Fixed WPGMZA\DOMDocument::saveInnerBody not saving text nodes
222
+
223
  = 7.10.19 - 2018-07-05 :- Medium Priority =
224
  * Added new event "userlocationfound" dispatched from WPGMZA.events
225
  * Added fall back to convert UTF-8 to HTML entities on installations without multibyte functions available
wpGoogleMaps.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Google Maps
4
  Plugin URI: https://www.wpgmaps.com
5
  Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
6
- Version: 7.10.19
7
  Author: WP Google Maps
8
  Author URI: https://www.wpgmaps.com
9
  Text Domain: wp-google-maps
@@ -11,6 +11,11 @@ Domain Path: /languages
11
  */
12
 
13
  /*
 
 
 
 
 
14
  * 7.10.19 - 2018-07-05 :- Medium Priority
15
  * Added new event "userlocationfound" dispatched from WPGMZA.events
16
  * Added fall back to convert UTF-8 to HTML entities on installations without multibyte functions available
@@ -3093,7 +3098,8 @@ function wpgmza_settings_page_post()
3093
  "wpgmza_gdpr_require_consent_before_load",
3094
  "wpgmza_developer_mode",
3095
  'wpgmza_prevent_other_plugins_and_theme_loading_api',
3096
- "wpgmza_gdpr_override_notice"
 
3097
  );
3098
 
3099
  foreach($checkboxes as $name) {
3
  Plugin Name: WP Google Maps
4
  Plugin URI: https://www.wpgmaps.com
5
  Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
6
+ Version: 7.10.20
7
  Author: WP Google Maps
8
  Author URI: https://www.wpgmaps.com
9
  Text Domain: wp-google-maps
11
  */
12
 
13
  /*
14
+ * 7.10.20 :- 2018-07-05 :- Low priority
15
+ * Added hook for new GDPR tab content
16
+ * Added JavaScript for VGM GDPR controls
17
+ * Fixed WPGMZA\DOMDocument::saveInnerBody not saving text nodes
18
+ *
19
  * 7.10.19 - 2018-07-05 :- Medium Priority
20
  * Added new event "userlocationfound" dispatched from WPGMZA.events
21
  * Added fall back to convert UTF-8 to HTML entities on installations without multibyte functions available
3098
  "wpgmza_gdpr_require_consent_before_load",
3099
  "wpgmza_developer_mode",
3100
  'wpgmza_prevent_other_plugins_and_theme_loading_api',
3101
+ "wpgmza_gdpr_override_notice",
3102
+ "wpgmza_gdpr_require_consent_before_vgm_submit"
3103
  );
3104
 
3105
  foreach($checkboxes as $name) {