Changeset 13968 for trunk/src/bp-core/bp-core-update.php
- Timestamp:
- 07/23/2024 01:13:42 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-update.php
r13943 r13968 4 4 * 5 5 * @package BuddyPress 6 * @subpackage Updater6 * @subpackage Core 7 7 * @since 1.6.0 8 8 */ … … 338 338 * 339 339 * @since 2.3.0 340 * 341 * @global wpdb $wpdb WordPress database object. 340 342 */ 341 343 function bp_pre_schema_upgrade() { … … 731 733 * 732 734 * @param array $emails The array of emails schema. 735 * @return array 733 736 */ 734 737 function bp_core_get_8_0_upgrade_email_schema( $emails ) { … … 769 772 * 770 773 * @param array $emails The array of emails schema. 774 * @return array 771 775 */ 772 776 function bp_core_get_10_0_upgrade_email_schema( $emails ) { … … 807 811 * 808 812 * @param array $emails The array of emails schema. 813 * @return array 809 814 */ 810 815 function bp_core_get_11_0_upgrade_email_schema( $emails ) { … … 947 952 * 948 953 * Edit db schema to stop using boolean fields in favor of tinyint ones. 949 * This move swas necessary to support WP Playground.954 * This move was necessary to support WP Playground. 950 955 * 951 956 * @since 14.0.0 957 * 958 * @global wpdb $wpdb WordPress database object. 952 959 */ 953 960 function bp_update_to_14_0() { 954 961 global $wpdb; 955 $bp = buddypress(); 956 $bp _prefix = bp_core_get_table_prefix();962 963 $bp = buddypress(); 957 964 958 965 if ( isset( $bp->members->table_name_last_activity ) && $wpdb->get_var( "SHOW TABLES LIKE '%{$bp->members->table_name_last_activity}%'" ) ) { … … 1000 1007 function bp_migrate_new_member_activity_component() { 1001 1008 global $wpdb; 1009 1002 1010 $bp = buddypress(); 1003 1011
Note: See TracChangeset
for help on using the changeset viewer.