[wp-trac] [WordPress Trac] #49623: Hierarchical Custom Post Types do not show up in the REST API

WordPress Trac noreply at wordpress.org
Thu Mar 12 01:30:48 UTC 2020


#49623: Hierarchical Custom Post Types do not show up in the REST API
-------------------------------+------------------------------
 Reporter:  alanford123        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  4.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  rest-api
-------------------------------+------------------------------
Changes (by TimothyBlynJacobs):

 * keywords:  needs-patch => reporter-feedback
 * focuses:  javascript, rest-api => rest-api
 * version:  5.3.2 => 4.7


Comment:

 Hi @alanford123!

 Welcome to trac and thanks for your ticket!

 Could you try this with all plugins disabled and a stock WordPress theme?
 We have [https://github.com/WordPress/wordpress-
 develop/blob/a44943546ca6259279f2632b1b4890bd7cc5ca22/tests/phpunit/tests
 /rest-api/rest-pages-controller.php#L133 automated tests] to verify that
 all posts are returned, including child posts, when doing a regular
 request to a hierarchical post type.

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


More information about the wp-trac mailing list