Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40672, comment 24


Ignore:
Timestamp:
10/31/2017 12:21:05 AM (6 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40672, comment 24

    initial v1  
    1 In [attachment:40672.3.diff]
     1In [attachment:40672.4.diff]
    22* Revert to using a hard coded list of object types that support trash (other types require `?force=true` to delete)
     3* Test verifying correct object types all pass
    34
    45Until we have a reliable way to determine if an object type supports the trash, enumerate the types them so we know when to use force=true when deleting.