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

WordPress Trac noreply at wordpress.org
Wed Apr 12 05:36:59 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 rmccue):

 [attachment:38922.4.diff] moves the function to `wp-
 admin/includes/deprecated.php` and adds a `_deprecated_function` call. It
 also removes the duplicate documentation for the filter. I renamed
 `rest_url` to `restURL` to match the casing of all the rest of the
 parameters there, otherwise it's a bit out of place.

 There's no other filters we need to keep compatibility with AFAICT. There
 are the deeper-level filters inside core, but not sure we need
 compatibility with those? If not, +1 on commit.

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


More information about the wp-trac mailing list