• Resolved David

    (@loano1)


    Hi,

    After updating to the lastest WordPress/ YOAST SEO Version, I lost the ability to add YouTube Embeds to my category descriptions. If I save again, my existing embeds will also disappear.

    I’m not sure if in the past YOAST enabled oEmbed on the descriptons or if I had to add the embed code in text editor, both possibilities do not work anymore. If I now add the YouTube embed code (iframe) to to category description text editor, it will be removed instantly when switching between Visual/ Text editor or when updating the category.

    Example video:
    <iframe width="560" height="315" src="https://www.youtube.com/embed/XqZsoesa55w" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @loano1,

    Thanks for reaching out!

    We are unable to reproduce the issue with Yoast SEO 15.3 and WordPress 5.5.3. Or possibly, we missed what you were referring to.

    Using your embed code, we wrote some description and placed the code. See here
    Next, we clicked ‘Update’ to save changes. See here.

    The video shows up. Can you share what yours looks like if it is different from what we have replicated?

    Thread Starter David

    (@loano1)

    Hello @maybellyne ,

    Thank you for your imediately reply. My category description looks like yours, until I press the update button. Please have a look at my screencast: Link

    Did you finally press the update button?

    Thanks!

    Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    Thanks for the short video. It shows that the video disappears after you update. We weren’t able to replicate this as the video stays there even after clicking ‘Update’.

    We suspect that there may be some form of conflict. Just to be sure, we would like to rule out any plugin or theme conflicts that may occur. The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen

    Test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin allows you to run a conflict check without affecting normal visitors to your site.

    As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts.

    Thread Starter David

    (@loano1)

    Hello @maybellyne ,

    Thanks for your feedback. It is quite strange, this is already my test site with Twenty Nineteen and only Yoast SEO active. No error with wp_debug = true ore anything in chrome console. The site is running on nginx and php 7.4 but this shouldn’t be an issue I guess.

    When you try to reproduce the issue, are u using wp Version 5.5.3 and Yoast Free Version 15.3?

    Plugin Support Maybellyne

    (@maybellyne)

    Hello,

    Yes, the test was done in Yoast SEO 15.3 and WordPress 5.5.3 using the Twenty-Twenty theme.

    However, on re-watching the video, we noticed a difference in the steps to reproduce. Instead of putting the iframe code in the text editor, can you put it in the Visual editor? That was what we did and it was fine. But as with your video, putting it in the text editor makes it disappear after saving.

    Thread Starter David

    (@loano1)

    Hello @maybellyne ,

    Yes, that’ s it. I always work in the text editor and when I save it, it automatically jumps to the visual editor.
    The bug is that when I switch to the visual editor, the code is not applied but simply removed. This was not the case with older versions.

    Could you please create a ticket at your dev department for this?

    Thanks a lot for your help!

    Plugin Support Jerlyn

    (@jerparx)

    Hi @loano1 ,

    We’ve tried your workflow in our testing environment but could not replicate the issue. Please check the video here.

    If you noticed, we’ve inserted the code in the visual editor and after updating, it showed the video, and the code can be viewed when you check the text editor. This leads us to believe that this might be specific to your setup. Can you please confirm if you get the same behavior when you use a different browser or with browser extensions disabled (incognito)?

    We look forward to your response.

    Thread Starter David

    (@loano1)

    Hi @jerparx ,

    Thanks for your feedback. I have tested the issue in differnt browsers, it seams to be not browser related.

    While watching your video I noticed that you pasted the iframe code in “visual” editor and then saved. This way it works.

    Could you please try it again with pasting the iframe code in “text” editor? This way the code gets removed on my end.

    Thanks!

    Plugin Support Suwash

    (@suascat_wp)

    @loano1

    Thank you for bringing this issue to our attention. We apologize for the trouble you are experiencing with our plugin. We’ve confirmed the problem you reported and have created a bug report for our development team.

    What’s next?
    Our product team will assess the severity of this problem in relation to other open bug reports and new features. Based on their assessment, the bug report will be given a priority. Our developers work on the highest priority issues first. Unfortunately, this means we cannot give you an estimate when they’ll start working on your report.

    If you have any further information that may affect the prioritization or help our development team solve this bug, please feel invited to reply to this email. 

    As a workaround, please paste the iframe code on Visual editor mode of category description editor and save. This should work as discussed before.

    Plugin Support Suwash

    (@suascat_wp)

    @loano1

    In continuation to my earlier response, I got further clarification from our developer on this issue. In v15.3, we improved the security of the term descriptions. So while previously you were able to insert potentially dangerous data here, now you can not do this anymore. This includes iframe tags. For more detail please check the GH report: https://github.com/Yoast/wordpress-seo/issues/16438

    rsmith4321

    (@rsmith4321)

    I also had this question. Is there a function we could add that would bypass the sanitation of the category description? Due to amp I can’t just post this in the visual editor, I need to be able to add the <amp-iframe> code.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘iframes get stripped from category/ custom category descriptions’ is closed to new replies.