Opened 13 years ago
Closed 13 years ago
#25173 closed defect (bug) (duplicate)
Notices for orphaned comments in edit-comments.php page
| Reported by: | alexvorn2 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
I get these notices in the comments page:
wp-admin/edit-comments.php
Notice: Trying to get property of non-object in D:\Dropbox\htdocs\wordpresslastmu\wp-includes\capabilities.php on line 1078 Notice: Trying to get property of non-object in D:\Dropbox\htdocs\wordpresslastmu\wp-includes\capabilities.php on line 1079 Notice: Trying to get property of non-object in D:\Dropbox\htdocs\wordpresslastmu\wp-includes\capabilities.php on line 1079 Notice: Trying to get property of non-object in D:\Dropbox\htdocs\wordpresslastmu\wp-includes\capabilities.php on line 1082 Notice: Trying to get property of non-object in D:\Dropbox\htdocs\wordpresslastmu\wp-includes\capabilities.php on line 1082
The problem is that the comment is from a post of a custom Post Type - and after the comment was published - the post type was removed, so the comment is like orphaned.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
more notices: