[wp-trac] [WordPress Trac] #11087: wp_create_user doesn't need $wpdb anymore

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 5 19:59:28 UTC 2009


#11087: wp_create_user doesn't need $wpdb anymore
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |       Owner:           
     Type:  defect (bug)   |      Status:  new      
 Priority:  normal         |   Milestone:  2.9      
Component:  Users          |     Version:  2.9      
 Severity:  normal         |    Keywords:  has-patch
---------------------------+------------------------------------------------
 `wp_create_user` used to use $wpdb to escape username and email, but now
 that's done with `esc_sql` so the `global $wpdb; call is no longer needed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11087>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list