[wp-trac] [WordPress Trac] #14912: Introduce register_update_hook()
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 28 18:47:06 UTC 2010
#14912: Introduce register_update_hook()
-----------------------------+----------------------------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Upgrade/Install | Version:
Severity: normal | Keywords: has-patch
-----------------------------+----------------------------------------------
Comment(by scribu):
> hmm can't argue with it being consistent with the core db upgrade, and
for most plugin updates it won't be an issue, but there will occasionally
be plugin updates where something needs to be updated immediately. In
those cases, the plugin may behave inconsistently until the user accesses
the admin area (typically in my case that could be up to a week!).
No matter how the plugin does it, it won't be able to sense how often you
login to the admin. So you would have to modify it either way.
We can educate plugin authors that the update hook will only run in the
admin and they can decide for themselves if they should use
register_update_hook() or a custom solution.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14912#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list