Changeset 4775 for trunk/bp-core/admin/bp-core-update.php
- Timestamp:
- 07/22/2011 07:32:48 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-update.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-update.php
r4706 r4775 18 18 19 19 // Ensure that we have access to some utility functions 20 require _once( BP_PLUGIN_DIR . '/bp-core/bp-core-functions.php' );20 require( BP_PLUGIN_DIR . '/bp-core/bp-core-functions.php' ); 21 21 22 22 // Get current DB version … … 585 585 return false; 586 586 587 require _once( ABSPATH . WPINC . '/plugin.php' );587 require( ABSPATH . WPINC . '/plugin.php' ); 588 588 $installed_plugins = get_plugins(); 589 589 $installed_themes = get_themes(); … … 972 972 973 973 // Include 974 require _once( ABSPATH . WPINC . '/plugin.php' );974 require( ABSPATH . WPINC . '/plugin.php' ); 975 975 $installed_plugins = get_plugins(); 976 976 … … 1019 1019 1020 1020 // Load BP and hook the admin menu, so that the redirect is successful 1021 require _once( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-loader.php' );1022 require _once( WP_PLUGIN_DIR . '/buddypress/bp-core/admin/bp-core-admin.php' );1021 require( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-loader.php' ); 1022 require( WP_PLUGIN_DIR . '/buddypress/bp-core/admin/bp-core-admin.php' ); 1023 1023 bp_core_add_admin_menu(); 1024 1024 … … 1083 1083 $active_components = apply_filters( 'bp_active_components', bp_get_option( 'bp-active-components' ) ); 1084 1084 1085 require _once( dirname( __FILE__ ) . '/bp-core-schema.php' );1085 require( dirname( __FILE__ ) . '/bp-core-schema.php' ); 1086 1086 1087 1087 // Core DB Tables … … 1116 1116 global $wpdb; 1117 1117 1118 require _once( dirname( __FILE__ ) . '/bp-core-schema.php' );1118 require( dirname( __FILE__ ) . '/bp-core-schema.php' ); 1119 1119 } 1120 1120 … … 1262 1262 */ 1263 1263 function bp_core_update_get_page_meta() { 1264 require _once( BP_PLUGIN_DIR . '/bp-core/bp-core-functions.php' );1264 require( BP_PLUGIN_DIR . '/bp-core/bp-core-functions.php' ); 1265 1265 1266 1266 if ( !$page_ids = bp_get_option( 'bp-pages' ) )
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)