Changeset 53579
- Timestamp:
- 06/27/2022 10:18:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/index.php
r53519 r53579 12 12 } 13 13 14 define( 'WPINC', 'wp-includes' ); 15 16 if ( file_exists( ABSPATH . WPINC . '/js/dist/edit-post.js' ) ) { 14 /* 15 * Load the actual index.php file if the assets were already built. 16 * Note: WPINC is not defined yet, it is defined later in wp-settings.php. 17 */ 18 if ( file_exists( ABSPATH . 'wp-includes/js/dist/edit-post.js' ) ) { 17 19 require_once ABSPATH . '_index.php'; 18 20 return; 19 21 } 20 22 23 define( 'WPINC', 'wp-includes' ); 21 24 require_once ABSPATH . WPINC . '/load.php'; 22 25
Note: See TracChangeset
for help on using the changeset viewer.