Forums

CDATA close tag being replaced (4 posts)

  1. martinv5
    Member
    Posted 1 month ago #

    Hello,

    why is Wordpress replacing the CDATA closing tag?

    It's inside wp-includes\post-template.php:167:
    $content = str_replace(']]>', ']]>', $content);

    http://adambrown.info/p/wp_hooks/hook/the_content?version=2.8&file=wp-includes/post-template.php

    What's the reason for it? Please answer. I see a lot of people asking about it here: http://wordpress.org/tags/cdata

    Thanks,
    M.

  2. samboll
    moderator
    Posted 1 month ago #

  3. martinv5
    Member
    Posted 1 month ago #

    Thank you, but this one is more like it:

    https://core.trac.wordpress.org/ticket/3670

    Seems like it's going to be fixed.

  4. samboll
    moderator
    Posted 1 month ago #

    oops - you're right

Reply

You must log in to post.

About this Topic

Tags