[buddypress-trac] [BuddyPress] #5100: $wpdb->escape() deprecated in WordPress 3.6.

buddypress-trac noreply at wordpress.org
Mon Jul 22 19:55:10 UTC 2013


#5100: $wpdb->escape() deprecated in WordPress 3.6.
-----------------------------+--------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  highest          |   Milestone:  1.8.1
Component:  Core             |     Version:  1.5
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+--------------------
Changes (by boonebgorges):

 * keywords:  needs-patch 2nd-opinion => has-patch


Comment:

 Actually, I've decided not to commit anything until WP 3.6 is officially
 out, so that they don't change stuff again at the last minute. Patch
 attached (5100.patch) which implements most of needle's patch. I've also
 eliminated a couple of pointless calls to `esc_sql()`, namely where we're
 already run `wp_parse_id_list()` and so already have a guaranteed list of
 ints. Also adds a testcase for a touched method.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5100#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list