[buddypress-trac] [BuddyPress Trac] #7125: Apostrophe not handled correctly in activity filter array.

buddypress-trac noreply at wordpress.org
Tue Jun 21 18:12:29 UTC 2016


#7125: Apostrophe not handled correctly in activity filter array.
-------------------------------+------------------------------
 Reporter:  IdleWanderer       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Activity           |     Version:  2.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by r-a-y):

 * keywords:   => reporter-feedback
 * version:  2.5.0 => 2.2
 * component:  (not sure) => Activity


Comment:

 When you add an apostrophe in your activity content, we have to add a
 backslash when inserted into the database.

 So in your filter, try adding a backslash before the apostrophe.  eg.
 `keast\'s tube-nosed bat`

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7125#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list