[wp-trac] [WordPress Trac] #43439: &_embed only embedding first 10 categories

WordPress Trac noreply at wordpress.org
Thu Feb 15 07:05:42 UTC 2024


#43439: &_embed only embedding first 10 categories
--------------------------------------+---------------------------
 Reporter:  manyourisms               |       Owner:  spacedmonkey
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.5
Component:  REST API                  |     Version:  4.9.4
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+---------------------------

Comment (by Mamaduka):

 I believe r57623 caused a regression for the `navigation-fallback`
 endpoint. The embedded object no longer returns the
 [[https://core.trac.wordpress.org/changeset/56793|`raw` property values]].

 The regression was missed by the
 `test_embedded_navigation_post_contains_required_fields` test since it
 doesn't match actual usage. It makes separate requests with the `embed`
 context instead of using the `_embed=true` parameter.

 More details in Gutenberg issue -
 https://github.com/WordPress/gutenberg/issues/58987.

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


More information about the wp-trac mailing list