Bug Summary
On Windows – after updating to 7.0.2+6395, starting a site causes a reformatting of line feeds in wp-config.php. This results in every line break becoming 2 line breaks.
For those using Git, this also causes a divergence from the authoritative copy in the repo. This forces developers to reset their local copy every time they start a site in Local.
While this has no functional impact, it does cause unnecessary versioning churn and general FUD.
Steps to reproduce
- Obtain the latest copy of your wp-config.php source, whether via Git or otherwise.
- Open wp-config.php in your editor of choice. Observe there are no unintended double line feeds.
- Update to Local 7.0.2+6395
- Start the relevant site in Local.
- Re-open wp-config.php in your editor, and observe that now all line feeds have doubled.
Environment Info
- Dev environment: Windows 10
- Local version 7.0.2+6395
- Site OS: nginx
- PHP 8.0.22
- WP 6.2.2