[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 06:03:57 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 nacin):

 Technically, null is nothing. :) Using null as a default is much cleaner
 than passing -1. PHP is loosely typed and using a default value like this
 is very common in WordPress.

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


More information about the wp-trac mailing list