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

WordPress Trac noreply at wordpress.org
Mon Oct 15 16:10:55 UTC 2018

#43439: &_embed only embedding first 10 categories
 Reporter:  manyourisms   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  REST API      |     Version:  4.9.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api

Comment (by kadamwhite):

 I would also feel like we'd get back all embeds. If I have a resource that
 includes a link to that resource's categories, I would expect to be able
 to follow it and get a comprehensive list.

 This obviously raises the question of how to handle situations (rare, but
 they happen) where one post may have 100+ tags or categories. I think to
 start we should hard-cap in that edge-case, but otherwise return a full
 list when embedded.

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

More information about the wp-trac mailing list