WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#10003 closed enhancement (wontfix)

Better version of esc_sql()

Reported by: Denis-de-Bernardy Owned by: markjaquith
Milestone: Priority: high
Severity: minor Version:
Component: General Keywords: has-patch tested commit
Focuses: Cc:

Description

Attached patch makes it work with arrays of sql variables.

Attachments (1)

10003.diff (696 bytes) - added by Denis-de-Bernardy 6 years ago.

Download all attachments as: .zip

Change History (2)

@Denis-de-Bernardy6 years ago

comment:1 @Denis-de-Bernardy6 years ago

  • Milestone 2.8 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

nm, it's faster to array_map(array(&$wpdb, "escape"), $data) directly.

Note: See TracTickets for help on using tickets.