Make WordPress Core

Ticket #59200: footer.patch

File footer.patch, 616 bytes (added by nareshbheda, 22 months ago)

I Found a missing escape in wp-includes/theme-compat/footer.php

  • src/wp-includes/theme-compat/footer.php

    diff --git a/src/wp-includes/theme-compat/footer.php b/src/wp-includes/theme-compat/footer.php
    index 2a719e18f0..6d1ceccac6 100644
    a b _deprecated_file( 
    2323                <?php
    2424                printf(
    2525                        /* translators: 1: Site name, 2: WordPress */
    26                         __( '%1$s is proudly powered by %2$s' ),
     26                        __( '%1$s is proudly powered by <a href="%2$s">%3$s</a>' ),
    2727                        get_bloginfo( 'name' ),
    28                         '<a href="https://wordpress.org/">WordPress</a>'
     28                        esc_url( __( 'https://wordpress.org/' ) ),
     29                        esc_html__( 'WordPress' )
    2930                );
    3031                ?>
    3132        </p>