PluginProbe
Elementor Website Builder – more than just a page builder / 3.2.1
Elementor Website Builder – more than just a page builder v3.2.1
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/controls/select.php +5 -5 4.1.23.2.1 View file →
@@ -57,20 +57,20 @@
57 57 * @since 1.0.0
58 58 * @access public
59 59 */
60 60 public function content_template() {
61 + $control_uid = $this->get_control_uid();
61 62 ?>
62 - <div class="elementor-control-field {{ data.content_classes }}">
63 + <div class="elementor-control-field">
63 64 <# if ( data.label ) {#>
64 - <label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label>
65 + <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label>
65 66 <# } #>
66 67 <div class="elementor-control-input-wrapper elementor-control-unit-5">
67 - <select id="<?php $this->print_control_uid(); ?>" data-setting="{{ data.name }}">
68 + <select id="<?php echo $control_uid; ?>" data-setting="{{ data.name }}">
68 69 <#
69 70 var printOptions = function( options ) {
70 71 _.each( options, function( option_title, option_value ) { #>
71 - <?php // If the option title is array of title & icon. ?>
72 - <option value="{{ option_value }}">{{{ option_title?.title || option_title }}}</option>
72 + <option value="{{ option_value }}">{{{ option_title }}}</option>
73 73 <# } );
74 74 };
75 75
76 76 if ( data.groups ) {