Make WordPress Core


Ignore:
Timestamp:
10/02/2023 11:25:35 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove redundant ignore annotations, take 5.

The VariableAnalysis standard is not used by WP Core.

Follow-up to [50958], [51003], [52049], [52051], [52069], [53072], [54132], [55132], [56363], [56738], [56743], [56751], [56752].

Props jrf.
See #59161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php

    r56586 r56753  
    107107
    108108        $query_args['locale']             = get_user_locale();
    109         $query_args['wp-version']         = $wp_version; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable -- it's defined in `version.php` above.
     109        $query_args['wp-version']         = $wp_version;
    110110        $query_args['pattern-categories'] = isset( $request['category'] ) ? $request['category'] : false;
    111111        $query_args['pattern-keywords']   = isset( $request['keyword'] ) ? $request['keyword'] : false;
Note: See TracChangeset for help on using the changeset viewer.