[wp-trac] [WordPress Trac] #33330: Undefined property: stdClass::$slug
WordPress Trac
noreply at wordpress.org
Tue Aug 11 20:16:24 UTC 2015
#33330: Undefined property: stdClass::$slug
--------------------------+------------------------------
Reporter: mattfiocca | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 4.2.4
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by mattfiocca):
Ah, when i do a `var_dump()` of `$plugin_info->no_update` of line 35, my
value is this:
{{{
["no_update"]=>string(30) "Already on the latest version."
}}}
The code assumes `no_update` property to be an array of objects though. In
my case, `no_update` renders as a string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33330#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list