PluginProbe
Elementor Website Builder – more than just a page builder / 3.19.2
Elementor Website Builder – more than just a page builder v3.19.2
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/url.php +6 -8 4.2.23.19.2 View file →
@@ -64,9 +64,9 @@
64 64 */
65 65 protected function get_default_settings() {
66 66 return [
67 67 'label_block' => true,
68 - 'placeholder' => esc_html__( 'Type or paste your URL', 'elementor' ),
68 + 'placeholder' => esc_html__( 'Paste URL or type', 'elementor' ),
69 69 'autocomplete' => true,
70 70 'options' => [ 'is_external', 'nofollow', 'custom_attributes' ],
71 71 'dynamic' => [
72 72 'categories' => [ TagsModule::URL_CATEGORY ],
@@ -71,13 +71,10 @@
71 71 'dynamic' => [
72 72 'categories' => [ TagsModule::URL_CATEGORY ],
73 73 'property' => 'url',
74 74 ],
75 - 'custom_attributes_description' => sprintf(
76 - '%1$s <a target="_blank" href="https://go.elementor.com/panel-link-custom-attributes/">%2$s</a>',
77 - esc_html__( 'Set custom attributes for the link element. Separate attribute keys from values using the | (pipe) character. Separate key-value pairs with a comma.', 'elementor' ),
78 - esc_html__( 'Learn more', 'elementor' )
79 - ),
75 + 'custom_attributes_description' => esc_html__( 'Set custom attributes for the link element. Separate attribute keys from values using the | (pipe) character. Separate key-value pairs with a comma.', 'elementor' )
76 + . ' <a href="https://go.elementor.com/panel-link-custom-attributes/" target="_blank">' . esc_html__( 'Learn More', 'elementor' ) . '</a>',
80 77 ];
81 78 }
82 79
83 80 /**
@@ -99,10 +96,11 @@
99 96 <input id="<?php $this->print_control_uid(); ?>" class="elementor-control-tag-area elementor-input" data-setting="url" placeholder="{{ view.getControlPlaceholder() }}" />
100 97 <?php // PHPCS - Nonces don't require escaping. ?>
101 98 <input id="_ajax_linking_nonce" type="hidden" value="<?php echo wp_create_nonce( 'internal-linking' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" />
102 99 <# if ( !! data.options ) { #>
103 - <button class="elementor-control-url-more tooltip-target elementor-control-unit-1" data-tooltip="<?php echo esc_attr__( 'Link Options', 'elementor' ); ?>" aria-label="<?php echo esc_attr__( 'Link Options', 'elementor' ); ?>">
100 + <button class="elementor-control-url-more tooltip-target elementor-control-unit-1" data-tooltip="<?php echo esc_attr__( 'Link Options', 'elementor' ); ?>">
104 101 <i class="eicon-cog" aria-hidden="true"></i>
102 + <span class="elementor-screen-only"><?php echo esc_html__( 'Link Options', 'elementor' ); ?></span>
105 103 </button>
106 104 <# } #>
107 105 </div>
108 106 <# if ( !! data.options ) { #>
@@ -114,9 +112,9 @@
114 112 <div class="elementor-control-url-option">
115 113 <input id="<?php $this->print_control_uid( 'nofollow' ); ?>" type="checkbox" class="elementor-control-url-option-input" data-setting="nofollow">
116 114 <label for="<?php $this->print_control_uid( 'nofollow' ); ?>"><?php echo esc_html__( 'Add nofollow', 'elementor' ); ?></label>
117 115 </div>
118 - <div class="elementor-control-url__custom-attributes elementor-control-direction-ltr">
116 + <div class="elementor-control-url__custom-attributes">
119 117 <label for="<?php $this->print_control_uid( 'custom_attributes' ); ?>" class="elementor-control-url__custom-attributes-label"><?php echo esc_html__( 'Custom Attributes', 'elementor' ); ?></label>
120 118 <input type="text" id="<?php $this->print_control_uid( 'custom_attributes' ); ?>" class="elementor-control-unit-5" placeholder="key|value" data-setting="custom_attributes">
121 119 </div>
122 120 <# if ( ( data.options && -1 !== data.options.indexOf( 'custom_attributes' ) ) && data.custom_attributes_description ) { #>