← All changes
|
includes/bricks-builder-widgets/property-brochures-link.php
+2
-1
2.2.6
→
2.4.0
View file →
| @@ -51,8 +51,9 @@ | ||
| 51 | 51 | |
| 52 | 52 | // Add 'class' attribute to element root tag |
| 53 | 53 | $this->set_attribute( '_root', 'class', $root_classes ); |
| 54 | 54 | |
| 55 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks serializes registered attributes through its documented render_attributes() API. | |
| 55 | 56 | echo "<div {$this->render_attributes( '_root' )}>"; |
| 56 | 57 | |
| 57 | 58 | $label = isset($this->settings['label']) && !empty($this->settings['label']) ? $this->settings['label'] : __( 'Brochure', 'propertyhive' ); |
| 58 | 59 | |
| @@ -83,5 +84,5 @@ | ||
| 83 | 84 | } |
| 84 | 85 | |
| 85 | 86 | echo '</div>'; |
| 86 | 87 | } |
| 87 | -} | |
| 88 | +} | |