WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/08/2020 01:30:25 AM (14 months ago)
Author:
TimothyBlynJacobs
Message:

REST API: Introduce search term handler.

This allows for clients to search the available terms via the /wp/v2/search endpoint by using a type=term query parameter.

Fixes #51458.
Props andraganescu, zieladam, noisysocks, TimothyBlynJacobs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r48334 r49103  
    267267require ABSPATH . WPINC . '/rest-api/search/class-wp-rest-search-handler.php';
    268268require ABSPATH . WPINC . '/rest-api/search/class-wp-rest-post-search-handler.php';
     269require ABSPATH . WPINC . '/rest-api/search/class-wp-rest-term-search-handler.php';
    269270require ABSPATH . WPINC . '/sitemaps.php';
    270271require ABSPATH . WPINC . '/sitemaps/class-wp-sitemaps.php';
Note: See TracChangeset for help on using the changeset viewer.