Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/24/2014 09:59:12 PM (11 years ago)
Author:
boonebgorges
Message:

Improved documentation in Members component. See #5022

File:
1 edited

Legend:

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

    r6486 r8318  
    44 * BuddyPress Members Filters
    55 *
    6  * Member specific filters
     6 * Filters specific to the Members component.
    77 *
    88 * @package BuddyPress
     
    1414
    1515/**
    16  * Escape commonly used fullname output functions
     16 * Escape commonly used fullname output functions.
    1717 */
    1818add_filter( 'bp_displayed_user_fullname',    'esc_html' );
     
    2020
    2121/**
    22  * Load additional sign-up sanitization filters on bp_loaded. These are used
    23  * to prevent XSS in the BuddyPress sign-up process. You can unhook these to
    24  * allow for customization of your registration fields, however it is highly
    25  * recommended that you leave these in place for the safety of your network.
     22 * Load additional sign-up sanitization filters on bp_loaded.
    2623 *
    27  * @since BuddyPress (1.5)
    28  * @uses add_filter()
     24 * These are used to prevent XSS in the BuddyPress sign-up process. You can
     25 * unhook these to allow for customization of your registration fields;
     26 * however, it is highly recommended that you leave these in place for the
     27 * safety of your network.
     28 *
     29 * @since BuddyPress (1.5.0)
    2930 */
    3031function bp_members_signup_sanitization() {
     
    5455
    5556/**
    56  * Filter the user profile URL to point to BuddyPress profile edit
     57 * Filter the user profile URL to point to BuddyPress profile edit.
    5758 *
    58  * @since BuddyPress 1.6
     59 * @since BuddyPress (1.6.0)
    5960 *
    60  * @param string $url
    61  * @param int $user_id
     61 * @param string $url WP profile edit URL.
     62 * @param int $user_id ID of the user.
    6263 * @param string $scheme
    6364 * @return string
Note: See TracChangeset for help on using the changeset viewer.