[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:35:46 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 hakre):

 Replying to [comment:6 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.

 Thanks for the information. Then the replacement was not needed at all I
 assume.

 >
 > > For what does that /**#@+  stand for?
 >
 > It's a special PHPDoc syntax which basically means, Ignore the following
 functions in the PHPDoc / XRef

 I first thought it would be PHPDoc syntax but could not find any
 information about it.
 [http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.ignore.pkg.html
 @ignore is enough] for the next element (the function) IMHO.

 But I was not thinking about [http://phpxref.sourceforge.net/ PHPXRef] for
 which it then is needed only? Or is this really a PHPDoc feature?

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


More information about the wp-trac mailing list