[wp-trac] [WordPress Trac] #24670: Standardized plugin activation file
WordPress Trac
noreply at wordpress.org
Mon Jul 1 16:17:37 UTC 2013
#24670: Standardized plugin activation file
-----------------------------+-----------------------------
Reporter: JD55 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Keywords:
-----------------------------+-----------------------------
For plugins uninstall, the standardized uninstall.php file has been
introduced (see #5625), that is included only when a plugin is being
deleted. There should be a similar file (maybe activate.php) included each
time the plugin is activated. (We can't really do an install.php file,
because there's no reliable way test whether a plugin is installed, it's
plugin dependent.) This would allow plugin developers to separate and
centralize their activation/installation code, rather than having to use
[http://codex.wordpress.org/Function_Reference/register_activation_hook
register_activation_hook()].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24670>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list