diff --git src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php
index 041e2e7..fec1d6d 100644
|
|
|
class BP_XProfile_Field_Type_Textarea extends BP_XProfile_Field_Type { |
| 97 | 97 | * @type bool $media_buttons Whether to show media buttons. Default false. |
| 98 | 98 | * @type bool $quicktags Whether to show the quicktags buttons. Default true. |
| 99 | 99 | * } |
| | 100 | * @param string $value the context of display of the Textarea Editor ('edit' or 'admin') |
| 100 | 101 | */ |
| 101 | 102 | $editor_args = apply_filters( 'bp_xprofile_field_type_textarea_editor_args', array( |
| 102 | 103 | 'teeny' => true, |
| 103 | 104 | 'media_buttons' => false, |
| 104 | 105 | 'quicktags' => true, |
| 105 | | ) ); |
| | 106 | ), 'edit' ); |
| 106 | 107 | |
| 107 | 108 | wp_editor( |
| 108 | 109 | bp_get_the_profile_field_edit_value(), |
| … |
… |
class BP_XProfile_Field_Type_Textarea extends BP_XProfile_Field_Type { |
| 141 | 142 | 'teeny' => true, |
| 142 | 143 | 'media_buttons' => false, |
| 143 | 144 | 'quicktags' => true, |
| 144 | | ) ); |
| | 145 | 'textarea_rows' => 1, |
| | 146 | ), 'admin' ); |
| 145 | 147 | |
| 146 | 148 | wp_editor( |
| 147 | 149 | '', |