Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#3146 closed defect (bug) (fixed)

XProfile Group Name / Description aren't stripslashed

Reported by: calvin_42's profile calvin_42 Owned by:
Milestone: 1.5 Priority: normal
Severity: Version: 1.5
Component: Extended Profile Keywords: has-patch
Cc:

Description

The xprofile group name / description aren't stripslashed. I have modified the templatetag and the class method populate() since the admin page doesn't use a templatetag.

The behavior adopted is the same as for the field name / description

Patch is enclosed.

Attachments (1)

patch.diff (2.2 KB) - added by calvin_42 14 years ago.
Patch

Download all attachments as: .zip

Change History (5)

@calvin_42
14 years ago

Patch

#1 @DJPaul
14 years ago

Which version of BuddyPress did you find this on, and on what screen(s) was the error?

#2 @calvin_42
14 years ago

I am using BuddyPress 1.2.8.

You can see an \' instead of a single ' displayed on these pages :

  • /wp-admin/admin.php?page=bp-profile-setup
  • /members/{$user}/profile/edit/group/1
  • /members/{$user}/profile/public/

#3 @DJPaul
14 years ago

  • Milestone changed from Awaiting Review to 1.3

#4 @djpaul
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4434]) Remove slashes from xprofile group name and descriptions. Fixes #3146, props calvin_42

Note: See TracTickets for help on using tickets.