Make WordPress Core


Ignore:
Timestamp:
02/14/2026 11:45:50 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: 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 WordPress.WP.CapitalPDangit.Misspelled annotation on the wordpress array key, as the CapitalPDangit sniff skips array definitions by design.

Follow-up to [46271], [46445].

Props rodrigosprimo.
See #64627.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/template-parts/footer-menus-widgets.php

    r53880 r61643  
    3232            if ( $has_footer_menu || $has_social_menu ) {
    3333                ?>
    34                 <div class="footer-top<?php echo $footer_top_classes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- static output ?>">
     34                <div class="footer-top<?php echo $footer_top_classes; ?>">
    3535                    <?php if ( $has_footer_menu ) { ?>
    3636
Note: See TracChangeset for help on using the changeset viewer.