wordpress-develop/src/wp-admin/index.php
Gary Pendergast b7794e63ce Dev Tools: Load the wp-admin build instructions from src.
This de-duplicates the content, so it only needs to be modified in one place.

Additionally, we now link to the NPM/Grunt install guides on the build instructions page.

Props pento, ocean90.
Fixes #43732.



git-svn-id: https://develop.svn.wordpress.org/trunk@44664 602fd350-edb4-49c9-b593-d223f7449a82
2019-01-21 04:59:55 +00:00

15 lines
409 B
PHP

<?php
/**
* Note: this file exists only to remind developers to build the assets.
* For the real wp-admin/index.php that gets built and boots WordPress,
* please refer to wp-admin/_index.php.
*/
if ( file_exists( dirname( __FILE__ ) . '/../wp-includes/js/dist/edit-post.js' ) ) {
require_once dirname( __FILE__ ) . '/_index.php';
return;
}
require_once dirname( dirname( __FILE__ ) ) . '/index.php';