Make WordPress Core


Ignore:
Timestamp:
10/01/2023 12:20:53 AM (11 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove redundant ignore annotations, take 4.

This removes ignore annotations related to sniffs which are not used by WP Core (like sniffs in the WordPress-Extra ruleset).

Follow-up to [48072], [51003], [55204], [56714].

Props jrf.
See #59161.

File:
1 edited

Legend:

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

    r56714 r56752  
    20122012     * Ignoring sanitization to avoid altering meta. Ignoring the nonce check because
    20132013     * this is hooked on inner core hooks where a valid nonce was already checked.
    2014      *
    2015      * @phpcs:disable WordPress.Security
    20162014     */
    20172015    $posted_data = isset( $_POST['data']['wp_autosave'] ) ? $_POST['data']['wp_autosave'] : $_POST;
    2018     // phpcs:enable
    20192016
    20202017    $post_type = get_post_type( $new_autosave['post_parent'] );
Note: See TracChangeset for help on using the changeset viewer.