Changeset 43883
- Timestamp:
- 11/09/2018 09:43:29 AM (6 years ago)
- Location:
- branches/5.0/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/includes/post.php
r43882 r43883 1894 1894 if ( isset( $_GET['meta-box-loader'] ) ) { 1895 1895 check_admin_referer( 'meta-box-loader' ); 1896 return false; 1897 } 1898 1899 // The posts page can't be edited in the block editor. 1900 if ( absint( get_option( 'page_for_posts' ) ) === $post->ID && empty( $post->post_content ) ) { 1896 1901 return false; 1897 1902 } -
branches/5.0/src/wp-includes/blocks.php
r43879 r43883 223 223 function _restore_wpautop_hook( $content ) { 224 224 global $wp_filter; 225 $current_priority = $wp_filter['the_content']->current_priority();225 $current_priority = has_filter( 'the_content', '_restore_wpautop_hook' ); 226 226 227 227 add_filter( 'the_content', 'wpautop', $current_priority - 1 );
Note: See TracChangeset
for help on using the changeset viewer.