[wp-trac] [WordPress Trac] #27983: Attachment "Uploaded to" field doesn't change after removing it from post content

WordPress Trac noreply at wordpress.org
Sat May 31 05:32:58 UTC 2014


#27983: Attachment "Uploaded to" field doesn't change after removing it from post
content
-------------------------------------------------+-------------------------
 Reporter:  tedinoz                              |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Media                                |  Review
 Severity:  normal                               |     Version:  3.8.1
 Keywords:  reporter-feedback 2nd-opinion        |  Resolution:
  needs-patch                                    |     Focuses:
-------------------------------------------------+-------------------------
Changes (by tedinoz):

 * keywords:  reporter-feedback 2nd-opinion => reporter-feedback 2nd-opinion
     needs-patch


Comment:

 SergeyBiryukov, you ask "What's wrong with keeping an image attached to a
 post after it's been removed from content? You can still use it in other
 posts and galleries." With the greatest respect, you have both missed the
 point and trivialised the issue.

 We have an obligation is to ensure that the information managed and
 displayed by WordPress is accurate and reliable. The Media Library
 represents to disclose details of the post to which an image is "updated
 to" however, in the case of images removed from posts, this is information
 is not accurate. In short, that is "what's wrong" - the information
 displayed in the Media Library is inaccurate and unreliable.

 Moreover, you appear to suggest that a database entry linking an image to
 a post should not be modified to record that the image has been removed
 from the post. This would seem to suggest that you are in favour of
 retaining inaccurate information in the database.

 In the context of this Trac request, there are 3 scenarios that can lead
 to inaccurate information.
 1 = Image X has never been assigned to a post. A post is open for edit and
 Image X is added to the post but the post is NOT saved/updated; the Media
 Library shows that Image X is "Updated to" the post.

 2 = Image Y has never been assigned to a post. A post is open for edit and
 Image Y is added to the post, the post is saved/updated; the Media Library
 shows that Image Y is "Updated to" the post. At a later date the post is
 edited and Image Y is removed from the post; the Media Library shows that
 Image Y is (still) "Updated to" the post.

 3 = Image Y is subsequently attached to several posts yet the Media
 Library shows that Image Y is (still) "Updated to" the original post and
 makes no mention of other posts to which it is attached.

 I suggest that your 2nd opinion is wrong and should be removed. The need
 for a solution to the Trac request (whether it be a patch or not) should
 be confirmed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27983#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list