[wp-trac] [WordPress Trac] #18387: get_blog_id_from_url() has wrong return

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 12 13:49:33 UTC 2011


#18387: get_blog_id_from_url() has wrong return
--------------------------+-----------------------------
 Reporter:  lonnylot      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 If the blog does not exist we sometimes return 0 and sometimes return
 false. Per the comment we should always be returning an int.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18387>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list