• Resolved amurciego

    (@amurciego)


    Hello! Last week I updated to version 1.5.15 and lost all the HTML code I had included in WooCommerce products.

    For example:

    <div class=”row”>

    Is now:
    <div class=\”row\”>

    Add \”causes the code not to be read and therefore the whole structure is lost.

    I think some kind of code filter has been introduced to not be able to include double or single quotes and that causes it to be modified.

    I have tried to change it via database but after making the change and accessing the product nothing is displayed …

    Have you added some kind of filter to escape the single and double quotes?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @amurciego,

    This is the third time this issue has come up since the release of WP4.8, WooCommerce 3.1.0, and Custom Product Tabs 1.5.15. I am not sure what has introduced this but in both of the other two instances there was a plugin conflict and disabling the other, conflicting plugin fixed the quotes issue. Do you have any other custom WooCommerce plugins that are acting upon the admin side of your edit product pages?

    Let me know,
    Kevin.

    Hello Kevin,

    Your plugin isn’t the only plugin that does this, there are others that even put 3 “/” before a ” symbol, if you use ″ the problem isn’t showing.

    If links are used like:

    <a href="https://mysite.com.mx/test">test</a>

    there is no problem.

    On the admin side it’s not showing the “/”, only on the shop page for the user.

    It must be a change woocommerce made in their last update. I’ve looked through Github and also tried to debug it but I’m not a programmer so I got lost when “json” and SQL were thrown at me.

    Great plugin by the way, keep up the good work!

    Thank you,

    -Ronald

    Alright,

    So, you might have an SSL certificate, having your site on HTTPS (so you think), but is your wordpress and site address set to HTTPS in your WP-CONGIG.PHP?

    Using for example:

    define('WP_HOME','https://openbuilds.com.mx');
    define('WP_SITEURL','https://openbuilds.com.mx');

    Mine were set at http, and are not set to https. This fixed the problem for me!

    -Ronald

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Ronald,

    Thanks for pointing me to that GitHub issue. I was away last week and hadn’t checked the latest WooCommerce activity. It appears that this issue has been fixed in master and a new version will be pushed today – https://github.com/woocommerce/woocommerce/issues/16007

    @amurciego – the above GitHub issue says that they’re planning to push a fix for this on Tuesday (today – 7/11). Hopefully this will fix it.

    Cheers,
    Kevin.

    Hello,

    I must say I’m sorry as the post I made about HTTPS and HTTP didn’t fix the problem.

    I’ve moved on to a paid plugin. I hope that todays push of WooCommerce fixes the problem for you.

    -Ronald

    Thread Starter amurciego

    (@amurciego)

    Hi, @yikesitskevin

    In effect, the problem has been corrected with version 3.1.1 of WooCommerce. Now the problem is that I have lost all HTML code. I will do some script that removes the escape strings in the database …

    Anyway thank you very much! ^^

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘HTML Problem’ is closed to new replies.