Make WordPress Core

Opened 9 years ago

Closed 9 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:


Attached patch makes it work with arrays of sql variables.

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

#1 @Denis-de-Bernardy
9 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.