| @@ -69,8 +69,9 @@ | ||
| 69 | 69 | |
| 70 | 70 | // Add 'class' attribute to element root tag |
| 71 | 71 | $this->set_attribute( '_root', 'class', $root_classes ); |
| 72 | 72 | |
| 73 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks serializes registered attributes through its documented render_attributes() API. | |
| 73 | 74 | echo "<div {$this->render_attributes( '_root' )}>"; |
| 74 | 75 | |
| 75 | 76 | if ( isset($this->settings['hide_thumbnails']) && 'yes' === $this->settings['hide_thumbnails'] ) |
| 76 | 77 | { |
| @@ -80,5 +81,5 @@ | ||
| 80 | 81 | propertyhive_show_property_images(); |
| 81 | 82 | |
| 82 | 83 | echo '</div>'; |
| 83 | 84 | } |
| 84 | -} | |
| 85 | +} | |