Make WordPress Core


Ignore:
Timestamp:
02/16/2026 10:38:01 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-One: Remove EscapeOutput annotations.

These are from the WordPress-Extra standard, which is not included in the phpcs.xml.dist configuration (the repository uses WordPress-Core).

Includes removing unnecessary WPThemeReview annotations carried over from upstream.

Follow-up to [49216].

Props rodrigosprimo.
See #64627.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/inc/back-compat.php

    r60537 r61654  
    8080 */
    8181function twenty_twenty_one_preview() {
    82         if ( isset( $_GET['preview'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
     82        if ( isset( $_GET['preview'] ) ) {
    8383                wp_die(
    8484                        sprintf(
Note: See TracChangeset for help on using the changeset viewer.