← All changes
|
includes/bricks-builder-widgets/property-map-link.php
+2
-1
2.2.5
→
2.3.1
View file →
| @@ -70,8 +70,9 @@ | ||
| 70 | 70 | |
| 71 | 71 | // Add 'class' attribute to element root tag |
| 72 | 72 | $this->set_attribute( '_root', 'class', $root_classes ); |
| 73 | 73 | |
| 74 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks serializes registered attributes through its documented render_attributes() API. | |
| 74 | 75 | echo "<div {$this->render_attributes( '_root' )}>"; |
| 75 | 76 | |
| 76 | 77 | $link_type = ( isset($this->settings['map_link_type']) && !empty($this->settings['map_link_type']) ) ? $this->settings['map_link_type'] : '_blank'; |
| 77 | 78 | |
| @@ -104,5 +105,5 @@ | ||
| 104 | 105 | } |
| 105 | 106 | |
| 106 | 107 | echo '</div>'; |
| 107 | 108 | } |
| 108 | -} | |
| 109 | +} | |