[wp-trac] [WordPress Trac] #38922: Use REST API for ajax tag	search
    WordPress Trac 
    noreply at wordpress.org
       
    Thu Mar  2 22:09:26 UTC 2017
    
    
  
#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 adamsilverstein):
 @afercia in [attachment:38922.3.diff] I added a filter on
 `rest_prepare_post_tag` to reduce the returned data. the result is the
 response size now matches the wp-ajax response. We can expand this filter
 if we want to include additional fields.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38922#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list