Changeset 21702
- Timestamp:
- 09/03/2012 09:56:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/update-core.php
r21660 r21702 836 836 // See do_core_upgrade() 837 837 show_message( __('WordPress updated successfully') ); 838 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>' ); 839 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>' ); 838 839 // self_admin_url() won't exist when upgrading from <= 3.0, so relative URLs are intentional. 840 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, 'about.php?updated' ) . '</span>' ); 841 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>' ); 840 842 echo '</div>'; 841 843 ?> 842 844 <script type="text/javascript"> 843 window.location = ' <?php echo self_admin_url( 'about.php?updated' ); ?>';845 window.location = 'about.php?updated'; 844 846 </script> 845 847 <?php
Note: See TracChangeset
for help on using the changeset viewer.