Changeset 2863 for trunk/bp-xprofile/bp-xprofile-filters.php
- Timestamp:
- 03/22/2010 11:34:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-filters.php
r2810 r2863 55 55 56 56 function xprofile_filter_link_profile_data( $field_value, $field_type = 'textbox' ) { 57 global $bp; 58 57 59 if ( 'datebox' == $field_type ) 58 60 return $field_value; … … 74 76 $new_values[] = $value; 75 77 else 76 $new_values[] = '<a href="' . site_url( BP_MEMBERS_SLUG) . '/?s=' . strip_tags( $value ) . '">' . $value . '</a>';78 $new_values[] = '<a href="' . site_url( $bp->members->slug ) . '/?s=' . strip_tags( $value ) . '">' . $value . '</a>'; 77 79 } 78 80 }
Note: See TracChangeset
for help on using the changeset viewer.