Make WordPress Core

Ticket #38922: 38922.10.diff

File 38922.10.diff, 681 bytes (added by dlh, 7 years ago)
  • src/wp-admin/includes/deprecated.php

    diff --git src/wp-admin/includes/deprecated.php src/wp-admin/includes/deprecated.php
    index f6e249ca5e..61989cb5b9 100644
    function options_permalink_add_js() { 
    15191519 * Ajax handler for tag search.
    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'] ) ) {
    15281528                wp_die( 0 );