Changeset 1063 for trunk/bp-core.php
- Timestamp:
- 02/11/2009 08:34:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r1062 r1063 1304 1304 */ 1305 1305 function bp_core_strip_username_spaces( $username ) { 1306 return str_replace( ' ', ' ', $username );1306 return str_replace( ' ', '-', $username ); 1307 1307 } 1308 1308 add_action( 'pre_user_login', 'bp_core_strip_username_spaces' );
Note: See TracChangeset
for help on using the changeset viewer.