Changeset 56176 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 07/09/2023 08:05:43 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r56044 r56176 441 441 $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->usermeta WHERE user_id != %d AND meta_key = %s", $user_id, $table_prefix . 'capabilities' ) ); 442 442 443 // Delete any caps that snuck into the previously active blog. (Hardcoded to blog 1 for now.) 444 // TODO: Get previous_blog_id. 443 /* 444 * Delete any caps that snuck into the previously active blog. (Hardcoded to blog 1 for now.) 445 * TODO: Get previous_blog_id. 446 */ 445 447 if ( ! is_super_admin( $user_id ) && 1 != $user_id ) { 446 448 $wpdb->delete( … … 1645 1647 1646 1648 if ( $wp_current_db_version < 11958 ) { 1647 // Previously, setting depth to 1 would redundantly disable threading, 1648 // but now 2 is the minimum depth to avoid confusion. 1649 /* 1650 * Previously, setting depth to 1 would redundantly disable threading, 1651 * but now 2 is the minimum depth to avoid confusion. 1652 */ 1649 1653 if ( get_option( 'thread_comments_depth' ) == '1' ) { 1650 1654 update_option( 'thread_comments_depth', 2 ); … … 3332 3336 $default_dir = WP_CONTENT_DIR . '/themes/' . WP_DEFAULT_THEME; 3333 3337 3334 // Copy files from the default theme to the site theme. 3335 // $files = array( 'index.php', 'comments.php', 'comments-popup.php', 'footer.php', 'header.php', 'sidebar.php', 'style.css' ); 3338 /* 3339 * Copy files from the default theme to the site theme. 3340 * $files = array( 'index.php', 'comments.php', 'comments-popup.php', 'footer.php', 'header.php', 'sidebar.php', 'style.css' ); 3341 */ 3336 3342 3337 3343 $theme_dir = @opendir( $default_dir );
Note: See TracChangeset
for help on using the changeset viewer.