[wp-trac] [WordPress Trac] #40408: REST API (v2) Does not handle metadata

WordPress Trac noreply at wordpress.org
Mon Oct 2 19:07:33 UTC 2017


#40408: REST API (v2) Does not handle metadata
--------------------------+-----------------------------
 Reporter:  teamcoltra    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  WordPress.org
Component:  REST API      |     Version:  4.7.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-codex   |     Focuses:  docs, rest-api
--------------------------+-----------------------------

Comment (by sgarza):

 Another behavior of the default REST controller that should be documented
 in the codex is that support for `custom-fields` needs to be declared when
 registering a custom post type or else metafields registered to show in
 rest will not show up in the result at all.

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


More information about the wp-trac mailing list