[wp-trac] [WordPress Trac] #45537: Allow block editor to be used on the posts page using filters

WordPress Trac noreply at wordpress.org
Tue May 18 22:38:08 UTC 2021


#45537: Allow block editor to be used on the posts page using filters
-----------------------------+-----------------------------
 Reporter:  cameronjonesweb  |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  5.8
Component:  Editor           |     Version:  5.0
 Severity:  minor            |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------

Comment (by grantmkin):

 Thanks for the prompt feedback!

 I've made all three of the suggested changes in
 https://github.com/WordPress/wordpress-
 develop/pull/1265/commits/30dd67501b2756dd799b85e82fffcbf4ff510099.

 I hooked `_wp_block_editor_posts_page_notice` into `admin_enqueue_scripts`
 (but conditionally based on `$post->ID`), thinking that themes/plugins
 might want to unhook it to remove or override the notice. For example,
 they might provide functionality specific to editing the Posts page that
 makes the notice unnecessary.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45537#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list