[wp-trac] [WordPress Trac] #16651: Warnings on dashboard: Notice: Trying to get property of non-object in wp-includes/capabilities.php
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 1 08:22:30 UTC 2012
#16651: Warnings on dashboard: Notice: Trying to get property of non-object in wp-
includes/capabilities.php
------------------------------+-----------------------
Reporter: grandslambert | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Warnings/Notices | Version: 3.0
Severity: normal | Resolution:
Keywords: |
------------------------------+-----------------------
Changes (by nacin):
* version: 3.4 => 3.0
Comment:
Okay, based on the description, this should be reproducible back to 3.0.
So the issue is two-fold:
1. What to do about comments on a post of a non-existent type? and
2. map_meta_cap() needs to be a bit more resilient here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16651#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list