WordPress.org

Make WordPress Core

Opened 6 years ago

Last modified 17 months ago

#6820 new enhancement

Post image / attachment reparenting

Reported by: matt Owned by: matt
Milestone: Future Release Priority: low
Severity: minor Version:
Component: Gallery Keywords: has-patch needs-testing
Focuses: Cc:

Description

You should be able to change the parent of an attachment to attach it to a different post.

Attachments (2)

detach_media.diff (5.8 KB) - added by dphiffer 3 years ago.
AJAX-style media detaching with bulk option
detach_media2.diff (6.6 KB) - added by dphiffer 3 years ago.
Updated after getting some feedback from nacin

Download all attachments as: .zip

Change History (21)

comment:1 DD325 years ago

  • Component changed from Administration to Gallery
  • Keywords needs-patch added

comment:2 Denis-de-Bernardy5 years ago

  • Keywords 2nd-opinion added
  • Priority changed from normal to low
  • Severity changed from normal to minor

Isn't this done automatically when an attachment has no parent?

Also, wouldn't it be more reliable to duplicate the attachment, with a new parent, when it gets inserted in a separate post?

comment:5 Denis-de-Bernardy5 years ago

  • Keywords blessed 2nd-opinion removed

comment:6 ryan4 years ago

  • Milestone changed from 2.9 to Future Release

comment:7 dphiffer3 years ago

  • Keywords has-patch needs-testing added; needs-patch removed

comment:8 dphiffer3 years ago

  • Cc dan@… added

dphiffer3 years ago

AJAX-style media detaching with bulk option

comment:9 scribu3 years ago

  • Cc scribu added

dphiffer3 years ago

Updated after getting some feedback from nacin

comment:10 WraithKenny3 years ago

  • Cc Ken@… added

comment:11 TomAuger3 years ago

  • Cc TomAuger added

comment:12 lkraav2 years ago

  • Cc lkraav added

comment:13 sabreuse2 years ago

  • Cc sabreuse@… added

comment:14 aaroncampbell2 years ago

  • Cc aaroncampbell added

comment:15 SergeyBiryukov2 years ago

Closed #14042 and #15557 as duplicates.

Last edited 2 years ago by SergeyBiryukov (previous) (diff)

comment:16 Mamaduka2 years ago

  • Cc georgemamadashvili@… added

comment:17 ruud@…20 months ago

  • Cc ruud@… added

comment:18 knutsp20 months ago

  • Cc knut@… added

comment:19 SergeyBiryukov17 months ago

#22675 was marked as a duplicate.

Note: See TracTickets for help on using tickets.