Changeset 19699 for trunk/wp-admin/update-core.php
- Timestamp:
- 01/06/2012 05:53:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r19684 r19699 181 181 } else { 182 182 list( $normalized_version ) = explode( '-', $wp_version ); 183 echo '<p>' . sprintf( __( '<a href="%s">Learn more about WordPress %s</a>.' ), esc_url( admin_url( 'about.php' ) ), $normalized_version ) . '</p>';183 echo '<p>' . sprintf( __( '<a href="%s">Learn more about WordPress %s</a>.' ), esc_url( self_admin_url( 'about.php' ) ), $normalized_version ) . '</p>'; 184 184 } 185 185 dismissed_updates(); … … 383 383 384 384 show_message( __('WordPress updated successfully') ); 385 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>' );386 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>' );385 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>' ); 386 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>' ); 387 387 ?> 388 388 </div> 389 389 <script type="text/javascript"> 390 window.location = '<?php echo admin_url( 'about.php?upgraded' ); ?>';390 window.location = '<?php echo self_admin_url( 'about.php?upgraded' ); ?>'; 391 391 </script> 392 392 <?php
Note: See TracChangeset
for help on using the changeset viewer.