mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Rough first cut of theme browser/installer. Props DD32. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10553 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user