Changeset 10328
- Timestamp:
- 11/10/2015 10:54:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php
r10254 r10328 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 * @type int $textarea_rows Number of rows to display in the editor. Defaults to 1 in the 100 * 'admin' context, and 10 in the 'edit' context. 99 101 * } 102 * @param string $context The display context. 'edit' when the markup is intended for the 103 * profile edit screen, 'admin' when intended for the Profile Fields 104 * Dashboard panel. 100 105 */ 101 106 $editor_args = apply_filters( 'bp_xprofile_field_type_textarea_editor_args', array( … … 103 108 'media_buttons' => false, 104 109 'quicktags' => true, 105 ) ); 110 'textarea_rows' => 10, 111 ), 'edit' ); 106 112 107 113 wp_editor( … … 142 148 'media_buttons' => false, 143 149 'quicktags' => true, 144 ) ); 150 'textarea_rows' => 1, 151 ), 'admin' ); 145 152 146 153 wp_editor(
Note: See TracChangeset
for help on using the changeset viewer.