Changeset 3720
- Timestamp:
- 01/16/2011 12:17:36 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r3713 r3720 170 170 171 171 // The default text for the members directory search box 172 $bp->default_search_strings[$bp->members->slug] = __( 'Search Members...', 'buddypress' ); 172 $bp->default_search_strings[$bp->members->slug] = __( 'Search Members...', 'buddypress' ); 173 173 174 174 do_action( 'bp_core_setup_globals' ); … … 252 252 if ( empty( $page_ids ) ) 253 253 return false; 254 254 255 255 $posts_table_name = is_multisite() && !defined( 'BP_ENABLE_MULTIBLOG' ) ? $wpdb->get_blog_prefix( BP_ROOT_BLOG ) . 'posts' : $wpdb->posts; 256 256 … … 331 331 add_action( "admin_print_styles-$hook", 'bp_core_add_admin_menu_styles' ); 332 332 } 333 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_add_admin_menu' );333 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_add_admin_menu', 9 ); 334 334 335 335 /** … … 1765 1765 if ( username_exists( $username ) && ( !defined( 'BP_ENABLE_USER_COMPATIBILITY_MODE' ) || !BP_ENABLE_USER_COMPATIBILITY_MODE ) ) 1766 1766 return $username; 1767 1767 1768 1768 return str_replace( ' ', '-', $username ); 1769 1769 } -
trunk/bp-core/admin/bp-core-update.php
r3716 r3720 545 545 </td> 546 546 </tr> 547 547 548 548 <?php endif; ?> 549 549 … … 1091 1091 delete_site_option( 'bp-xprofile-db-version' ); 1092 1092 } 1093 1093 1094 1094 /** 1095 1095 * Reset the cookie so the install script starts over … … 1106 1106 } 1107 1107 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_setup_wizard_init' ); 1108 1108 1109 1109 1110 1110 function bp_core_install( $disabled = false ) { … … 1282 1282 add_action( "admin_print_styles-$hook", 'bp_core_add_admin_menu_styles' ); 1283 1283 } 1284 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_add_admin_menu' );1284 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_add_admin_menu', 9 ); 1285 1285 1286 1286 function bp_core_add_admin_menu_styles() {
Note: See TracChangeset
for help on using the changeset viewer.