Changeset 8318 for trunk/bp-members/bp-members-filters.php
- Timestamp:
- 04/24/2014 09:59:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-filters.php
r6486 r8318 4 4 * BuddyPress Members Filters 5 5 * 6 * Member specific filters6 * Filters specific to the Members component. 7 7 * 8 8 * @package BuddyPress … … 14 14 15 15 /** 16 * Escape commonly used fullname output functions 16 * Escape commonly used fullname output functions. 17 17 */ 18 18 add_filter( 'bp_displayed_user_fullname', 'esc_html' ); … … 20 20 21 21 /** 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. 26 23 * 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) 29 30 */ 30 31 function bp_members_signup_sanitization() { … … 54 55 55 56 /** 56 * Filter the user profile URL to point to BuddyPress profile edit 57 * Filter the user profile URL to point to BuddyPress profile edit. 57 58 * 58 * @since BuddyPress 1.659 * @since BuddyPress (1.6.0) 59 60 * 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. 62 63 * @param string $scheme 63 64 * @return string
Note: See TracChangeset
for help on using the changeset viewer.