Yoast / wordpress-develop-mirror

WordPress development sync to develop patches against.
https://make.wordpress.org/core/
5 stars 3 forks source link

Use different index in the src directory to show notification. #92

Closed herregroen closed 6 years ago

herregroen commented 6 years ago

Prevents people from running WordPress from the source directory by replacing the index.php with another file that just shows a warning and instructions.

build-index.php will be copied to the build directory in the build step and contains the actual contents of this file.

Current message is as follows: screen shot 2017-12-21 at 16 14 28