• Resolved Yousefzadeh

    (@cg-team)


    Hi,
    When i install and active yoast. In woocommerce category edit description section. I add some inline JavaScript and CSS with <script> and <style> but when i save this changes the <script> and <style> lost and code not work. When i disable yoast every things worked correctly with category-editor plugin by Kevin Heath.

    • This topic was modified 3 years, 9 months ago by Yousefzadeh.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    From Yoast SEO v15.3, we improved the security of the term descriptions. So while previously you were able to insert potentially dangerous data there, now you can not do this anymore. This includes <script/> and <styles/> tags.

    If you really wants to <script/> and <styles/> tags on there, the visual editor can be used (as this changes the way the data gets stored), or the necessary kses filters can be removed. The aforementioned link can be observed to see which filters were removed and introduced before 15.3.

    Thread Starter Yousefzadeh

    (@cg-team)

    Can you explain how do i remove kses filter from yoast?

    Thread Starter Yousefzadeh

    (@cg-team)

    I found it in calss-taxonomy.php file and remove it.

    Plugin Support devnihil

    (@devnihil)

    Thanks for confirming you were able to successfully remove it. We are going ahead and marking this issue as resolved but please let us know if you require any further assistance.

    Thread Starter Yousefzadeh

    (@cg-team)

    Thanks for your support. I’m persian language translator and i was translate it to Persian language. I’m proud of use this awesome SEO plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘style and script missing’ is closed to new replies.