[wp-trac] [WordPress Trac] #20589: domain_exists should add trailing slash to path

WordPress Trac wp-trac at lists.automattic.com
Tue May 1 16:49:18 UTC 2012


#20589: domain_exists should add trailing slash to path
--------------------------+-----------------------------
 Reporter:  ejdanderson   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:  3.0
 Severity:  minor         |   Keywords:  has-patch
--------------------------+-----------------------------
 {{{insert_blog}}} runs {{{trailingslashit}}} on the path, however,
 {{{domain_exists}}} uses whatever is passed in. If WP is enforcing the
 trailing slash on blog insertion, it really should when checking
 existence. It should probably also cast the site_id as an int per
 {{{insert_blog}}}.

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


More information about the wp-trac mailing list