PluginProbe
Property Hive / 2.4.0
Property Hive v2.4.0
2.4.0 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 All 262 releases
← All changes | includes/bricks-builder-widgets/property-street-view.php +3 -2 2.2.4 → 2.4.0 View file →
@@ -32,9 +32,9 @@
32 32 }
33 33 else
34 34 {
35 35 $api_key = get_option('propertyhive_google_maps_api_key');
36 - wp_register_script('googlemaps', '//maps.googleapis.com/maps/api/js?' . ( ( $api_key != '' && $api_key !== FALSE ) ? 'key=' . $api_key : '' ), false, '3');
36 + wp_register_script('googlemaps', '//maps.googleapis.com/maps/api/js?' . ( ( $api_key != '' && $api_key !== FALSE ) ? 'key=' . $api_key : '' ), false, '3', true );
37 37 wp_enqueue_script('googlemaps');
38 38 }
39 39 }
40 40
@@ -80,8 +80,9 @@
80 80
81 81 // Add 'class' attribute to element root tag
82 82 $this->set_attribute( '_root', 'class', $root_classes );
83 83
84 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks serializes registered attributes through its documented render_attributes() API.
84 85 echo "<div {$this->render_attributes( '_root' )}>";
85 86
86 87 $attributes = array();
87 88 if ( isset($this->settings['height']) && $this->settings['height'] != '' )
@@ -92,5 +93,5 @@
92 93 get_property_street_view($attributes);
93 94
94 95 echo '</div>';
95 96 }
96 -}
97 +}