[wp-trac] [WordPress Trac] #13317: Code Improvement in get_userdata

WordPress Trac wp-trac at lists.automattic.com
Thu May 20 16:34:55 UTC 2010


#13317: Code Improvement in get_userdata
------------------------------------+---------------------------------------
 Reporter:  hakre                   |        Owner:        
     Type:  defect (bug)            |       Status:  closed
 Priority:  normal                  |    Milestone:  3.0   
Component:  General                 |      Version:        
 Severity:  normal                  |   Resolution:  fixed 
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------

Comment(by hakre):

 {{{is_numeric()}}} check should be replaced with {{{is_scalar()}}} instead
 to change to a var-type-check instead of parsing the string - while it's
 at it.

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


More information about the wp-trac mailing list