Changeset 3420 for trunk/wp-admin/upgrade.php
- Timestamp:
- 01/10/2006 03:06:48 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/upgrade.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade.php
r3186 r3420 68 68 69 69 case 0: 70 $goback = wp_specialchars($_SERVER['HTTP_REFERER'], 1); 70 71 ?> 71 72 <p><?php _e('This file upgrades you from any previous version of WordPress to the latest. It may take a while though, so be patient.'); ?></p> 72 <h2 class="step"><a href="upgrade.php?step=1 "><?php _e('Upgrade WordPress »'); ?></a></h2>73 <h2 class="step"><a href="upgrade.php?step=1&backto=<?php echo $goback; ?>"><?php _e('Upgrade WordPress »'); ?></a></h2> 73 74 <?php 74 75 break; … … 79 80 upgrade_all(); 80 81 wp_cache_flush(); 82 83 if ( empty( $_GET['backto'] ) ) 84 $backto = __get_option('home'); 85 else 86 $backto = wp_specialchars( $_GET['backto'] , 1 ); 81 87 ?> 82 88 <h2><?php _e('Step 1'); ?></h2> 83 <p><?php printf(__("There's actually only one step. So if you see this, you're done. <a href='%s'>Have fun</a>!"), __get_option('home') . '/'); ?></p>89 <p><?php printf(__("There's actually only one step. So if you see this, you're done. <a href='%s'>Have fun</a>!"), $backto); ?></p> 84 90 85 91 <!--
Note: See TracChangeset
for help on using the changeset viewer.