Changeset 21706
- Timestamp:
- 09/03/2012 10:07:34 PM (13 years ago)
- File:
-
- 1 edited
-
branches/3.4/wp-admin/includes/update-core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.4/wp-admin/includes/update-core.php
r21704 r21706 681 681 global $wp_version, $pagenow, $action; 682 682 683 if ( version_compare( $wp_version, '3. 4-RC1', '>=' ) )683 if ( version_compare( $wp_version, '3.5-alpha', '>=' ) ) 684 684 return; 685 685 … … 697 697 show_message( __('WordPress updated successfully') ); 698 698 699 $js_message = __( 'Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click <a href="%s">here</a>.' ); 700 $js_message = str_replace( '"%s"', '"%2$s"', $js_message ); // in lieu of breaking the string. 701 699 702 // self_admin_url() won't exist when upgrading from <= 3.0, so relative URLs are intentional. 700 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>' );703 show_message( '<span class="hide-if-no-js">' . sprintf( $js_message, $new_version, 'about.php?updated' ) . '</span>' ); 701 704 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>' ); 702 705 echo '</div>';
Note: See TracChangeset
for help on using the changeset viewer.