[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 03:28:17 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 ShaneF):
Every time I dive into the posts table, and I see attachments in the
"posts" table it really confuses me. Same with "pages" and "revisions" but
that's another story. This "ticket" is not in protest of attachments
(images, video, audio) using postmeta table to hold data information.
Now certain columns can be brought over to a new "attachment" table, but
if people are worried about [gallery] being broken because it wouldn't
link to the post. 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..)
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.
This is my new dedicated code if given the go ahead.
--
Ticket URL: <http://trac.wordpress.org/ticket/7764#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list