Ticket #33600: 33600.patch
File 33600.patch, 1.1 KB (added by , 8 years ago) |
---|
-
src/wp-admin/includes/schema.php
507 507 ? $wp_current_db_version : $wp_db_version; 508 508 } 509 509 510 // x.y.z 511 $options[ 'theme_mods_' . $options['stylesheet'] ] = array(); 512 510 513 // 3.0 multisite 511 514 if ( is_multisite() ) { 512 515 /* translators: blog tagline */ -
tests/phpunit/tests/theme.php
296 296 $this->assertEquals($template, get_template()); 297 297 $this->assertEquals($style, get_stylesheet()); 298 298 } 299 300 /** 301 * Test that installation added a "theme_mods_" option for the default theme. 302 */ 303 function test_populate_options_theme_mod() { 304 $stylesheet = get_option( 'stylesheet' ); 305 $this->assertSame( WP_DEFAULT_THEME, $stylesheet ); 306 $this->assertSame( array(), get_option( "theme_mods_{$stylesheet}" ) ); 307 } 308 299 309 }