Make WordPress Core


Ignore:
Timestamp:
02/25/2018 04:27:57 PM (6 years ago)
Author:
adamsilverstein
Message:

Taxonomy: restore TagSearch unit tests and correct deprecated version string.

Reverts unit test removal, instead changing them to expect the function to be deprecated.
Correct the version the ajax callback was deprecated.

Amends [42614].

Props dlh, ocean90.
Fixes #38922.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/deprecated.php

    r42614 r42737  
    15201520 *
    15211521 * @since 3.1.0
    1522  * @deprecated 4.9.0 Use the REST API tags endpoint instead.
     1522 * @deprecated 5.0.0 Use the REST API tags endpoint instead.
    15231523 */
    15241524function wp_ajax_ajax_tag_search() {
    1525     _deprecated_function( __FUNCTION__, '4.8', '/wp-json/wp/v2/tags' );
     1525    _deprecated_function( __FUNCTION__, '5.0.0', '/wp-json/wp/v2/tags' );
    15261526
    15271527    if ( ! isset( $_GET['tax'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.