Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/22/2010 11:34:23 AM (15 years ago)
Author:
apeatling
Message:

Added new install/upgrade wizard. Removed root components and replaced them with actual WordPress pages. Testing on WordPress vhost/novhost and root profile support still to do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-filters.php

    r2810 r2863  
    5555
    5656function xprofile_filter_link_profile_data( $field_value, $field_type = 'textbox' ) {
     57    global $bp;
     58
    5759    if ( 'datebox' == $field_type )
    5860        return $field_value;
     
    7476                    $new_values[] = $value;
    7577                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>';
    7779            }
    7880        }
Note: See TracChangeset for help on using the changeset viewer.