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

WordPress Trac noreply at wordpress.org
Tue Feb 18 09:22:06 UTC 2020


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

 * milestone:  Awaiting Review => 5.4


Comment:

 Replying to [ticket:49460 isabel_brison]:
 > If there is a `wp-config.php` file in the `build` folder, it gets
 cleaned out when `npm run build` is run.

 Just noting that `wp-config.php` can be put one level above the `build`
 folder, that way it doesn't get cleaned out but still gets recognized by
 WordPress.

 That said, I guess it makes sense to preserve it in the `build` folder if
 it's there.

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


More information about the wp-trac mailing list