[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:16:42 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):

 that change was to allow the HTTP API to be included, which by default,
 calls get_bloginfo() for the default user agent.

 The result of this is that the API request has always set it's user agent
 to http://host/ instead of http://host/some/directory/. For all intents
 this hasn't caused an issue as the API doesn't require the URL for the
 salt generation.

 > For what does that /**#@+  stand for?

 It's a special PHPDoc syntax which basically means, Ignore the following
 functions in the PHPDoc / XRef

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


More information about the wp-trac mailing list