Changeset 1061
- Timestamp:
- 02/11/2009 07:52:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r1052 r1061 1297 1297 1298 1298 /** 1299 * bp_core_ucfirst() 1300 * 1301 * Strips spaces from usernames that are created using add_user() and wp_insert_user() 1302 * 1303 * @package BuddyPress Core 1304 */ 1305 function bp_core_strip_username_spaces( $username ) { 1306 return str_replace( ' ', '', $username ); 1307 } 1308 add_action( 'pre_user_login', 'bp_core_strip_username_spaces' ); 1309 1310 /** 1299 1311 * bp_core_clear_cache() 1300 1312 * REQUIRES WP-SUPER-CACHE
Note: See TracChangeset
for help on using the changeset viewer.