[wp-trac] [WordPress Trac] #49448: Suggestion: Deleting media along with the post it is attached to (was: Suggesion! Deleting pictures along with the recording attached to it)

WordPress Trac noreply at wordpress.org
Sun Feb 16 17:37:19 UTC 2020


#49448: Suggestion: Deleting media along with the post it is attached to
-----------------------------+------------------------------
 Reporter:  shuriks          |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Media            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Changes (by knutsp):

 * version:  5.3.2 =>
 * type:  enhancement => feature request


Comment:

 This would be a nice and useful core feature, but to do it reliably it
 would require restructuring how media is linked to posts, from many-to-one
 to many-to-many, via a new database table. That's possible as a big
 project, but would probably be a backwards compatibility nightmare.

 Deleting content massively may be seen as bad practice, and we may not wan
 to encourage such.

 In the current situation, I see this as plugin territory.

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


More information about the wp-trac mailing list