[wp-trac] [WordPress Trac] #25762: Make it easier to customize the install process

WordPress Trac noreply at wordpress.org
Mon Jan 27 12:40:34 UTC 2014


#25762: Make it easier to customize the install process
-------------------------------+------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  3.9
Component:  Upgrade/Install    |     Version:  3.7
 Severity:  minor              |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------
Changes (by Denis-de-Bernardy):

 * keywords:   => has-patch


Comment:

 Replying to [comment:6 nacin]:
 > I wouldn't be surprised if there are additional opportunities for well-
 placed actions or filters, but one per function would certainly be a good
 start. Would be happy to check in a patch this week.

 I stuck to two hooks, seeing that those two would have been more than
 enough for use-cases where I've run into over the years:

 - one at the very end of wp_install, that passes user_id
 - another at the very end of wp_upgrade, that passes the new and old
 database version

 The second patch should be svn-compatible (generated using git diff
 --noprefix).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25762#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list