WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11087 closed defect (bug) (fixed)

wp_create_user doesn't need $wpdb anymore

Reported by: aaroncampbell Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Users Keywords: has-patch
Focuses: Cc:

Description

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.

Attachments (1)

11087.001.diff (714 bytes) - added by aaroncampbell 5 years ago.

Download all attachments as: .zip

Change History (3)

aaroncampbell5 years ago

comment:1 ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Looks like this already slipped in. Marking as fixed.

comment:2 nacin5 years ago

Committed by westi in [12147].

Note: See TracTickets for help on using tickets.