Wordpress/src/wp-admin/index.php

15 lines
373 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( __DIR__ . '/../wp-includes/js/dist/edit-post.js' ) ) {
require_once __DIR__ . '/_index.php';
return;
}
require_once dirname( __DIR__ ) . '/index.php';