PluginProbe
Elementor Website Builder – more than just a page builder / 3.3.0
Elementor Website Builder – more than just a page builder v3.3.0
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/font.php +4 -3 4.2.03.3.0 View file →
@@ -57,14 +57,15 @@
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 63 <div class="elementor-control-field">
63 - <label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label>
64 + <label for="<?php echo $control_uid; ?>" class="elementor-control-title">{{{ data.label }}}</label>
64 65 <div class="elementor-control-input-wrapper elementor-control-unit-5">
65 - <select id="<?php $this->print_control_uid(); ?>" class="elementor-control-font-family" data-setting="{{ data.name }}">
66 - <option value=""><?php echo esc_html__( 'Default', 'elementor' ); ?></option>
66 + <select id="<?php echo $control_uid; ?>" class="elementor-control-font-family" data-setting="{{ data.name }}">
67 + <option value=""><?php echo __( 'Default', 'elementor' ); ?></option>
67 68 <# _.each( data.groups, function( group_label, group_name ) {
68 69 var groupFonts = getFontsByGroups( group_name );
69 70 if ( ! _.isEmpty( groupFonts ) ) { #>
70 71 <optgroup label="{{ group_label }}">