[wp-trac] [WordPress Trac] #21186: WP_Rewrite::mod_rewrite_rules() should use site_url()

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 8 04:30:47 UTC 2012


#21186: WP_Rewrite::mod_rewrite_rules() should use site_url()
---------------------------+------------------------------------
 Reporter:  JustinSainton  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Rewrite Rules  |    Version:  3.4.1
 Severity:  normal         |   Keywords:  has-patch dev-feedback
---------------------------+------------------------------------
 I could be off here, but I'm thinking site_url() should be used here in
 place of get_option( 'siteurl' ).  The potential issues are naturally
 inferred, and slightly further down in the function, home_url() is used.

 Let me know if I'm missing something here.

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


More information about the wp-trac mailing list