[wp-trac] [WordPress Trac] #15240: PHP Notice in edit.php
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 23 04:27:13 UTC 2010
#15240: PHP Notice in edit.php
------------------------------+---------------------------------------------
Reporter: sbressler | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Warnings/Notices | Version:
Severity: minor | Keywords:
------------------------------+---------------------------------------------
Changes (by designsimply):
* cc: sheri@… (added)
Comment:
Unable to reproduce this error from the edit.php page: "Notice: Illegal
member variable name in wp\wp-admin\includes\post.php on line 853"
I see different notices when trying to restore or permanently delete a
trashed post:
To reproduce: [[BR]]
1. Go to Posts and trash any post [[BR]]
2. Click on Trash [[BR]]
3. Click Restore or Delete Permanently [[BR]]
---> wp-admin/edit.php?post_status=trash&post_type=post&untrashed=1
(Restore)[[BR]]
---> wp-admin/edit.php?post_status=trash&post_type=post&deleted=1 (Delete
Permanently) [[BR]]
---> Results in these notices: "PHP Notice: Trying to get property of
non-object in wp-admin/includes/template.php on line 581
PHP Notice: Trying to get property of non-object in wp-
admin/includes/template.php on line 590"
Tested with Chrome 9-dev, PHP version 5.3.3 and WordPress r16544.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15240#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list