[wp-trac] [WordPress Trac] #34698: HTML-Embed code JavaScript error.

WordPress Trac noreply at wordpress.org
Thu Nov 19 23:31:03 UTC 2015


#34698: HTML-Embed code JavaScript error.
-------------------------------------------------+-------------------------
 Reporter:  nendeb55                             |       Owner:  swissspidy
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.4
Component:  Embeds                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback needs-unit-   |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35709"]:
 {{{
 #!CommitTicketReference repository="" revision="35709"
 Texturize: Only convert `&` to `&` within text nodes.

 Previously, `&` would be converted everywhere, which caused problems when
 it was converted within a `<script>`, for example.

 `convert_chars()` is now removed from the `the_content` filter, as it was
 doing the same job as `wptexturize()`.

 KSES correctly handles converting `&` within HTML attributes, so there's
 no need for `wptexturize()` and `convert_chars()` to do the same job.

 Fixes #34698.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34698#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list