Version Description
- 2018-05-30 :- Low Priority =
- Fixed Using $this when not in object context when using older PHP version
- Fixed google sometimes not defined when selected engine is OpenLayers
Download this release
Release Info
Developer | perryrylance |
Plugin | WP Google Maps |
Version | 7.10.05 |
Comparing to | |
See all releases |
Code changes from version 7.10.04 to 7.10.05
- includes/build.log +124 -124
- includes/class.gdpr-compliance.php +11 -0
- includes/class.google-maps-api-loader.php +1 -1
- includes/class.plugin.php +6 -2
- readme.txt +20 -0
- wpGoogleMaps.php +10 -6
includes/build.log
CHANGED
@@ -1,124 +1,124 @@
|
|
1 |
-
2018-05-30
|
2 |
-
2018-05-30
|
3 |
-
2018-05-30
|
4 |
-
2018-05-30
|
5 |
-
2018-05-30
|
6 |
-
2018-05-30
|
7 |
-
2018-05-30
|
8 |
-
2018-05-30
|
9 |
-
2018-05-30
|
10 |
-
2018-05-30
|
11 |
-
2018-05-30
|
12 |
-
2018-05-30
|
13 |
-
2018-05-30
|
14 |
-
2018-05-30
|
15 |
-
2018-05-30
|
16 |
-
2018-05-30
|
17 |
-
2018-05-30
|
18 |
-
2018-05-30
|
19 |
-
2018-05-30
|
20 |
-
2018-05-30
|
21 |
-
2018-05-30
|
22 |
-
2018-05-30
|
23 |
-
2018-05-30
|
24 |
-
2018-05-30
|
25 |
-
2018-05-30
|
26 |
-
2018-05-30
|
27 |
-
2018-05-30
|
28 |
-
2018-05-30
|
29 |
-
2018-05-30
|
30 |
-
2018-05-30
|
31 |
-
2018-05-30
|
32 |
-
2018-05-30
|
33 |
-
2018-05-30
|
34 |
-
2018-05-30
|
35 |
-
2018-05-30
|
36 |
-
2018-05-30
|
37 |
-
2018-05-30
|
38 |
-
2018-05-30
|
39 |
-
2018-05-30
|
40 |
-
2018-05-30
|
41 |
-
2018-05-30
|
42 |
-
2018-05-30
|
43 |
-
2018-05-30
|
44 |
-
2018-05-30
|
45 |
-
2018-05-30
|
46 |
-
2018-05-30
|
47 |
-
2018-05-30
|
48 |
-
2018-05-30
|
49 |
-
2018-05-30
|
50 |
-
2018-05-30
|
51 |
-
2018-05-30
|
52 |
-
2018-05-30
|
53 |
-
2018-05-30
|
54 |
-
2018-05-30
|
55 |
-
2018-05-30
|
56 |
-
2018-05-30
|
57 |
-
2018-05-30
|
58 |
-
2018-05-30
|
59 |
-
2018-05-30
|
60 |
-
2018-05-30
|
61 |
-
2018-05-30
|
62 |
-
2018-05-30
|
63 |
-
2018-05-30
|
64 |
-
2018-05-30
|
65 |
-
2018-05-30
|
66 |
-
2018-05-30
|
67 |
-
2018-05-30
|
68 |
-
2018-05-30
|
69 |
-
2018-05-30
|
70 |
-
2018-05-30
|
71 |
-
2018-05-30
|
72 |
-
2018-05-30
|
73 |
-
2018-05-30
|
74 |
-
2018-05-30
|
75 |
-
2018-05-30
|
76 |
-
2018-05-30
|
77 |
-
2018-05-30
|
78 |
-
2018-05-30
|
79 |
-
2018-05-30
|
80 |
-
2018-05-30
|
81 |
-
2018-05-30
|
82 |
-
2018-05-30
|
83 |
-
2018-05-30
|
84 |
-
2018-05-30
|
85 |
-
2018-05-30
|
86 |
-
2018-05-30
|
87 |
-
2018-05-30
|
88 |
-
2018-05-30
|
89 |
-
2018-05-30
|
90 |
-
2018-05-30
|
91 |
-
2018-05-30
|
92 |
-
2018-05-30
|
93 |
-
2018-05-30
|
94 |
-
2018-05-30
|
95 |
-
2018-05-30
|
96 |
-
2018-05-30
|
97 |
-
2018-05-30
|
98 |
-
2018-05-30
|
99 |
-
2018-05-30
|
100 |
-
2018-05-30
|
101 |
-
2018-05-30
|
102 |
-
2018-05-30
|
103 |
-
2018-05-30
|
104 |
-
2018-05-30
|
105 |
-
2018-05-30
|
106 |
-
2018-05-30
|
107 |
-
2018-05-30
|
108 |
-
2018-05-30
|
109 |
-
2018-05-30
|
110 |
-
2018-05-30
|
111 |
-
2018-05-30
|
112 |
-
2018-05-30
|
113 |
-
2018-05-30
|
114 |
-
2018-05-30
|
115 |
-
2018-05-30
|
116 |
-
2018-05-30
|
117 |
-
2018-05-30
|
118 |
-
2018-05-30
|
119 |
-
2018-05-30
|
120 |
-
2018-05-30
|
121 |
-
2018-05-30
|
122 |
-
2018-05-30
|
123 |
-
2018-05-30
|
124 |
-
2018-05-30
|
1 |
+
2018-05-30 14:17:20 :- Scanning dependencies
|
2 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/circle.js
|
3 |
+
2018-05-30 14:17:20 :- Found wpgmza-circle
|
4 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-map-object
|
5 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/compatibility.js
|
6 |
+
2018-05-30 14:17:20 :- Found wpgmza-compatibility
|
7 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
8 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/core.js
|
9 |
+
2018-05-30 14:17:20 :- Found wpgmza
|
10 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/distance.js
|
11 |
+
2018-05-30 14:17:20 :- Found wpgmza-distance
|
12 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
13 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/event-dispatcher.js
|
14 |
+
2018-05-30 14:17:20 :- Found wpgmza-event-dispatcher
|
15 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
16 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/event.js
|
17 |
+
2018-05-30 14:17:20 :- Found wpgmza-event
|
18 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
19 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/friendly-error.js
|
20 |
+
2018-05-30 14:17:20 :- Found wpgmza-friendly-error
|
21 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
22 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/geocoder.js
|
23 |
+
2018-05-30 14:17:20 :- Found wpgmza-geocoder
|
24 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
25 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/info-window.js
|
26 |
+
2018-05-30 14:17:20 :- Found wpgmza-info-window
|
27 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-event-dispatcher
|
28 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/latlng.js
|
29 |
+
2018-05-30 14:17:20 :- Found wpgmza-lat-lng
|
30 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
31 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/latlngbounds.js
|
32 |
+
2018-05-30 14:17:20 :- Found wpgmza-lat-lng-bounds
|
33 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
34 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-object.js
|
35 |
+
2018-05-30 14:17:20 :- Found wpgmza-map-object
|
36 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-event-dispatcher
|
37 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-settings-page.js
|
38 |
+
2018-05-30 14:17:20 :- Found wpgmza-map-settings-page
|
39 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
40 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map-settings.js
|
41 |
+
2018-05-30 14:17:20 :- Found wpgmza-map-settings
|
42 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
43 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/map.js
|
44 |
+
2018-05-30 14:17:20 :- Found wpgmza-map
|
45 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-event-dispatcher
|
46 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/maps-engine-dialog.js
|
47 |
+
2018-05-30 14:17:20 :- Found wpgmza-maps-engine-dialog
|
48 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
49 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/marker.js
|
50 |
+
2018-05-30 14:17:20 :- Found wpgmza-marker
|
51 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
52 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator-circle.js
|
53 |
+
2018-05-30 14:17:20 :- Found wpgmza-modern-store-locator-circle
|
54 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
55 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator.js
|
56 |
+
2018-05-30 14:17:20 :- Found wpgmza-modern-store-locator
|
57 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
58 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/polygon.js
|
59 |
+
2018-05-30 14:17:20 :- Found wpgmza-polygon
|
60 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-map-object
|
61 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/polyline.js
|
62 |
+
2018-05-30 14:17:20 :- Found wpgmza-polyline
|
63 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-map-object
|
64 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/v7-custom-script.js
|
65 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/version.js
|
66 |
+
2018-05-30 14:17:20 :- Found wpgmza-version
|
67 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza
|
68 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-circle.js
|
69 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-circle
|
70 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-circle
|
71 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-geocoder.js
|
72 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-geocoder
|
73 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-geocoder
|
74 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-info-window.js
|
75 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-info-window
|
76 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-info-window
|
77 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-map.js
|
78 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-map
|
79 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-map
|
80 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-marker.js
|
81 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-marker
|
82 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-marker
|
83 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator-circle.js
|
84 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-modern-store-locator-circle
|
85 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-modern-store-locator-circle
|
86 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator.js
|
87 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-modern-store-locator
|
88 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-modern-store-locator
|
89 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polygon.js
|
90 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-polygon
|
91 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-polygon
|
92 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polyline.js
|
93 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-polyline
|
94 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-polyline
|
95 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-vertex-context-menu.js
|
96 |
+
2018-05-30 14:17:20 :- Found wpgmza-google-vertex-context-menu
|
97 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza_api_call
|
98 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-circle.js
|
99 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-circle
|
100 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-circle
|
101 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-geocoder.js
|
102 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-geocoder
|
103 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-geocoder
|
104 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-info-window.js
|
105 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-info-window
|
106 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-info-window
|
107 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-map.js
|
108 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-map
|
109 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-map
|
110 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-marker.js
|
111 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-marker
|
112 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-marker
|
113 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator-circle.js
|
114 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-modern-store-locator-circle
|
115 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-modern-store-locator-circle
|
116 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator.js
|
117 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-modern-store-locator
|
118 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-modern-store-locator
|
119 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polygon.js
|
120 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-polygon
|
121 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-polygon
|
122 |
+
2018-05-30 14:17:20 :- Reading E:\Programming\Code Cabin\htdocs\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polyline.js
|
123 |
+
2018-05-30 14:17:20 :- Found wpgmza-ol-polyline
|
124 |
+
2018-05-30 14:17:20 :- Adding dependency wpgmza-polyline
|
includes/class.gdpr-compliance.php
CHANGED
@@ -12,6 +12,17 @@ class GDPRCompliance
|
|
12 |
add_filter('wpgmza_plugin_get_default_settings', array($this, 'onPluginGetDefaultSettings'));
|
13 |
|
14 |
add_action('wp_ajax_wpgmza_gdpr_privacy_policy_notice_dismissed', array($this, 'onPrivacyPolicyNoticeDismissed'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
16 |
|
17 |
public function onPluginGetDefaultSettings($settings)
|
12 |
add_filter('wpgmza_plugin_get_default_settings', array($this, 'onPluginGetDefaultSettings'));
|
13 |
|
14 |
add_action('wp_ajax_wpgmza_gdpr_privacy_policy_notice_dismissed', array($this, 'onPrivacyPolicyNoticeDismissed'));
|
15 |
+
|
16 |
+
$wpgmza_other_settings = get_option('WPGMZA_OTHER_SETTINGS');
|
17 |
+
|
18 |
+
if(!isset($wpgmza_other_settings['wpgmza_gdpr_notice']))
|
19 |
+
{
|
20 |
+
if(!is_array($wpgmza_other_settings))
|
21 |
+
$wpgmza_other_settings = array();
|
22 |
+
|
23 |
+
$wpgmza_other_settings = apply_filters('wpgmza_plugin_get_default_settings', $wpgmza_other_settings);
|
24 |
+
update_option('WPGMZA_OTHER_SETTINGS', $wpgmza_other_settings);
|
25 |
+
}
|
26 |
}
|
27 |
|
28 |
public function onPluginGetDefaultSettings($settings)
|
includes/class.google-maps-api-loader.php
CHANGED
@@ -201,7 +201,7 @@ class GoogleMapsAPILoader
|
|
201 |
return false;
|
202 |
}*/
|
203 |
|
204 |
-
if(empty($settings['wpgmza_maps_engine'])
|
205 |
{
|
206 |
$status->message = 'Engine is not google-maps';
|
207 |
$status->code = GoogleMapsAPILoader::ENGINE_NOT_GOOGLE_MAPS;
|
201 |
return false;
|
202 |
}*/
|
203 |
|
204 |
+
if(!empty($settings['wpgmza_maps_engine']) && $settings['wpgmza_maps_engine'] == 'open-layers')
|
205 |
{
|
206 |
$status->message = 'Engine is not google-maps';
|
207 |
$status->code = GoogleMapsAPILoader::ENGINE_NOT_GOOGLE_MAPS;
|
includes/class.plugin.php
CHANGED
@@ -34,15 +34,17 @@ class Plugin
|
|
34 |
// TODO: This should be in default settings, this code is duplicaetd
|
35 |
if(!empty($wpgmza_pro_version) && version_compare(trim($wpgmza_pro_version), '7.10.00', '<'))
|
36 |
{
|
|
|
|
|
37 |
$settings['wpgmza_maps_engine'] = $settings['engine'] = 'google-maps';
|
38 |
|
39 |
-
add_filter('wpgooglemaps_filter_map_div_output', function($output) {
|
40 |
|
41 |
$loader = new GoogleMapsAPILoader();
|
42 |
$loader->registerGoogleMaps();
|
43 |
$loader->enqueueGoogleMaps();
|
44 |
|
45 |
-
$
|
46 |
|
47 |
return $output;
|
48 |
|
@@ -50,6 +52,8 @@ class Plugin
|
|
50 |
}
|
51 |
|
52 |
$this->settings = (object)array_merge($this->legacySettings, $settings);
|
|
|
|
|
53 |
|
54 |
add_action('wp_enqueue_scripts', function() {
|
55 |
Plugin::$enqueueScriptsFired = true;
|
34 |
// TODO: This should be in default settings, this code is duplicaetd
|
35 |
if(!empty($wpgmza_pro_version) && version_compare(trim($wpgmza_pro_version), '7.10.00', '<'))
|
36 |
{
|
37 |
+
$self = $this;
|
38 |
+
|
39 |
$settings['wpgmza_maps_engine'] = $settings['engine'] = 'google-maps';
|
40 |
|
41 |
+
add_filter('wpgooglemaps_filter_map_div_output', function($output) use ($self) {
|
42 |
|
43 |
$loader = new GoogleMapsAPILoader();
|
44 |
$loader->registerGoogleMaps();
|
45 |
$loader->enqueueGoogleMaps();
|
46 |
|
47 |
+
$self->loadScripts();
|
48 |
|
49 |
return $output;
|
50 |
|
52 |
}
|
53 |
|
54 |
$this->settings = (object)array_merge($this->legacySettings, $settings);
|
55 |
+
if(!empty($this->settings->wpgmza_maps_engine))
|
56 |
+
$this->settings->engine = $this->settings->wpgmza_maps_engine;
|
57 |
|
58 |
add_action('wp_enqueue_scripts', function() {
|
59 |
Plugin::$enqueueScriptsFired = true;
|
readme.txt
CHANGED
@@ -215,6 +215,26 @@ Please upgrade your version of WP Google Maps to version 6.0.27 as it includes m
|
|
215 |
|
216 |
== Changelog ==
|
217 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
= 7.10.00 - 2018-05-25 =
|
219 |
* Added new Javascript modules
|
220 |
* Added new PHP modules
|
215 |
|
216 |
== Changelog ==
|
217 |
|
218 |
+
= 7.10.05 - 2018-05-30 :- Low Priority =
|
219 |
+
* Fixed Using $this when not in object context when using older PHP version
|
220 |
+
* Fixed google sometimes not defined when selected engine is OpenLayers
|
221 |
+
|
222 |
+
= 7.10.04 - 2018-05-30 :- Medium Priority =
|
223 |
+
* Fixed geocode response coordinates not interpreted properly
|
224 |
+
* Italian translation updated
|
225 |
+
|
226 |
+
= 7.10.03 - 2018-05-30 :- High Priority =
|
227 |
+
* Fixed InfoWindow not opening when max width set in
|
228 |
+
* Fixed $this not in context inside closure when using older PHP versions
|
229 |
+
* Fixed Gold add-on clustering settings blank
|
230 |
+
* Altered map engine selection dialog
|
231 |
+
|
232 |
+
= 7.10.02 - 2018-05-29 =
|
233 |
+
* Engine defaults to Google Maps
|
234 |
+
|
235 |
+
= 7.10.01 - 2018-05-29 =
|
236 |
+
* Fixed undefined index notice in GDPR module
|
237 |
+
|
238 |
= 7.10.00 - 2018-05-25 =
|
239 |
* Added new Javascript modules
|
240 |
* Added new PHP modules
|
wpGoogleMaps.php
CHANGED
@@ -3,19 +3,23 @@
|
|
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.
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
10 |
Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
-
/*
|
14 |
-
* 7.10.
|
|
|
|
|
|
|
|
|
15 |
* Fixed geocode response coordinates not interpreted properly
|
16 |
* Italian translation updated
|
17 |
*
|
18 |
-
* 7.10.03 - 2018-05-30
|
19 |
* Fixed InfoWindow not opening when max width set in
|
20 |
* Fixed $this not in context inside closure when using older PHP versions
|
21 |
* Fixed Gold add-on clustering settings blank
|
@@ -24,10 +28,10 @@ Domain Path: /languages
|
|
24 |
* 7.10.02 - 2018-05-29
|
25 |
* Engine defaults to Google Maps
|
26 |
*
|
27 |
-
* 7.10.01 - 2018-05-29
|
28 |
* Fixed undefined index notice in GDPR module
|
29 |
*
|
30 |
-
* 7.10.00 - 2018-05-29
|
31 |
* Added new Javascript modules
|
32 |
* Added new PHP modules
|
33 |
* Class AutoLoading implemented
|
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.05
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
10 |
Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
+
/*
|
14 |
+
* 7.10.05 - 2018-05-30 :- Low Priority
|
15 |
+
* Fixed Using $this when not in object context when using older PHP version
|
16 |
+
* Fixed google sometimes not defined when selected engine is OpenLayers
|
17 |
+
*
|
18 |
+
* 7.10.04 - 2018-05-30 :- Medium Priority
|
19 |
* Fixed geocode response coordinates not interpreted properly
|
20 |
* Italian translation updated
|
21 |
*
|
22 |
+
* 7.10.03 - 2018-05-30 :- High Priority
|
23 |
* Fixed InfoWindow not opening when max width set in
|
24 |
* Fixed $this not in context inside closure when using older PHP versions
|
25 |
* Fixed Gold add-on clustering settings blank
|
28 |
* 7.10.02 - 2018-05-29
|
29 |
* Engine defaults to Google Maps
|
30 |
*
|
31 |
+
* 7.10.01 - 2018-05-29 :- Medium Prority
|
32 |
* Fixed undefined index notice in GDPR module
|
33 |
*
|
34 |
+
* 7.10.00 - 2018-05-29 :- Medium Priority
|
35 |
* Added new Javascript modules
|
36 |
* Added new PHP modules
|
37 |
* Class AutoLoading implemented
|