Changeset 1920 for trunk/bp-xprofile/bp-xprofile-templatetags.php
- Timestamp:
- 09/22/2009 06:01:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-templatetags.php
r1919 r1920 201 201 202 202 203 function bp_field_css_class( ) {204 echo bp_get_field_css_class( );205 } 206 function bp_get_field_css_class( ) {203 function bp_field_css_class( $class = false ) { 204 echo bp_get_field_css_class( $class ); 205 } 206 function bp_get_field_css_class( $class = false ) { 207 207 global $profile_template; 208 208 209 209 $css_classes = array(); 210 211 if ( $class ) 212 $css_classes[] = sanitize_title( attribute_escape( $class ) ); 210 213 211 214 /* Set a class with the field ID */
Note: See TracChangeset
for help on using the changeset viewer.