#512 closed defect (bug) (fixed)
htmlentities are processed in inline source code
Reported by: | atimmer | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | needs-patch |
Cc: |
Description
You can see this bug in action at the following page: http://developer.wordpress.org/reference/functions/the_content/
The str_replace there is very weird, what is should say is the following:
$content = str_replace( ']]>', ']]>', $content
Somehow htmlentities are processed. Maybe the source code needs an esc_html() even though it is in a pre.
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 714: