Make WordPress Core


Ignore:
Timestamp:
12/21/2020 01:52:58 PM (6 years ago)
Author:
desrosj
Message:

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

Props mukesh27, poena.
Merges [49762] into the 5.6 branch.
Fixes #51954.

Location:
branches/5.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.6

  • branches/5.6/src/wp-content/themes/twentytwentyone/footer.php

    r49829 r49853  
    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.