[wp-trac] [WordPress Trac] #30566: Fix "Trying to get property of non-object" notice when calling get_blogaddress_by_id() with an invalid id.

WordPress Trac noreply at wordpress.org
Wed Jan 14 13:02:13 UTC 2015


#30566: Fix "Trying to get property of non-object" notice when calling
get_blogaddress_by_id() with an invalid id.
--------------------------------+-------------------------
 Reporter:  nerrad              |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.2
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:  worksforme
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by nerrad):

 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 oh wait nevermind its still returning an empty string. doh.

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


More information about the wp-trac mailing list