[buddypress-trac] [BuddyPress] #3213: Can't save a profile field with special characters

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri May 13 23:05:45 UTC 2011


#3213: Can't save a profile field with special characters
-----------------------+-------------------------
  Reporter:  javiervd  |      Owner:
      Type:  defect    |     Status:  new
  Priority:  minor     |  Milestone:  1.3
 Component:  XProfile  |    Version:  1.2.8
Resolution:            |   Keywords:  needs-patch
-----------------------+-------------------------
Changes (by DJPaul):

 * keywords:   => needs-patch
 * priority:  normal => minor


Comment:

 Values are stored correctly, but they aren't being read properly on
 display; bp_get_the_profile_field_options(), around line 487. The & is
 stored as "&" in the database and it's being compared against "&". The
 "checkbox" db entry appears as the HTML entity, but the "option" values
 are stored as "&". Best fix is probably to stop the checkbox name being
 encoded (and do it on output rather than input).

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3213#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list