WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/22/2017 03:51:07 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Twenty Seventeen: Use esc_attr_e() for translatable strings in HTML attributes.

Props bor0.
Fixes #40216.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/footer.php

    r38985 r40311  
    2323
    2424                if ( has_nav_menu( 'social' ) ) : ?>
    25                     <nav class="social-navigation" role="navigation" aria-label="<?php _e( 'Footer Social Links Menu', 'twentyseventeen' ); ?>">
     25                    <nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentyseventeen' ); ?>">
    2626                        <?php
    2727                            wp_nav_menu( array(
Note: See TracChangeset for help on using the changeset viewer.