Ticket #18591: 18591.patch
| File 18591.patch, 841 bytes (added by , 14 years ago) |
|---|
-
wp-admin/includes/schema.php
195 195 $uploads_use_yearmonth_folders = 1; 196 196 } 197 197 198 $template = WP_DEFAULT_THEME; 199 // If default theme is a child theme, we need to get its template 200 foreach ( get_themes() as $theme ) { 201 if ( WP_DEFAULT_THEME == $theme['Stylesheet'] ) { 202 $template = $theme['Template']; 203 break; 204 } 205 } 206 198 207 $options = array( 199 208 'siteurl' => $guessurl, 200 209 'blogname' => __('My Site'), … … 246 255 // 1.5 247 256 'default_email_category' => 1, 248 257 'recently_edited' => '', 249 'template' => WP_DEFAULT_THEME,258 'template' => $template, 250 259 'stylesheet' => WP_DEFAULT_THEME, 251 260 'comment_whitelist' => 1, 252 261 'blacklist_keys' => '',