Title: [Plugin: Widget Logic] &#8216;wp_reset_query&#8217; fix option does not stick
Last modified: August 19, 2016

---

# [Plugin: Widget Logic] ‘wp_reset_query’ fix option does not stick

 *  Resolved [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/)
 * Hi,
 * I noticed that when I have checked the ‘wp_reset_query’ fix option and saved 
   it, the option remains checked as long as I do not edit any widgets. But as soon
   as I have saved a widget and reload the widgets admin page, the ‘wp_reset_query’
   fix option appears as unchecked.
 * does this mean I have to check and save that setting after each edit of any of
   my many widgets?
 * Thanks.
 * –ravan
 * [http://wordpress.org/extend/plugins/widget-logic/](http://wordpress.org/extend/plugins/widget-logic/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408232)
 * no, you shouldn’t have to do this.
 * i get report of this from time to time, but i’ve not (as yet) been able to reproduce
   it with any of my wp installs.
 * i’ll try your description later. until then if you have a step by step recipe
   that does this i’d be grateful.
 * i suspect it’s not a theme-based issue, but maybe to do with other plugins – 
   but it’s hard to ask you to list/deactivate other plugins.
 * i’ll get back to you…
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408244)
 * Thanks Alan, for your quick response. Maybe some more info can get us on the 
   right track:
 * It — the setting getting lost — happens _EVERY_ time i save any widget. It doesn’t
   matter if it is a simple text widget or one that came by plugin so it should 
   not be hard to reproduce… _IF_ you have that particular unlucky combination going
   on that you suspect to be another plugin.
 * I am using a Hybrid child theme (Hybrid News) and one particular widget called
   Query Posts (by the same author) that uses a similar query reset fix… Wonder 
   if that could be the problem.
 * I’d be tempted to switch that particular plugin off or even switch themes to 
   see what happens if it where not someone else’s live site this combo is running
   on.
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408246)
 * do you know what, i think i’ve finally got it.
 * if i refresh the page after a change to a widget (or just click save in a widget),
   the option is undone.
 * woo.
 * thanks!
 * trouble is that i overlook this option as i don’t need it. which is why it’s 
   slipped past me so easily.
 * ok will look for a hack and then later get it updated. been a while!…
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408248)
 * i think i’ve fixed this, which would be awesome
 * line 46 should read:
    `$regd_plus_new=array_merge(array_keys($wp_registered_widgets),
   array_values((array) $_POST['widget-id']),array('widget_logic-options-filter','
   widget_logic-options-wp_reset_query'));`
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408249)
 * which if it looks good i will commit and update the repository this evening (
   i’m still working out why it works…)
 *  [flahammerhead](https://wordpress.org/support/users/flahammerhead/)
 * (@flahammerhead)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408512)
 * Has anybody gotten Widget Logic to work with the “Hybrid” theme?
 *  [flahammerhead](https://wordpress.org/support/users/flahammerhead/)
 * (@flahammerhead)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408513)
 * Never mind….user syntax error. 😐
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408514)
 * yep, issue is fixed and should work just fine with hybrid 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘[Plugin: Widget Logic] ‘wp_reset_query’ fix option does not stick’ is
closed to new replies.

 * 8 replies
 * 3 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-widget-logic-wp_reset_query-fix-option-does-not-stick/#post-1408514)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
