Ticket #2074: bp-core.diff
| File bp-core.diff, 1.0 KB (added by , 16 years ago) |
|---|
-
bp-core.php
64 64 if ( !defined( 'BP_SEARCH_SLUG' ) ) 65 65 define( 'BP_SEARCH_SLUG', 'search' ); 66 66 67 /* Define the slug for the login page, if the user omits the .php */ 68 if ( !defined( 'BP_LOGIN1_SLUG' ) ) 69 define( 'BP_LOGIN1_SLUG', 'wp-login' ); 70 71 /* Define the slug for the login page */ 72 if ( !defined( 'BP_LOGIN_SLUG' ) ) 73 define( 'BP_LOGIN_SLUG', BP_LOGIN1_SLUG.'.php' ); 74 67 75 /* Register BuddyPress themes contained within the bp-theme folder */ 68 76 if ( function_exists( 'register_theme_directory') ) 69 77 register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' ); … … 198 206 bp_core_add_root_component( BP_REGISTER_SLUG ); 199 207 bp_core_add_root_component( BP_ACTIVATION_SLUG ); 200 208 bp_core_add_root_component( BP_SEARCH_SLUG ); 209 bp_core_add_root_component( BP_LOGIN_SLUG ); 210 bp_core_add_root_component( BP_LOGIN1_SLUG ); 201 211 } 202 212 add_action( 'plugins_loaded', 'bp_core_setup_root_uris', 2 ); 203 213