Changeset 11041 for trunk/src/bp-xprofile/bp-xprofile-cssjs.php
- Timestamp:
- 08/30/2016 03:17:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-cssjs.php
r10613 r11041 52 52 // "please enter options for this field" section. 53 53 $strings = array( 54 ' supports_options_field_types' => array(),54 'do_settings_section_field_types' => array(), 55 55 'do_autolink' => '', 56 56 ); … … 58 58 foreach ( bp_xprofile_get_field_types() as $field_type => $field_type_class ) { 59 59 $field = new $field_type_class(); 60 if ( $field-> supports_options) {61 $strings[' supports_options_field_types'][] = $field_type;60 if ( $field->do_settings_section() ) { 61 $strings['do_settings_section_field_types'][] = $field_type; 62 62 } 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.