#24246 closed defect (bug) (fixed)
PHP notices when attempting to delete/trash/untrash a deleted post
| Reported by: | johnbillion | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | low | Milestone: | 3.6 |
| Component: | Warnings/Notices | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
If you attempt to delete, trash or untrash a post that has been deleted prior, WP will die with wp_die() but you'll get some notices too.
Attachments (2)
Change History (9)
#2
@
13 years ago
Example notice FYI:
Notice: Trying to get property of non-object in wp-admin\post.php on line 246
This refers to the $post_type_object variable which isn't an object when the post doesn't exist.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch.