[wp-trac] [WordPress Trac] #38533: Introduce a flag to indicate a "fresh site"

WordPress Trac noreply at wordpress.org
Tue Nov 1 04:59:36 UTC 2016


#38533: Introduce a flag to indicate a "fresh site"
-----------------------------+--------------------------
 Reporter:  helen            |       Owner:  westonruter
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:  4.7
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+--------------------------
Changes (by westonruter):

 * keywords:  needs-patch => has-patch


Comment:

 OK, so `populate_options()` will populate the options defined when
 upgrading in addition to when installing. Maybe the `fresh_site` flag
 should be set in `wp_install()` instead. This would ensure it only gets
 added for new installs and only once.

 See [attachment:38533.2.diff].

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


More information about the wp-trac mailing list