WordPress.org

Support

Support » Plugins and Hacks » Simply Instagram » Plugin settings not saving or considering settings

Plugin settings not saving or considering settings

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rollybueno

    @rollybueno

    Thanks for reporting this bug as well as the prettyPhoto one. It’s hugely helpful and I will address this in the next update.

    Cheers!

    I was looking in wp_option the record that contains settings, in order to change them since I can’t using the settings page.

    It took me some time to find where the settings are savend, then I’ve realized that instead of using a single record in wp_options, you create a record for each single settings, that is not the standard way to save plugin settings in WP: this may cause conflicts with other plugin that does the same (and that aren’t supposed to do that anyway).
    You even create a new table (wp_instagram) to save instagram access_token, instead of saving them in wp_options.

    The standard way is to have a single record containing a serialized version of all settings: it make it cleaners, easier to maintain and to delete if I decide to remove the plugin.

    Probably this also one of the reasons why settings aren’t properly saved?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin settings not saving or considering settings’ is closed to new replies.
Skip to toolbar