[wp-trac] [WordPress Trac] #10657: Allow many-to-many relationship between posts and attachments (was: Posts column "post_parent" should be an array when "post_type" is "attachment")
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 26 08:18:17 UTC 2009
#10657: Allow many-to-many relationship between posts and attachments
-----------------------------+----------------------------------------------
Reporter: morgansson | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 2.9
Component: Media | Version: 2.8.4
Severity: normal | Keywords: needs-patch
-----------------------------+----------------------------------------------
Changes (by scribu):
* keywords: post_parent, post_type, attachment, array => needs-patch
* version: => 2.8.4
* milestone: Unassigned => 2.9
Comment:
SQL doesn't have arrays. One column can contain a single value per row.
Of course, you can use serialized arrays (which are strings), but they
aren't good, because you can't query individual values from them.
There is a GSOC project called Photopress that will likely allow an image
to be attached to more than one post.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10657#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list