WordPress.org

Make WordPress Core

Opened 7 years ago

Last modified 6 days ago

#6820 new enhancement

Make it possible to manually detach/attach post images

Reported by: matt Owned by: matt
Milestone: 4.2 Priority: low
Severity: minor Version:
Component: Media Keywords: has-patch needs-refresh
Focuses: ui Cc:

Description

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

Attachments (4)

detach_media.diff (5.8 KB) - added by dphiffer 4 years ago.
AJAX-style media detaching with bulk option
detach_media2.diff (6.6 KB) - added by dphiffer 4 years ago.
Updated after getting some feedback from nacin
6820.diff (6.3 KB) - added by wonderboymusic 8 weeks ago.
6820.2.diff (5.1 KB) - added by wonderboymusic 8 weeks ago.

Download all attachments as: .zip

Change History (28)

comment:1 @DD326 years ago

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

comment:2 @Denis-de-Bernardy6 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-Bernardy6 years ago

  • Keywords blessed 2nd-opinion removed

comment:6 @ryan5 years ago

  • Milestone changed from 2.9 to Future Release

comment:7 @dphiffer4 years ago

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

comment:8 @dphiffer4 years ago

  • Cc dan@… added

@dphiffer4 years ago

AJAX-style media detaching with bulk option

comment:9 @scribu4 years ago

  • Cc scribu added

@dphiffer4 years ago

Updated after getting some feedback from nacin

comment:10 @WraithKenny4 years ago

  • Cc Ken@… added

comment:11 @TomAuger4 years ago

  • Cc TomAuger added

comment:12 @lkraav3 years ago

  • Cc lkraav added

comment:13 @sabreuse3 years ago

  • Cc sabreuse@… added

comment:14 @aaroncampbell3 years ago

  • Cc aaroncampbell added

comment:15 @SergeyBiryukov3 years ago

Closed #14042 and #15557 as duplicates.

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

comment:16 @Mamaduka3 years ago

  • Cc georgemamadashvili@… added

comment:17 @ruud@…3 years ago

  • Cc ruud@… added

comment:18 @knutsp3 years ago

  • Cc knut@… added

comment:19 @SergeyBiryukov2 years ago

#22675 was marked as a duplicate.

comment:20 @DrewAPicture4 months ago

  • Summary changed from Post image / attachment reparenting to Make it possible to manually detach/attach post images

comment:21 @DrewAPicture4 months ago

  • Component changed from Gallery to Media
  • Focuses ui added

comment:22 @DrewAPicture4 months ago

#14042 was marked as a duplicate.

@wonderboymusic8 weeks ago

comment:23 @wonderboymusic8 weeks ago

  • Keywords needs-testing removed
  • Milestone changed from Future Release to 4.2

6820.diff Adds a Detach link for Media Grid attachment details modal and for list table rows. Haven't done bulk yet

@wonderboymusic8 weeks ago

comment:24 @DrewAPicture6 days ago

  • Keywords needs-refresh added

6820.2.diff needs a refresh, and it sounds like a treatment for bulk actions per comment:23. Screenshots would be nice too.

Note: See TracTickets for help on using tickets.