Simply Instagram
Plugin settings not saving or considering settings (3 posts)

  1. Misamee
    Posted 2 years ago #

    I've set to show 1 comment in MEdia Viewer, but when I save settings, the number goes back to 5.


  2. rollybueno
    Plugin Author

    Posted 2 years ago #

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


  3. Misamee
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simply Instagram
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.