jigoshop/jigoshop — Issue #454: `jigoshop_update_options` is called after the `admin_notices` hook
Author: simonwheatley
Created: 2011-12-03 10:03:09+00:00
State: open

Having `jigoshop_update_options` called after `admin_notices` means that if a developer wants to display messages or errors based on the values of options then they are always looking at values which will shortly be out of date. A workaround for the developer might be to sniff the values of any incoming `$_POST` request, but this is potentially a brittle hack.

I suggest `jigoshop_update_options` is hooked on the admin load action for the settings page, `load-jigoshop_page_settings`.