[wp-trac] [WordPress Trac] #15498: Notice: Trying to get property of non-object in wp-admin/edit-form-advanced.php on line 281
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 11 10:58:06 UTC 2012
#15498: Notice: Trying to get property of non-object in wp-admin/edit-form-
advanced.php on line 281
--------------------------+-----------------------------
Reporter: wpdavis | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Users | Version: 3.3.2
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by duck_):
* keywords: needs-patch => has-patch
* milestone: => Future Release
Comment:
Replying to [comment:3 Ludwig C.]:
> This error does still exist when deleting a user and reasigning the
posts to an other user. Not only the post_author in wp_posts should be
changed, please update wp_postmeta too.
Good point. Attached a patch to include the get_userdata() call in the
conditional.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15498#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list