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-image.php +2 -1 2.2.52.3.1 View file →
@@ -90,8 +90,9 @@
90 90
91 91 // Add 'class' attribute to element root tag
92 92 $this->set_attribute( '_root', 'class', $root_classes );
93 93
94 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks serializes registered attributes through its documented render_attributes() API.
94 95 echo "<div {$this->render_attributes( '_root' )}>";
95 96
96 97 $image_number = 1;
97 98 if ( isset($settings['image_number']) && $settings['image_number'] != '' && is_numeric($settings['image_number']) )
@@ -155,5 +156,5 @@
155 156 do_action( 'propertyhive_bricks_builder_widget_property_image_render_after', $settings, $property );
156 157
157 158 echo '</div>';
158 159 }
159 -}
160 +}