Skip to:
Content

bbPress.org

Changeset 2945


Ignore:
Timestamp:
02/28/2011 10:19:39 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Rejig the updater

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-update.php

    r2943 r2945  
    1313
    1414    // Get the current bbPress DB version from the DB
    15     $db_version = (int) get_option( '_bbp_db_version' );
     15    $db_version = get_option( '_bbp_db_version' );
    1616
    1717    // Update the meta key names
    18     if ( 104 < $db_version ) {
     18    if ( 104 < (int) $db_version ) {
    1919
    2020        // _bbp_visibility
     
    8181
    8282    // Remove the 'bbp_' prefix from post types in posts table
    83     if ( 105 < $db_version ) {
     83    if ( 105 < (int) $db_version ) {
    8484
    8585        // Update the post type slugs
     
    9595
    9696    // Remove the 'bbp_' prefix from post types in posts table
    97     if ( 106 < $db_version ) {
     97    if ( 106 < (int) $db_version ) {
    9898
    9999        // Update the topic tag slug
Note: See TracChangeset for help on using the changeset viewer.