[buddypress-trac] [BuddyPress Trac] #6722: xProfile Admin: Rich textarea display

buddypress-trac noreply at wordpress.org
Tue Nov 10 17:08:46 UTC 2015


#6722: xProfile Admin: Rich textarea display
----------------------------------+------------------
 Reporter:  imath                 |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  2.4
Component:  Component - XProfile  |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  needs-patch           |
----------------------------------+------------------
Changes (by boonebgorges):

 * keywords:  has-patch => needs-patch


Comment:

 Thanks, imath.

 [attachment:6722.patch] will not work. We use the same
 `bp_xprofile_field_type_textarea_editor_args` filter to generate the
 `admin_field_html` as well as the `edit_field_html`. Either (a) we need to
 split up the filter, either with a new filter name or with a `$context`
 argument, or (b) we fix this using a filter callback that does an
 `is_admin()` check or something like that.

 A `$context` parameter seems the most flexible to me. It'll make it easier
 for plugins to modify these fields without having to hook in two separate
 places.

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


More information about the buddypress-trac mailing list