[wp-trac] [WordPress Trac] #49460: wp-config gets cleaned out from build folder on rebuild

WordPress Trac noreply at wordpress.org
Tue Feb 18 15:12:58 UTC 2020


#49460: wp-config gets cleaned out from build folder on rebuild
------------------------------+-----------------------------
 Reporter:  isabel_brison     |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  5.4
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [comment:4 afercia]:
 > To my understanding, this means that from now on any edit to `wp-
 config.php` in the `src` directory won't be copied over the `build`
 directory any longer. Not sure it's ideal for the ones of us that run
 WordPress from `build` as it will require to manually edit `build/wp-
 config.php` while working on `src`.

 Wouldn't placing the file one level above `build` and `src` resolve this?

 As an alternative, we could preserve the file if it exists in `build`, but
 still copy it over from `src` if it also exists there.
 [attachment:"49460.2.diff"] should do that.

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


More information about the wp-trac mailing list