WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#5588 closed defect (bug) (invalid)

Attachment no longer attached

Reported by: Curioso Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3.2
Component: Administration Keywords:
Focuses: Cc:

Description

Tested on WP 2.3.2 without any plugins activated.

  1. Start write new post "Post 1"
  1. Upload picture in Upload tab

(picture appears in write tab)

  1. Insert picture in post (not really necessary)
  1. Publish
  1. Start write new post "Post 2"
  1. Goto Browse all tab
  1. Change e.g. decription of picture uploaded in step 2
  1. Goto mamage posts and edit Post 1
  1. Picture no longer appears in Browse tab, only in Browse All tab

The reason is the way post_parent is updated when updating attachments.
In the Browse All tab you have attachments from different post_parents.
If you update such an attachment its post_parent is set to the current post, which is a large negative number (temp_ID) when you are in the write new post screen.

Change History (2)

comment:2 DD325 years ago

  • Milestone 2.9 deleted
  • Resolution set to invalid
  • Status changed from new to closed

I dont believe this would be a problem under the current version of WordPress, There is possibly another ticket elsewhere which describes a similar issue with the new interface.

Closiong as invalid due to age.

Note: See TracTickets for help on using tickets.