Ticket #11276: 11276.diff
File 11276.diff, 1.5 KB (added by , 16 years ago) |
---|
-
wp-includes/version.php
15 15 * 16 16 * @global int $wp_db_version 17 17 */ 18 $wp_db_version = 122 17;18 $wp_db_version = 12290; 19 19 20 20 /** 21 21 * Holds the TinyMCE version -
wp-admin/includes/upgrade.php
373 373 if ( $wp_current_db_version < 10360 ) 374 374 upgrade_280(); 375 375 376 if ( $wp_current_db_version < 1 1958)376 if ( $wp_current_db_version < 12290 ) 377 377 upgrade_290(); 378 378 379 379 maybe_disable_automattic_widgets(); … … 1028 1028 update_option( 'thread_comments', 0 ); 1029 1029 } 1030 1030 } 1031 1032 if ( $wp_current_db_version < 12290 ) { 1033 $upload_path = get_option('upload_path'); 1034 $upload_path = str_replace(ABSPATH, '', $upload_path); 1035 if ( get_option('upload_path') != $upload_path ) 1036 update_option('upload_path', $upload_path); 1037 } 1031 1038 } 1032 1039 1033 1040 -
wp-admin/includes/schema.php
198 198 $upload_path = WP_CONTENT_DIR . '/uploads'; 199 199 } 200 200 201 $upload_path = str_replace(ABSPATH, '', $upload_path); 202 201 203 $options = array( 202 204 'siteurl' => $guessurl, 203 205 'blogname' => __('My Blog'),