Changeset 43815
- Timestamp:
- 10/24/2018 06:45:26 AM (6 years ago)
- Location:
- branches/5.0/src/wp-admin
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/post-new.php
r42811 r43815 73 73 /** This filter is documented in wp-admin/post.php */ 74 74 if ( apply_filters( 'replace_editor', false, $post ) !== true ) { 75 wp_enqueue_script( 'autosave' ); 76 include( ABSPATH . 'wp-admin/edit-form-advanced.php' ); 75 if ( use_block_editor_for_post( $post ) ) { 76 include( ABSPATH . 'wp-admin/edit-form-blocks.php' ); 77 } else { 78 wp_enqueue_script( 'autosave' ); 79 include( ABSPATH . 'wp-admin/edit-form-advanced.php' ); 80 } 77 81 } 78 82 -
branches/5.0/src/wp-admin/post.php
r41829 r43815 157 157 } 158 158 159 if ( use_block_editor_for_post( $post ) ) { 160 include( ABSPATH . 'wp-admin/edit-form-blocks.php' ); 161 break; 162 } 163 159 164 if ( ! wp_check_post_lock( $post->ID ) ) { 160 165 $active_post_lock = wp_set_post_lock( $post->ID );
Note: See TracChangeset
for help on using the changeset viewer.