Plugin Directory

Changeset 194679


Ignore:
Timestamp:
01/17/2010 03:17:31 AM (16 years ago)
Author:
malcalevak
Message:

comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-slimbox2/trunk/adminmenu.php

    r194136 r194679  
    5151    delete_option('wp_slimbox_maintenance');
    5252    delete_option('wp_slimbox_cache');
    53 } else if (!$options->get_option('autoload')){
     53} else if (!$options->get_option('autoload')){// new plugin users get all defaults loaded
    5454    $options->init_option(array(
    5555        'autoload'   => 'off',
     
    7878    ));
    7979}
    80 //THIS SECTION DOESN"T APPEAR TO WORK CORRECTLY!
    81 if (!$options->get_option('caption')){
     80if (!$options->get_option('caption')){//upgraders get the new options and defaults added
    8281    $options->update_option(array(
    8382        'caption' => array('a-title','img-alt','img-title','href'),
Note: See TracChangeset for help on using the changeset viewer.