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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 16 13:56:05 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 santosj):

 The global $wp_version exists, but it might not be used in that function.
 It was probably the intention to use it eventually, but was forgotten over
 time. So either the variable should be returned by the call or removed.

 Did you do any research as to whether it could be used inside the function
 or should have been?

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


More information about the wp-trac mailing list