Make WordPress Core

Ticket #62957: 62957.diff

File 62957.diff, 1.9 KB (added by pratiklondhe, 2 months ago)
  • src/wp-admin/setup-config.php

    diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php
    index d2fa4ae8ea..1628553392 100644
    a b switch ( $step ) { 
    204204</p>
    205205<p><?php _e( 'In all likelihood, these items were supplied to you by your web host. If you do not have this information, then you will need to contact them before you can continue. If you are ready&hellip;' ); ?></p>
    206206
    207 <p class="step"><a href="<?php echo $step_1; ?>" class="button button-large"><?php _e( 'Let&#8217;s go!' ); ?></a></p>
     207<p class="step"><a href="<?php echo esc_url( $step_1 ); ?>" class="button button-large"><?php _e( 'Let&#8217;s go!' ); ?></a></p>
    208208                <?php
    209209                break;
    210210
    switch ( $step ) { 
    443443        </label></p>
    444444<textarea id="wp-config" cols="98" rows="15" class="code" readonly="readonly" aria-describedby="wp-config-description"><?php echo $config_text; ?></textarea>
    445445<p><?php _e( 'After you&#8217;ve done that, click &#8220;Run the installation&#8221;.' ); ?></p>
    446 <p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the installation' ); ?></a></p>
     446<p class="step"><a href="<?php echo esc_url( $install ); ?>" class="button button-large"><?php _e( 'Run the installation' ); ?></a></p>
    447447<script>
    448448(function(){
    449449if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) {
    if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) { 
    508508</h1>
    509509<p><?php _e( 'All right, sparky! You&#8217;ve made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to&hellip;' ); ?></p>
    510510
    511 <p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the installation' ); ?></a></p>
     511<p class="step"><a href="<?php echo esc_url( $install ); ?>" class="button button-large"><?php _e( 'Run the installation' ); ?></a></p>
    512512                                <?php
    513513                        else :
    514514                                printf( '<p>%s</p>', $error_message );