[wp-trac] [WordPress Trac] #41273: WP REST API: allow separate add_post_type_support() for post when accessing via REST vs WP Admin

WordPress Trac noreply at wordpress.org
Sun Sep 30 14:23:53 UTC 2018


#41273: WP REST API: allow separate add_post_type_support() for post when accessing
via REST vs WP Admin
-----------------------------+---------------------------
 Reporter:  lougreenwood     |       Owner:  (none)
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  REST API         |     Version:  4.8
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |     Focuses:  ui, rest-api
-----------------------------+---------------------------
Changes (by danielbachhuber):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 @lougreenwood Rather than using `remove_post_type_support()` to disable
 the corresponding UI in the admin, I'd suggest unregistering the meta box
 instead. Unregistering the meta box is a bit more conceptually precise, as
 it's only impacting the UI.

 Closing as `wontfix` because I don't think we'll be changing the REST API
 behavior at this point. Happy to chat in Slack if you want to discuss
 potential alternatives.

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


More information about the wp-trac mailing list