• Resolved stormhill

    (@stormhill)


    I upgraded to 2.3.3 and noticed that it was not saving my settings. I uninstalled and then went into the database and deleted the settings in wp_options. I then reinstalled and went back to settings and made changes. Still no settings change and the settings array in options does not get created.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same problem on my site.

    If plugin author can fix this bug, I may want to consider it in relation to it.

    Currently, this plugin uses the options API (get_option) to save, so every time I switch themes, I have to change the settings.

    I would be grateful if you could change it to something that can be set for each theme, such as get_theme_mod, so that I can save the settings for each theme.

    I understand that the efforts of plugin authors are very hard.

    Consider it when you have time.

    Thank you.

    I’m also having the same problem, across multiple websites. Might have to roll back

    +1

    Fix the issue by changing the following lines in the file options.php

    280 :
    replace this ->
    echo wp_kses($html, array( ‘select’ => array(‘id’ => array(), ‘name’ => array()), ‘option’ => array(‘value’ => array())));
    for this ->
    echo wp_kses($html, array( ‘select’ => array(‘id’ => array(), ‘name’ => array()), ‘option’ => array(‘value’ => array(), ‘selected’ => array())));

    297 :
    replace this ->
    echo wp_kses($html, array(‘input’ => array(‘type’ => array(), ‘name’ => array(), ‘value’ => array(), ‘disabled’ => array()), ‘label’ => array(‘for’ => array()) ));
    for this ->
    echo wp_kses($html, array(‘input’ => array(‘type’ => array(), ‘name’ => array(), ‘value’ => array(), ‘disabled’ => array(), ‘checked’ => array()), ‘label’ => array(‘for’ => array()) ));

    • This reply was modified 3 years, 5 months ago by mrcaboom.

    @mrcaboom

    line 280

    
    echo wp_kses( $html, array( 'select' => array( 'id' => array(), 'name' => array() ), 'option' => array( 'value' => array(), 'selected' => array() ) ) );
    

    line 297

    
    echo wp_kses( $html, array( 'input' => array( 'type' => array(), 'name' => array(), 'value' => array(), 'disabled' => array(), 'checked' => array() ), 'label' => array( 'for' => array() ) ) );
    

    Worked for me.

    Thanks

    Plugin Author Sky Bolt

    (@sky-bolt)

    Corrected this in a new version. had some issues with the wp_kses function.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Settings are not saving in 2.3.3’ is closed to new replies.