Opened 15 years ago
Closed 15 years ago
#12708 closed defect (bug) (fixed)
get_delete_post_link() doesn't check EMPTY_TRASH_DAYS
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | General | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
get_delete_post_link() always generates a link for moving a post to the trash, even when trash is disabled.
Attachments (2)
Change History (7)
#2
@
15 years ago
- Keywords commit removed
Looks fine to me. Removing commit as I'm noticing that the manual $context/&/& juggling is unnecessary, as wp_nonce_url replaces & with & anyway.
So, unless I'm missing something, I think we can thus deprecate $context and further simplify this.
Note: See
TracTickets for help on using
tickets.
get_delete_post_link.diff: