Changeset 8336 for trunk/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 05/01/2014 10:33:57 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-functions.php
r8178 r8336 96 96 97 97 /** 98 * For backpat and to handle (missing) field types introduced by other plugins, fallback to 99 * textbox if a type is unknown. Textbox validation and display is intentionally low key. 98 * To handle (missing) field types, fallback to a placeholder field object if a type is unknown. 100 99 */ 101 100 if ( $class && class_exists( $class ) ) { 102 101 return new $class; 103 102 } else { 104 return new BP_XProfile_Field_Type_ Textbox;103 return new BP_XProfile_Field_Type_Placeholder; 105 104 } 106 105 }
Note: See TracChangeset
for help on using the changeset viewer.