[wp-trac] Re: [WordPress Trac] #7764: Making the attachments independent of the posts they belong too

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 20 18:05:36 GMT 2008


#7764: Making the attachments independent of the posts they belong too
-------------------------+--------------------------------------------------
 Reporter:  ShaneF       |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.9      
Component:  General      |      Version:  2.7      
 Severity:  normal       |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Comment (by Otto42):

 Replying to [comment:7 ShaneF]:
 > My revised idea of ticket #7607 using part of this idea, postmeta would
 hold attachment index "_wp_attachments" with the post_id linking to the
 page/post would keep video.php, audio.php, and image.php working correctly
 and able to create and index of "galleries" for easy inserting on any page
 (maybe add a "type" tag to the [gallery] shortcode btw..)

 If that is the case, then -1000 to this idea. I don't want some kind of
 weird code for creating "pretend" posts out of my attachments. Attachments
 __are__ posts. They're not just "stuck" into that table... they are actual
 posts, with descriptions and titles and everything else.

 Going to all the trouble to make them not posts any more and then some
 other code to make them look like posts later is somewhat of a strange
 thing to do, IMO.

 > With attachments not attached directly to posts, attachments in their
 singular mode could be still searched with tags, up-load date, filename,
 etc. I still think this can be pulled off for 2.7 since the changes would
 just be table changes and upgrade script.

 Attachments can already be searched for like that. You don't need to do
 all this to do what you're talking about. Where is the actual benefit from
 what you're proposing here? What can you do with your idea that you cannot
 do right now?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7764#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list