Changeset 47198 for trunk/src/wp-admin/post-new.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post-new.php
r47122 r47198 8 8 9 9 /** Load WordPress Administration Bootstrap */ 10 require_once ( dirname( __FILE__ ) . '/admin.php' );10 require_once __DIR__ . '/admin.php'; 11 11 12 12 /** … … 70 70 if ( apply_filters( 'replace_editor', false, $post ) !== true ) { 71 71 if ( use_block_editor_for_post( $post ) ) { 72 include( ABSPATH . 'wp-admin/edit-form-blocks.php' );72 require ABSPATH . 'wp-admin/edit-form-blocks.php'; 73 73 } else { 74 74 wp_enqueue_script( 'autosave' ); 75 include( ABSPATH . 'wp-admin/edit-form-advanced.php' );75 require ABSPATH . 'wp-admin/edit-form-advanced.php'; 76 76 } 77 77 } else { … … 81 81 } 82 82 83 include( ABSPATH . 'wp-admin/admin-footer.php' );83 require_once ABSPATH . 'wp-admin/admin-footer.php';
Note: See TracChangeset
for help on using the changeset viewer.