Changeset 19442 for trunk/wp-admin/includes/update-core.php
- Timestamp:
- 11/23/2011 11:38:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/update-core.php
r19066 r19442 523 523 } 524 524 525 /** 526 * Redirect to the About WordPress page after a successful upgrade. 527 * 528 * This is a temporary function for the 3.3 upgrade only and will be removed in a later version. 529 * 530 * @since 3.3.0 531 * 532 */ 533 function _redirect_to_about_wordpress() { 534 // Only for WP version < 3.3.0 535 if ( version_compare( $GLOBALS['wp_version'], '3.3.0', '>' ) ) 536 return; 525 537 ?> 538 <script type="text/javascript"> 539 window.location = '<?php echo admin_url( 'about.php?upgraded' ); ?>'; 540 </script> 541 <?php 542 } 543 544 add_action( 'admin_footer-update-core.php', '_redirect_to_about_wordpress' ); 545 ?>
Note: See TracChangeset
for help on using the changeset viewer.