Make WordPress Core

Ticket #59200: 59200.1.patch

File 59200.1.patch, 1.3 KB (added by pitamdey, 20 months ago)

Updated Patch

  • wp-activate.php

     
    128128        <?php if ( ! $key ) { ?>
    129129
    130130                <h2><?php _e( 'Activation Key Required' ); ?></h2>
    131                 <form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( $blog_details->path . 'wp-activate.php' ); ?>">
     131                <form name="activateform" id="activateform" method="post" action="<?php echo esc_url( network_site_url( $blog_details->path . 'wp-activate.php' ) ); ?>">
    132132                        <p>
    133133                                <label for="key"><?php _e( 'Activation Key:' ); ?></label>
    134134                                <br /><input type="text" name="key" id="key" value="" size="50" autofocus="autofocus" />
  • wp-includes/theme-compat/footer.php

     
    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>