[wp-trac] [WordPress Trac] #39955: Media details: HTML character shown as code

WordPress Trac noreply at wordpress.org
Fri May 19 18:08:44 UTC 2017


#39955: Media details: HTML character shown as code
-------------------------------------------------+-------------------------
 Reporter:  Irian                                |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  4.8
Component:  Media                                |     Version:  4.0
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |     Focuses:  ui,
  unit-tests                                     |  administration
-------------------------------------------------+-------------------------
Changes (by joemcgill):

 * keywords:  good-first-bug has-patch needs-testing => good-first-bug has-
     patch needs-unit-tests


Comment:

 Tested [attachment:39955.3.diff] and this fixes the issue. I think the
 extra sanity check here makes sense and the string seems sensible. It
 would be nice to add a unit test here.

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


More information about the wp-trac mailing list