[wp-trac] [WordPress Trac] #39955: Media details: HTML character shown as code
WordPress Trac
noreply at wordpress.org
Thu May 18 23:26:27 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):
Not sure if it makes a difference, but I noticed that there's a slightly
different behavior with attachments that have an author of ID `0` before
and after the patch.
Before, the author shows as "false" (due to `$author->display_name`
returning `false`).
After the patch is applied, the author shows as an empty string.
I noticed this due to test attachments being present on my install,
something which I'm guessing is not very common in practice, but figured
the behavior change was worth noting.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39955#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list