[wp-trac] [WordPress Trac] #22439: Remove "Attached To" column from the attachments table

WordPress Trac noreply at wordpress.org
Wed Nov 14 12:36:36 UTC 2012


#22439: Remove "Attached To" column from the attachments table
-------------------------+--------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  Media        |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+--------------------

Comment (by mdgl):

 See also #22085.  It seems we need to think more carefully about what
 we're doing here.

 Changing the gallery shortcode to rely only on a list of IDs is fine for
 posts created in 3.5 or later, but for existing posts we still need to be
 able to find gallery images by searching for attachment children.  There
 is also the issue of pretty permalinks for these attached children, which
 appear as though they "belong" to the parent post.

 Attachments also don't need to be either images or in a gallery and many
 sites/themes may be relying on grouping such content together through the
 post_parent field and use of APIs such as `{wp_}get_attachment_link()`,
 `{next/previous/adjacent}_image_link` and so on.

 So if you are trying to preserve some kind of backwards compatibility in
 3.5 I suspect the post that an attachment is, erm, "attached" to is still
 of interest/concern to users.

 Finally, don't forget #21391 kinda promised some kind of support for
 reparenting attachments.

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


More information about the wp-trac mailing list