WordPress.org

Make WordPress Core

Changeset 15096


Ignore:
Timestamp:
06/01/10 18:02:05 (4 years ago)
Author:
ryan
Message:

Add export capability. fixes #13681

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/export.php

    r14989 r15096  
    1010require_once ('admin.php'); 
    1111 
    12 if ( !current_user_can('edit_files') ) 
     12if ( !current_user_can('export') ) 
    1313    wp_die(__('You do not have sufficient permissions to export the content of this site.')); 
    1414 
  • trunk/wp-admin/includes/schema.php

    r14998 r15096  
    614614        $role->add_cap( 'edit_theme_options' ); 
    615615        $role->add_cap( 'delete_themes' ); 
     616        $role->add_cap( 'export' ); 
    616617    } 
    617618} 
  • trunk/wp-admin/includes/upgrade.php

    r15027 r15096  
    441441        upgrade_290(); 
    442442 
    443     if ( $wp_current_db_version < 14984 ) 
     443    if ( $wp_current_db_version < 15093 ) 
    444444        upgrade_300(); 
    445445 
     
    11091109    global $wp_current_db_version, $wpdb; 
    11101110 
    1111     if ( $wp_current_db_version < 14984 ) 
     1111    if ( $wp_current_db_version < 15093 ) 
    11121112        populate_roles_300(); 
    11131113 
  • trunk/wp-includes/version.php

    r15093 r15096  
    1616 * @global int $wp_db_version 
    1717 */ 
    18 $wp_db_version = 15084; 
     18$wp_db_version = 15093; 
    1919 
    2020/** 
Note: See TracChangeset for help on using the changeset viewer.