[buddypress-trac] [BuddyPress] #2696: Make profile links nofollow
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Dec 22 13:51:23 UTC 2010
#2696: Make profile links nofollow
---------------------------+--------------------------
Reporter: boonebgorges | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 1.3
Component: XProfile | Version:
Resolution: fixed | Keywords: dev-feedback
---------------------------+--------------------------
Comment (by boonebgorges):
Because some profile data ends up being an array, a simple filter wouldn't
work. I had to add the wp_rel_nofollow() calls inside of
xprofile_sanitize_data_value_before_save(), which detects for arrays. In
order to prevent kses from stripping the rel attributes on the way out, I
also had to add a xprofile_filter_kses() wrapper for wp_kses().
--
Ticket URL: <http://trac.buddypress.org/ticket/2696#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list