Make WordPress Core


Ignore:
Timestamp:
02/16/2026 10:38:01 PM (2 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/image.php

    r60537 r61654  
    8282                    '<span class="full-size-link"><span class="screen-reader-text">%1$s</span><a href="%2$s">%3$s &times; %4$s</a></span>',
    8383                    /* translators: Hidden accessibility text. */
    84                     esc_html_x( 'Full size', 'Used before full size attachment link.', 'twentytwentyone' ), // phpcs:ignore WordPress.Security.EscapeOutput
     84                    esc_html_x( 'Full size', 'Used before full size attachment link.', 'twentytwentyone' ),
    8585                    esc_url( wp_get_attachment_url() ),
    8686                    absint( $metadata['width'] ),
Note: See TracChangeset for help on using the changeset viewer.