[wp-meta] [Making WordPress.org] #512: htmlentities are processed in inline source code

Making WordPress.org noreply at wordpress.org
Thu Jun 12 09:12:44 UTC 2014


#512: htmlentities are processed in inline source code
------------------------+-------------------------------------
Reporter:  atimmer      |      Owner:
    Type:  defect       |     Status:  new
Priority:  normal       |  Component:  developer.wordpress.org
Keywords:  needs-patch  |
------------------------+-------------------------------------
 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.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/512>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list