[wp-trac] Re: [WordPress Trac] #5212: Unused var/global on xmlrpc

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 16 19:34:06 GMT 2007


#5212: Unused var/global on xmlrpc
-----------------------------------+----------------------------------------
 Reporter:  g30rg3x                |        Owner:  westi   
     Type:  defect                 |       Status:  assigned
 Priority:  low                    |    Milestone:  2.4     
Component:  Optimization           |      Version:  2.3     
 Severity:  trivial                |   Resolution:          
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Comment (by g30rg3x):

 Replying to [comment:3 santosj]:
 Yes, i know that the $wp_version exists on a top level (created by the
 inclusion of the file version.php inside wp-settings.php) but my guesses
 is (as you say) it was intended to be used for a porpoise.

 Yes indeed one of my theory's is that it was added because they want to
 used inside a User-Agent string (like other functions do) when the XMLRPC
 response either a success or a failure Pingback, but eventually it was
 forgotten and left behind.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5212#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list