Defect submitted here

This doesnt break anything, but if you’re using script blocks in your posts and commenting them using XHTML CDATA style comments the terminating comment gets mangled.

to patch – simply comment out the following line in wp-includes/template-functions-post.php

<php/>
  1. $content = str_replace(']]>', ']]&gt;', $content);

3

  1. war59312

    Hey,

    It worked! 100% valid now! :D

    Thanks a lot,

    Will

  2. Administrator

    Just installed an update (2.0.4) and it still suffers from this issue… so if you install the update, dont forget to re-apply this patch… the line in 2.0.4 is in the same place.

  3. Craig

    Also still an issue in 2.0.5…


Shout here

loginregister

September 2010
S M T W T F S
 1234
567891011
12131415161718
19202122232425
2627282930  
August 2010
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031  
July 2010
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
June 2010
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
27282930  
powered by
wordpress
theme and icons by
web-engineer

©2008 web-engineer™
all rights reserved