Opened 16 years ago
Closed 16 years ago
#12708 closed defect (bug) (fixed)
get_delete_post_link() doesn't check EMPTY_TRASH_DAYS
| Reported by: | scribu | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | General | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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
@
16 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
get_delete_post_link.diff: