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

WordPress Trac noreply at wordpress.org
Fri May 19 02:31:15 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,
  testing                                        |  administration
-------------------------------------------------+-------------------------

Comment (by mikeschroder):

 In [attachment:39955.3.diff] indicate if the author isn't found, rather
 than returning the converted string for the `false` bool.

 I used `(no author)` for display to match the `(no title)` used
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/media.php#L3117 when there isn't a title].

 I'm not sure if this is optimal, but either way would like to make sure
 we're specifying an output when there isn't an author found, rather than
 it happening incidentally.

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


More information about the wp-trac mailing list