← All changes
|
modules/atomic-widgets/elements/base/has-template.php
+4
-1
4.2.0-dev2
→
4.3.0-beta3
View file →
| @@ -49,13 +49,16 @@ | ||
| 49 | 49 | |
| 50 | 50 | $renderer->register( $name, $path ); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + $settings = $this->get_atomic_settings(); | |
| 54 | + | |
| 53 | 55 | $context = [ |
| 54 | 56 | 'id' => $this->get_id(), |
| 55 | 57 | 'interaction_id' => $this->get_interaction_id(), |
| 56 | 58 | 'type' => $this->get_name(), |
| 57 | - 'settings' => $this->get_atomic_settings(), | |
| 59 | + 'settings' => $settings, | |
| 60 | + 'tag' => static::get_computed_html_tag( $settings ), | |
| 58 | 61 | 'base_styles' => $this->get_base_styles_dictionary(), |
| 59 | 62 | ]; |
| 60 | 63 | |
| 61 | 64 | // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |