[buddypress-trac] [BuddyPress Trac] #6157: Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead.

buddypress-trac noreply at wordpress.org
Thu Jan 22 16:27:16 UTC 2015


#6157: Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare()
or esc_sql() instead.
--------------------------+-----------------------------
 Reporter:  spenser4551   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Forums        |    Version:  2.0.3
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 File: wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php

 {{{
                  /**
                  * Stub for escape_deep() compatibility.
                  *
                  * @see WPDB::escape_deep() for description of parameters
 and
                  *      return values.
                  *
                  * @param mixed $data See {@link WPDB::escape_deep()}.
                  * @return mixed $data See {@link WPDB::escape_deep()}.
                  */
                 function escape_deep( $data ) {
                         return $this->escape( $data );
                 }
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6157>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list