-
AuthorPosts
-
January 14, 2020 at 10:53 am #1173206
Hi there,
After updating to Enfold 4.7.1, I noticed that my YouTube social icon was missing.
I can see the issue in the code.
This is 4.5.6:
<a target="_blank" aria-label="Link to Youtube" href="X" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Youtube"><span class="avia_hidden_link_text">Youtube</span></a>
And this is 4.7.1:
<a target="_blank" aria-label="Link zu Youtube" href="X" aria-hidden="true" title="Youtube" rel="noopener noreferrer"><span class="avia_hidden_link_text">Youtube</span></a>
As you can see, the elements data-av_icon=”” data-av_iconfont=”entypo-fontello” are missing.
This does only affect the YouTube icon, as far as I can tell, since mail and Skype, for example, do work and have both elements in the code.
I’m not running WP 5.3.x yet, but it shouldn’t make a difference.
January 14, 2020 at 6:18 pm #1173533Hey mchbeck,
Can you give us a link to your site? so we can inspect it.
You can post the link in private content, if you want the link to be shown only to the moderators.Best regards,
NikkoJanuary 15, 2020 at 9:14 am #1173841Hi Nikko,
Thanks for your help. I’ve put both links in the private content.
I do have caching plugins, but I’ve reset the cache already and tried it without cache, the issue always remains. As mentioned earlier, you can see the problem in the source code.
January 15, 2020 at 6:37 pm #1174639Hi,
Could you provide wp login credentials to your backend testumgebung please in private content so we can check the settings.
At a first glance I thought it could be WPML but I’m unable to reproduce it in my dev surrounding.
Since 5.3.1 WP changed the way it splits the data attributes for target “_blank” links to add “noopener noreferrer” . “_” is not supported by WP (imo a bug) and WP removes these attributes (there is no filter to avoid this). So we had to add a workaround (function avia_targeted_link_rel). As the 2 other icons have no target=_blank they are displayed correctly.
Best regards,
GünterJanuary 16, 2020 at 9:39 am #1174792Hi Günter,
Thank you for the information.
Weeeell, this is a good news/bad news situation now, I’m afraid:
I upgraded to WP 5.3.2 in the meantime, which does fix the issue. That’s the good news. The bad news is, that you won’t be able to reproduce the issue now, I’m afraid, since WP has been upgraded.
January 17, 2020 at 9:35 pm #1175670Hi,
Well as it works for you, we are good for sure ;-)
Best regards,
Basilis -
AuthorPosts
- The topic ‘YouTube social icon missing with 4.7.1’ is closed to new replies.