Skip to:
Content

bbPress.org

Changeset 4310


Ignore:
Timestamp:
11/02/2012 08:41:56 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Version:

  • Bump to beta 1.
  • Update bbp_version_updater() for new db version (216)
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbpress.php

    r4263 r4310  
    1818 * Author:      The bbPress Community
    1919 * Author URI:  http://bbpress.org
    20  * Version:     2.2-alpha
     20 * Version:     2.2-beta
    2121 * Text Domain: bbpress
    2222 * Domain Path: /bbp-languages/
     
    181181        /** Versions **********************************************************/
    182182
    183         $this->version    = '2.2-alpha-4242';
    184         $this->db_version = '214';
     183        $this->version    = '2.2-beta-4309';
     184        $this->db_version = '216';
    185185
    186186        /** Paths *************************************************************/
  • trunk/includes/core/update.php

    r4249 r4310  
    245245
    246246    // 2.2
    247     if ( $raw_db_version < 214 ) {
     247    if ( $raw_db_version < 216 ) {
    248248
    249249        // Remove bbPress 1.1 roles (BuddyPress)
     
    254254        remove_role( 'keymaster' );
    255255
    256         // Remove bbPress 2.1 roles
    257         remove_role( 'bbp_moderator'   );
    258         remove_role( 'bbp_participant' );
    259 
    260256        // Refresh capabilities
    261257        bbp_remove_caps();
    262         bbp_add_caps();
    263258    }
    264259
Note: See TracChangeset for help on using the changeset viewer.