[wp-trac] [WordPress Trac] #45263: The posts page is editable in the block editor

WordPress Trac noreply at wordpress.org
Fri Nov 2 13:28:31 UTC 2018


#45263: The posts page is editable in the block editor
--------------------------+-----------------------------
 Reporter:  Chouby        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WordPress used to remove the editor for the posts page thanks to:

 {{{
 if ( $post_ID == get_option( 'page_for_posts' ) && empty(
 $post->post_content ) ) {
         add_action( 'edit_form_after_title', '_wp_posts_page_notice' );
         remove_post_type_support( $post_type, 'editor' );
 }
 }}}
 in `edit-form-advanced.php`.

 This behavior is lost with the block editor in WP 5.0.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45263>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list