• Just about to release my first WP theme when WP upgraded to 3.1.
    & now the add/update option is not working.

    $settings = 'theme_mods_'.get_current_theme();
    $defaults = array(
    		'string1' => 'welcome string'
    );
    add_option($settings, $defaults, '', 'yes');

    Its not adding these values to DB =(

  • The topic ‘add/update option not working with WordPress 3.1’ is closed to new replies.