PluginProbe
Property Hive / 2.3.1
Property Hive v2.3.1
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
← All changes | includes/bricks-builder-widgets/property-map.php +3 -2 2.2.22.3.1 View file →
@@ -38,9 +38,9 @@
38 38 }
39 39 else
40 40 {
41 41 $api_key = get_option('propertyhive_google_maps_api_key');
42 - wp_register_script('googlemaps', '//maps.googleapis.com/maps/api/js?' . ( ( $api_key != '' && $api_key !== FALSE ) ? 'key=' . $api_key : '' ), false, '3');
42 + wp_register_script('googlemaps', '//maps.googleapis.com/maps/api/js?' . ( ( $api_key != '' && $api_key !== FALSE ) ? 'key=' . $api_key : '' ), false, '3', true );
43 43 wp_enqueue_script('googlemaps');
44 44 }
45 45 }
46 46
@@ -103,8 +103,9 @@
103 103
104 104 // Add 'class' attribute to element root tag
105 105 $this->set_attribute( '_root', 'class', $root_classes );
106 106
107 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks serializes registered attributes through its documented render_attributes() API.
107 108 echo "<div {$this->render_attributes( '_root' )}>";
108 109
109 110 $attributes = array();
110 111 if ( isset($this->settings['height']) && $this->settings['height'] != '' )
@@ -123,5 +124,5 @@
123 124 get_property_map($attributes);
124 125
125 126 echo '</div>';
126 127 }
127 -}
128 +}