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

WordPress Trac noreply at wordpress.org
Mon Jun 18 15:54:55 UTC 2018


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

Comment (by enrico.sorcinelli):

 As I mentioned in my original #44388, the fast patch I proposed will
 transform `/tags` end point (and in general all taxonomies end points) as
 an open proxy end point for all taxonomies even for those that are been
 registered without `show_in_rest`, that maybe in general is not too good.

 Vice-versa, by constraining the search only to REST exposed taxonomies,
 assumes that users has to explicitly register custom taxonomy by setting
 `show_in_rest` to a `true` value.

 So reverting to ajax, seems to be the a reasonable solution.

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


More information about the wp-trac mailing list