Changeset 10553
- Timestamp:
- 02/11/2009 11:10:11 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r10476 r10553 328 328 populate_roles_260(); 329 329 populate_roles_270(); 330 populate_roles_280(); 330 331 } 331 332 … … 531 532 } 532 533 534 /** 535 * Create and modify WordPress roles for WordPress 2.8. 536 * 537 * @since 2.8.0 538 */ 539 function populate_roles_280() { 540 $role =& get_role( 'administrator' ); 541 542 if ( !empty( $role ) ) { 543 $role->add_cap( 'install_themes' ); 544 } 545 } 546 533 547 ?> -
trunk/wp-admin/includes/upgrade.php
r10530 r10553 276 276 if ( $wp_current_db_version < 8989 ) 277 277 upgrade_270(); 278 279 if ( $wp_current_db_version < 10360 ) 280 upgrade_280(); 278 281 279 282 maybe_disable_automattic_widgets(); … … 905 908 if ( $wp_current_db_version < 8921 ) 906 909 $wpdb->query( "UPDATE $wpdb->posts SET post_date = post_modified WHERE post_date = '0000-00-00 00:00:00'" ); 910 } 911 912 /** 913 * Execute changes made in WordPress 2.8. 914 * 915 * @since 2.8.0 916 */ 917 function upgrade_280() { 918 global $wp_current_db_version; 919 920 if ( $wp_current_db_version < 10360 ) 921 populate_roles_280(); 907 922 } 908 923 -
trunk/wp-admin/menu.php
r10515 r10553 58 58 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 59 59 $submenu['themes.php'][10] = array(__('Editor'), 'edit_themes', 'theme-editor.php'); 60 $submenu['themes.php'][15] = array(__('Add New Themes'), 'install_themes', 'theme-install.php'); 60 61 61 62 $update_plugins = get_transient( 'update_plugins' ); -
trunk/wp-includes/version.php
r10550 r10553 16 16 * @global int $wp_db_version 17 17 */ 18 $wp_db_version = 9873;18 $wp_db_version = 10553; 19 19 20 20 ?>
Note: See TracChangeset
for help on using the changeset viewer.