| @@ -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 | +} | |