[wp-trac] [WordPress Trac] #44263: `grunt build` removes `wp-config.php` file.

WordPress Trac noreply at wordpress.org
Tue May 29 16:29:11 UTC 2018


#44263: `grunt build` removes `wp-config.php` file.
------------------------------+------------------------------
 Reporter:  desrosj           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  dev-feedback      |     Focuses:
------------------------------+------------------------------

Comment (by azaozz):

 > having the ticket here will help with awareness.

 Right. The `wp-config.php` file should be one level up, in the WP checkout
 dir, the parent directory of `/src` and `/build`. It may need to be moved
 there after running the install.

 The only thing we can possibly do to help from core would be to check
 where are `wp-config-sample.php` and `wp-config-tests-sample.php` and
 create `wp-config.php` next to them.

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


More information about the wp-trac mailing list