[wp-trac] [WordPress Trac] #29583: The getter in WP_Error may cause an "Undefined property" notice

WordPress Trac noreply at wordpress.org
Fri Oct 3 00:01:52 UTC 2014


#29583: The getter in WP_Error may cause an "Undefined property" notice
---------------------------+-----------------------------
 Reporter:  bjornjohansen  |       Owner:  SergeyBiryukov
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  4.1
Component:  General        |     Version:  4.0
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29825"]:
 {{{
 #!CommitTicketReference repository="" revision="29825"
 Avoid a PHP notice in list_plugin_updates() if plugins_api() returned a
 WP_Error object.

 fixes #29583.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29583#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list