WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/09/2019 12:57:27 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Consistently use do_action_deprecated() and apply_filters_deprecated() for deprecated hooks.

Props jrf.
See #48255.

File:
1 edited

Legend:

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

    r46474 r46684  
    547547             * @param string $query_string The query string to modify.
    548548             */
    549             $this->query_string = apply_filters( 'query_string', $this->query_string );
     549            $this->query_string = apply_filters_deprecated(
     550                'query_string',
     551                array( $this->query_string ),
     552                '2.1.0',
     553                'query_vars, request'
     554            );
    550555            parse_str( $this->query_string, $this->query_vars );
    551556        }
Note: See TracChangeset for help on using the changeset viewer.