Make WordPress Core

Changeset 56473


Ignore:
Timestamp:
08/25/2023 05:42:43 AM (4 months ago)
Author:
audrasjb
Message:

Upgrade/Install: Add missing escaping function for get_option( 'home' ) in upgrade.php.

Props dilipbheda.
Fixes #59199.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/upgrade.php

    r55624 r56473  
    7373<h1><?php _e( 'No Update Required' ); ?></h1>
    7474<p><?php _e( 'Your WordPress database is already up to date!' ); ?></p>
    75 <p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p>
     75<p class="step"><a class="button button-large" href="<?php echo esc_url( get_option( 'home' ) ); ?>/"><?php _e( 'Continue' ); ?></a></p>
    7676
    7777    <?php
Note: See TracChangeset for help on using the changeset viewer.