[buddypress-trac] [BuddyPress] #4933: Members Directory Search doesn't find O'Connor

buddypress-trac noreply at wordpress.org
Sun Apr 28 12:47:45 UTC 2013


#4933: Members Directory Search doesn't find O'Connor
-------------------------------------+------------------------------
 Reporter:  dontdream                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Core                     |     Version:  1.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by dontdream):

 I realized that this issue has been addressed before, see #2776, and has
 to do with input strings not being "stripslashed" before being stored in
 the database.

 I agree that the issue should be addressed when data is put into the
 database, rather than on output. Anyway I found that bp-core-classes.php
 always uses like_escape() together with $wpdb->escape(), and extending
 this technique to our case solves this ticket. Please see the attached
 patch.

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


More information about the buddypress-trac mailing list