Make WordPress Core


Ignore:
Timestamp:
04/22/2010 07:48:13 PM (16 years ago)
Author:
josephscott
Message:

New 'list_users' cap to provide more controls over listing users vs. editing
users.

Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.

Bump db version to 14139 to pick up the new cap.

See #13074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r14169 r14189  
    441441                upgrade_290();
    442442
    443         if ( $wp_current_db_version < 14138 )
     443        if ( $wp_current_db_version < 14139 )
    444444                upgrade_300();
    445445
    … …  
    11091109        global $wp_current_db_version, $wpdb;
    11101110
    1111         if ( $wp_current_db_version < 12751 ) {
     1111        if ( $wp_current_db_version < 14139 ) {
    11121112                populate_roles_300();
    11131113                if ( is_multisite() && is_main_site() && ! defined( 'MULTISITE' ) && get_site_option( 'siteurl' ) === false )
    … …  
    11161116
    11171117        // #11866 (Convert the taxonomy children cache into a transient) - Remove old cache.
    1118         if ( $wp_current_db_version < 14138 ) {
     1118        if ( $wp_current_db_version < 14139 ) {
    11191119                foreach ( get_taxonomies( array('hierarchical' => true) )  as $taxonomy )
    11201120                        delete_option($taxonomy . '_children');
Note: See TracChangeset for help on using the changeset viewer.