Changeset 23253 for trunk/wp-admin/includes/update-core.php
- Timestamp:
- 01/03/2013 07:42:16 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/update-core.php
r23203 r23253 706 706 } 707 707 708 // 3.5 -> 3.5+ - an empty twentytwelve directory was created upon upgrade to 3.5 for some users, preventing installation of Twenty Twelve. 709 if ( '3.5' == $old_wp_version ) { 710 if ( is_dir( WP_CONTENT_DIR . '/themes/twentytwelve' ) && ! file_exists( WP_CONTENT_DIR . '/themes/twentytwelve/style.css' ) ) { 711 $wp_filesystem->delete( $wp_filesystem->wp_themes_dir() . 'twentytwelve/' ); 712 } 713 } 714 708 715 // Copy New bundled plugins & themes 709 716 // This gives us the ability to install new plugins & themes bundled with future versions of WordPress whilst avoiding the re-install upon upgrade issue.
Note: See TracChangeset
for help on using the changeset viewer.