Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #14639, comment 11


Ignore:
Timestamp:
05/26/2014 07:55:22 PM (12 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14639, comment 11

    initial v1  
    22> Perhaps when moving a post to the trash all attachments have to be "unattached" from it. Doesn't make sense to "trash" the attachment pages when the attached files are still accessible.
    33
    4 It seems that an attachment's post status inherits from its post parent ([https://core.trac.wordpress.org/changeset/17999 r17999]). I think that's weird. An attachment should be private if its post parent is private? An attachment should be trashed if its post parent is trashed?
     4It seems that an attachment's post status inherits from its post parent ([17999]). I think that's weird. An attachment should be private if its post parent is private? An attachment should be trashed if its post parent is trashed?
    55
    66A conservative effort in attachment:14639.diff changes the post status for attachments to respect the post's pre-trash post status.