[buddypress-trac] [BuddyPress Trac] #5630: Enable BP_XProfile_Field_Type classes to register display filter

buddypress-trac noreply at wordpress.org
Wed Jul 16 22:52:04 UTC 2014


#5630: Enable BP_XProfile_Field_Type classes to register display filter
-----------------------------------+---------------------------
 Reporter:  boonebgorges           |       Owner:  boonebgorges
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  2.1
Component:  XProfile               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------------
Changes (by johnjamesjacoby):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Having this method run at priority 5 limits its effectiveness to not
 including any HTML formatting, as `esc_html` is ran at priority 8.

 I had originally thought/hoped `display_filter()` was intended to own the
 output experience, but now see it works alongside existing output
 sanitization filters. I'd like to see this method (or another one) be
 fully responsible for handling its output.

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


More information about the buddypress-trac mailing list