Ticket #2881 (closed defect (bug): wontfix)
XHTML CDATA Buglet
| Reported by: | aernative cel<at>web-engineer.co.uk | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
wp-includes/template-functions-post.php file line 57 -
$content = str_replace(']]>', ']]>', $content);
This line causes problem if any filters applied to content inject XHTML comments into your pages (for example script blocks...).
Symanticly this feature should not exisit in this context as it is itself a kind of filter, If desired, it should be re-implimented as a filter so the user can choose to disable the feature.
Change History
Note: See
TracTickets for help on using
tickets.
