[wp-trac] [WordPress Trac] #23689: get_blogaddress_by_name() fails to return address for sites whose names begin with a number

WordPress Trac noreply at wordpress.org
Wed Mar 13 16:00:40 UTC 2013


#23689: get_blogaddress_by_name() fails to return address for sites whose names
begin with a number
--------------------------+---------------------
 Reporter:  dllh          |       Owner:  westi
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.6
Component:  Multisite     |     Version:  3.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by westi):

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


Comment:

 In [changeset:"23686"]:
 {{{
 #!CommitTicketReference repository="" revision="23686"
 Multisite: Ensure that get_blogaddress_by_name does not mangle blognames
 with leading digits.

 Correctly specify the backreference in the regular expression so that it
 can not become ambiguous when there is a leading digit on the blogname.

 Fixes #23689 props dllh.
 }}}

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


More information about the wp-trac mailing list