[wp-trac] [WordPress Trac] #22514: Add a way to filter attachments in the media modal
WordPress Trac
noreply at wordpress.org
Tue Nov 20 22:09:23 UTC 2012
#22514: Add a way to filter attachments in the media modal
-------------------------+--------------------------
Reporter: koopersmith | Owner: koopersmith
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------
Changes (by DrewAPicture):
* cc: xoodrew@… (added)
Comment:
Replying to [comment:2 pavelevap]:
> Great! But there are other problems:
>
> 1) String "Uploaded to this post" is not accurate - files can be
uploaded also to Pages or CPT.
Related: #19696. This may be a discussion for another day, but I wonder
about something like this?
{{{
'uploadedToThisPost' => sprintf( __( 'Uploaded to this %s' ), strtolower(
$post_type_object->labels->singular_name ) ),
}}}
A cursory check of posts vs pages vs a custom post type yielded good
results for me.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22514#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list