Rough first cut of theme browser/installer. Props DD32. see #8652

git-svn-id: http://svn.automattic.com/wordpress/trunk@10553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2009-02-11 23:10:11 +00:00
parent 56bce2a700
commit 7bb01e4c48
6 changed files with 1003 additions and 1 deletions
+15
View File
@@ -276,6 +276,9 @@ function upgrade_all() {
if ( $wp_current_db_version < 8989 )
upgrade_270();
if ( $wp_current_db_version < 10360 )
upgrade_280();
maybe_disable_automattic_widgets();
update_option('db_version', 'db_upgraded');
@@ -906,6 +909,18 @@ function upgrade_270() {
$wpdb->query( "UPDATE $wpdb->posts SET post_date = post_modified WHERE post_date = '0000-00-00 00:00:00'" );
}
/**
* Execute changes made in WordPress 2.8.
*
* @since 2.8.0
*/
function upgrade_280() {
global $wp_current_db_version;
if ( $wp_current_db_version < 10360 )
populate_roles_280();
}
// The functions we use to actually do stuff