[buddypress-trac] [BuddyPress Trac] #5742: Cannot modify $allowedtags per xProfile field type

buddypress-trac noreply at wordpress.org
Mon Jul 21 10:35:47 UTC 2014


#5742: Cannot modify $allowedtags per xProfile field type
--------------------------+------------------
 Reporter:  needle        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.1
Component:  XProfile      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by needle):

 * cc: needle@… (added)
 * keywords:  needs-patch => has-patch


Comment:

 Thanks for the feedback Boone. Sorry for the delay - was off work last
 week.

 I appreciate the need to keep filter signatures the same for existing
 plugins but I cannot seem to find a situation where `$this->id` actually
 has a value on save. I therefore suspect it would be safe to replace it
 with `$this->field_id` which ''is'' populated. Nevertheless, I've created
 a new patch to reflect your concerns - as you rightly say, passing `$this`
 is ultimately more flexible and your structure neatly sidesteps the issue.

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


More information about the buddypress-trac mailing list