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

WordPress Trac noreply at wordpress.org
Tue Feb 13 13:47:00 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
--------------------------------------+---------------------------
Changes (by spacedmonkey):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57623" 57623]:
 {{{
 #!CommitTicketReference repository="" revision="57623"
 REST API: Set maximum 'per_page' for embedded REST API requests.

 This enhancement refines the REST API server to automatically establish
 the maximum 'per_page' value for embedded objects, adhering to the
 endpoint's schema when not explicitly defined in the request. This
 adjustment elevates the limit from the default of 10 items to 100 items,
 significantly improving the likelihood of receiving the complete dataset
 of embedded objects.

 Props manyourisms, lpawlik, spacedmonkey, kadamwhite, TimothyBlynJacobs.
 Fixes #43439.
 }}}

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


More information about the wp-trac mailing list