Ticket #21511: 21511.patch
| File 21511.patch, 2.7 KB (added by , 14 years ago) |
|---|
-
wp-admin/includes/update-core.php
698 698 699 699 // See do_core_upgrade() 700 700 show_message( __('WordPress updated successfully') ); 701 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>.' ), $new_version, esc_url( self_admin_url( 'about.php?updated' ) )) . '</span>' );702 show_message( '<span class="hide-if-js">' . sprintf( __( 'Welcome to WordPress %1$s. <a href="%2$s">Learn more</a>.' ), $new_version, esc_url( self_admin_url( 'about.php?updated' ) )) . '</span>' );701 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="%2$s">here</a>.' ), $new_version, 'about.php?updated' ) . '</span>' ); 702 show_message( '<span class="hide-if-js">' . sprintf( __( 'Welcome to WordPress %1$s. <a href="%2$s">Learn more</a>.' ), $new_version, 'about.php?updated' ) . '</span>' ); 703 703 echo '</div>'; 704 704 ?> 705 705 <script type="text/javascript"> 706 window.location = ' <?php echo self_admin_url( 'about.php?updated' ); ?>';706 window.location = 'about.php?updated'; 707 707 </script> 708 708 <?php 709 709 -
wp-admin/update-core.php
354 354 } 355 355 356 356 show_message( __('WordPress updated successfully') ); 357 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( self_admin_url( 'about.php?updated' ) )) . '</span>' );358 show_message( '<span class="hide-if-js">' . sprintf( __( 'Welcome to WordPress %1$s. <a href="%2$s">Learn more</a>.' ), $result, esc_url( self_admin_url( 'about.php?updated' ) )) . '</span>' );357 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="%2$s">here</a>.' ), $result, 'about.php?updated' ) . '</span>' ); 358 show_message( '<span class="hide-if-js">' . sprintf( __( 'Welcome to WordPress %1$s. <a href="%2$s">Learn more</a>.' ), $result, 'about.php?updated' ) . '</span>' ); 359 359 ?> 360 360 </div> 361 361 <script type="text/javascript"> 362 window.location = ' <?php echo self_admin_url( 'about.php?updated' ); ?>';362 window.location = 'about.php?updated'; 363 363 </script> 364 364 <?php 365 365 }