Support » Plugin: Code Snippets » Descriptions and tags settings not saving

  • Resolved Adam

    (@adamkheckler)


    When I try to disable “Enable Snippet Tags” and “Enable Snippet Descriptions”, the settings boxes are still checked after the settings page refreshes. There are no errors in my logs that seem related.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Adam

    (@adamkheckler)

    Hmm, nevermind. This turned out to be something weird going on with my caching system. Not sure why it was caching wp-admin… Will look into it.

    Plugin Author Shea Bunge

    (@bungeshea)

    Glad to hear you managed to sort it out!

    Adam

    (@adamkheckler)

    Hmm, in fact, I’m not sure this is limited to just my site. I think any site with an object cache of some sort is going to run into this issue. I can reproduce the problem on two different hosts with different sites.

    Steps:

    1. Enable object caching on your WP site.
    2. Install and active Code Snippets
    3. Under Snippets > Settings, change some stuff.
    4. Save Changes.
    5. Page refreshes, but settings appear as if they have not changed.
    6. Looking at wp_options they actually have changed!
    7. Purge the object cache.
    8. Refresh the settings page. The settings now are displayed accurately.

    Plugin Author Shea Bunge

    (@bungeshea)

    Thanks for reporting this and explaining how to reproduce it. I’ll do some testing and see whether this is a wider problem and how it could be fixed in the plugin.

    Taco Loco

    (@weavebranding)

    I just had this problem as well.
    It was due to having Nginx Redis Object Caching enabled on our dev server.
    Have to run full flush after any changes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.