[wp-trac] [WordPress Trac] #16884: str_replace() in setup-config's get_bloginfo() is bogus

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 18 12:49:20 UTC 2011


#16884: str_replace() in setup-config's get_bloginfo() is bogus
------------------------------------+------------------------------
 Reporter:  hakre                   |       Owner:
     Type:  defect                  |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  3.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by dd32):

 The purpose of the str_replace() would've been to guess the real
 installation URL, and provide a consistent return value between the stub
 and the real function.

 While it makes no practical difference what the function returns, It might
 as well return the correct guessed url, therefor, 16884.2.patch is
 probably the correct option here.

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


More information about the wp-trac mailing list