[wp-trac] [WordPress Trac] #12820: get_blog_prefix() does not return prefix for current blog when no blog ID is passed

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 7 00:43:35 UTC 2010


#12820: get_blog_prefix() does not return prefix for current blog when no blog ID
is passed
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Multisite     |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by wpmuguru):

 Replying to [comment:5 nacin]:
 > Cool, I haven't seen any problems anywhere yet. Using null would have
 made more sense than -1, though.

 That was changed from a '' to a 0 on the grounds of datatype consistency
 (way back when). So I used the -1 to maintain that. The null makes more
 sense to me as well but technically is not a number.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12820#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list