Update elementor pro
This commit is contained in:
@@ -260,16 +260,9 @@ class Share_Buttons extends Base_Widget {
|
||||
'icon' => 'eicon-text-align-justify',
|
||||
],
|
||||
],
|
||||
/* TODO: `prefix_class` is redundant since v3.1.0
|
||||
* It is only here for backwards compatibility reasons.
|
||||
* It should be removed in the future.
|
||||
*/
|
||||
'prefix_class' => 'elementor-share-buttons%s--align-',
|
||||
/*---------------------------------------------------*/
|
||||
'condition' => [
|
||||
'columns' => '0',
|
||||
],
|
||||
/* `selectors` was added on v3.1.0 as a superior alternative to the previous `prefix_class` solution */
|
||||
'selectors' => [
|
||||
'{{WRAPPER}}' => '--alignment: {{VALUE}}',
|
||||
],
|
||||
@@ -723,7 +716,7 @@ class Share_Buttons extends Base_Widget {
|
||||
$network_icon_data = self::get_network_icon_data( $network_name );
|
||||
|
||||
if ( Plugin::elementor()->experiments->is_feature_active( 'e_font_icon_svg' ) ) {
|
||||
$icon = Icons_Manager::render_font_icon( $network_icon_data );
|
||||
$icon = Icons_Manager::render_font_icon( $network_icon_data, [ 'aria-hidden' => 'true' ] );
|
||||
} else {
|
||||
$icon = sprintf( '<i class="%s" aria-hidden="true"></i>', esc_attr( $network_icon_data['value'] ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user