[wp-trac] [WordPress Trac] #42785: Change default of `show_in_rest` in register_post_type and register_taxonomy
    WordPress Trac 
    noreply at wordpress.org
       
    Fri Mar 30 15:07:00 UTC 2018
    
    
  
#42785: Change default of `show_in_rest` in register_post_type and
register_taxonomy
-------------------------------------------------+-------------------------
 Reporter:  joehoyle                             |       Owner:  pento
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.9.6
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Comment (by youknowriad):
 > For the purposes of Gutenberg, loading the Classic Editor for post types
 with show_in_rest=false seems sufficient to me.
 I strongly disagree with this. The classic editor is there only for
 backwards compatibility concerns, at some point (probably not soon) its
 code will be removed from Core, so conceptually, Gutenberg should be able
 to edit all Post Types with `show_ui` true. Without this we won't be able
 to edit these post types at all.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42785#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list