[wp-trac] [WordPress Trac] #39472: Code tag still parses embeds

WordPress Trac noreply at wordpress.org
Wed Jan 4 20:55:46 UTC 2017


#39472: Code tag still parses embeds
--------------------------+-----------------------------
 Reporter:  rmens         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  4.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WordPress 4.7.

 The 'code' block in the WordPress editor behaves incorrectly.

 For example:

 {{{
 <code>Test Test
 Another
 www.google.com
 http://www.google.com
 https://www.youtube.com/watch?v=JHw6LTuMkNQ
 Foxtrot Uniform Charlie Kilo
 </code>
 }}}

 Displays as normal code in the wp-admin, but once published it creates an
 embed on the page. This should not happen and the contents of the code
 block should be displayed without embeds.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39472>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list