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

WordPress Trac wp-trac at lists.automattic.com
Mon May 10 11:25:13 UTC 2010


#13317: Code Impriovement in get_userdata
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  lowest        |   Milestone:  3.0      
Component:  General       |     Version:           
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 Replying to [comment:1 scribu]:
 > IMO, minor code improvements like this should be bundled with other
 patches.
 +1
 > The time wasted creating this ticket and committing the patch by a core
 dev outweighs it's usefulness.
 +10

 This is a really, really silly patch. Not only that, but a == check on 0
 should just be `!$user_id` instead.

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


More information about the wp-trac mailing list