WordPress.org

Make WordPress Core

Changeset 6053


Ignore:
Timestamp:
09/06/2007 11:08:25 PM (11 years ago)
Author:
markjaquith
Message:

Upgrade the options table before calling populate_options() to avoid errors. Props Nazgul. fixes #4921

File:
1 edited

Legend:

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

    r6052 r6053  
    172172    }
    173173
     174    if ( $wp_current_db_version < 6039 )
     175        upgrade_230_options_table();
     176
    174177    populate_options();
    175178
     
    192195    if ( $wp_current_db_version < 5539 )
    193196        upgrade_230();
    194 
    195     if ( $wp_current_db_version < 6039 )
    196         upgrade_230_options_table();
    197197
    198198    maybe_disable_automattic_widgets();
Note: See TracChangeset for help on using the changeset viewer.