Changeset 19524 for trunk/wp-admin/update-core.php
- Timestamp:
- 12/01/2011 04:38:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r19511 r19524 379 379 if ('up_to_date' != $result->get_error_code() ) 380 380 show_message( __('Installation Failed') ); 381 } else { 382 show_message( __('WordPress updated successfully') ); 383 show_message( '<a href="' . esc_url( self_admin_url() ) . '">' . __('Go to Dashboard') . '</a>' ); 384 } 385 echo '</div>'; 381 echo '</div>'; 382 return; 383 } 384 385 show_message( __('WordPress updated successfully') ); 386 show_message( __('WordPress updated successfully') ); 387 show_message( '<span class="hide-if-no-js">' . sprintf( __( 'Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click <a href="%s">here</a>.' ), $result, esc_url( admin_url( 'about.php?updated' ) ) ) . '</span>' ); 388 show_message( '<span class="hide-if-js">' . sprintf( __( 'Welcome to WordPress %1$s. <a href="%2$s">Learn more</a>.' ), $result, esc_url( admin_url( 'about.php?updated' ) ) ) . '</span>' ); 389 ?> 390 </div> 391 <script type="text/javascript"> 392 //window.location = '<?php echo admin_url( 'about.php?upgraded' ); ?>'; 393 </script> 394 <?php 386 395 } 387 396
Note: See TracChangeset
for help on using the changeset viewer.