[wp-trac] [WordPress Trac] #20602: Replace media

WordPress Trac wp-trac at lists.automattic.com
Wed May 2 16:28:11 UTC 2012


#20602: Replace media
--------------------------+------------------------------
 Reporter:  PorridgeBear  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.3.1
 Severity:  major         |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+------------------------------

Comment (by azaozz):

 This sounds like plugin material. Generally the attachment post is a part
 of the uploaded image. It's used to display the image on the front-end, to
 store additional information about it, EXIF, caption, description, sizes,
 etc. So the content here is not the attachment post, it's the image.

 Uploading another image and reusing the same attachment just to keep the
 post_ID doesn't seem right. You will also have to replace all the
 information about that image.

 For the particular user case it seems better to let the user specify which
 image (and attachment post) to use instead of hard-coding it in the theme.

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


More information about the wp-trac mailing list