[wp-trac] [WordPress Trac] #38922: Use REST API for ajax tag search

WordPress Trac noreply at wordpress.org
Sat Dec 10 12:51:51 UTC 2016


#38922: Use REST API for ajax tag search
--------------------------+------------------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by afercia):

 Replying to [comment:7 swissspidy]:
 > Providing more data in the response will be very useful in the future
 I guess that can be done with AJAX too, if and when there will be the need
 for more data. Adding more data now, when they're not needed, doesn't make
 much sense to me. In this specific example the difference is just ~ 3 KB
 but the REST API response is bigger and slower anyways. Think at the case
 of #38920 where the whole posts are returned, including the post content
 which can be huge in size.

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


More information about the wp-trac mailing list