[wp-trac] [WordPress Trac] #14912: Introduce register_upgrade_hook()
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 22 10:56:59 UTC 2010
#14912: Introduce register_upgrade_hook()
-----------------------------+----------------------------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Upgrade/Install | Version:
Severity: normal | Keywords: needs-patch
-----------------------------+----------------------------------------------
Comment(by scribu):
plugin-versions.2.diff:
I replaced the is_multisite() check with is_plugin_active_for_network() as
that's what we're interested in.
I think passing only the stored version to the callback is enough, since
it will already know what the latest version is.
I'm also passing wether the current plugin is network activated, so that
the callback can handle that on it's own.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14912#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list