[wp-trac] [WordPress Trac] #37186: Media library shows post titles for posts the user can't read
WordPress Trac
noreply at wordpress.org
Sun Jun 26 14:31:31 UTC 2016
#37186: Media library shows post titles for posts the user can't read
--------------------------+-----------------------------
Reporter: helen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Comment (by helen):
[attachment:37186.diff] shows `(Private post)` in place of the post title,
to differentiate from `(Unattached)` and reduce confusion. Not sure if
this is truly ideal, but I found using something like an mdash was
confusing to me about why something was unattached or not. In the grid
view, since we don't show the unattached message, "uploaded to" is just
hidden entirely. The logic around `data.uploadedToTitle` remains in the
template, as someone could filter that in using
`wp_prepare_attachment_for_js``.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37186#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list