[wp-trac] [WordPress Trac] #21092: Media uploader insert button doesn't respect the current post type

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 28 07:32:54 UTC 2012


#21092: Media uploader insert button doesn't respect the current post type
-------------------------+------------------------------
 Reporter:  evansolomon  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by evansolomon):

 Replying to [comment:2 johnbillion]:
 > We'll need to introduce a new post type label, probably called
 `insert_into_post`, and use that. See #19257 for an example of a patch
 which introduces a new post type label.

 This seems a little different because we never want to use a default
 string; the default should incorporate the post type name, or at least
 that's the point of the ticket.  One idea is to check for a specific label
 but never set a default, then fall back to "Insert into $post_type".  I
 realize that reintroduces the l10n problem, but I don't think there's any
 other way to improve the defaults.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21092#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list