[wp-trac] [WordPress Trac] #61811: Set editor rendering mode by post type

WordPress Trac noreply at wordpress.org
Wed Mar 12 14:54:46 UTC 2025


#61811: Set editor rendering mode by post type
---------------------------------------+-----------------------
 Reporter:  TyB                        |       Owner:  Mamaduka
     Type:  enhancement                |      Status:  closed
 Priority:  normal                     |   Milestone:  6.8
Component:  Editor                     |     Version:
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch  |     Focuses:
---------------------------------------+-----------------------

Comment (by Mamaduka):

 This regressed after r59968. See
 https://github.com/WordPress/gutenberg/issues/69543.

 The `wp_set_editor_default_mode` should use `init` hook and run after
 `create_initial_post_types`.

 I'll create PR shortly. cc @joemcgill

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


More information about the wp-trac mailing list