Make WordPress Core

Changeset 49762


Ignore:
Timestamp:
12/07/2020 02:15:24 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-One: Use esc_url() for the WordPress.org link in footer.php.

Props mukesh27, poena.
Fixes #51954.

File:
1 edited

Legend:

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

    r49759 r49762  
    5959                    /* translators: %s: WordPress. */
    6060                    esc_html__( 'Proudly powered by %s.', 'twentytwentyone' ),
    61                     '<a href="' . esc_attr__( 'https://wordpress.org/', 'twentytwentyone' ) . '">WordPress</a>'
     61                    '<a href="' . esc_url( __( 'https://wordpress.org/', 'twentytwentyone' ) ) . '">WordPress</a>'
    6262                );
    6363                ?>
Note: See TracChangeset for help on using the changeset viewer.