• Resolved WebTechGlobal

    (@webtechglobal)


    Hey this is a strange one.

    I use the WYSIWYG editor in my CSV 2 POST Pro plugin just fine. I added it to eStore also in the same way but when I submit the form the content ends up just a link with the text being this…

    \”\”

    The url to that link is…

    https://localhost/testing/wordpress/wp-admin/%5C%22https://localhost/testing/wordpress/wp-content/uploads/2010/01/60-plasma1.jpg%5C%22

    So some sort of stripping is going on but I can’t see why. It doesnt make any sense. This is me dumping $_POST[‘content’] as the first thing that is being done when processing the subsmission.

    So what is happening on submission of the WYSIWYG editor that would mess up the content of my post variable?

    Also the HTML part of the editor has a box inside it which is strange. You think its something to do with that? Its like a box inside the text area that restricts some space.

    Thanks for any help everyone this has got me stuck for about 5 hours.

    Ryan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter WebTechGlobal

    (@webtechglobal)

    I should have said that the content includes an image but is being reduced to that above and the actual post created has no content at all, that shown above doesnt even end up in the content!

    Thread Starter WebTechGlobal

    (@webtechglobal)

    FIXED

    Realised I was missing this…

    $_POST = stripslashes_deep($_POST);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WYSIWYG Content Messed Up On Submission’ is closed to new replies.