Changeset 38827 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 10/19/2016 10:26:31 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r38743 r38827 619 619 do_action( 'core_upgrade_preamble' ); 620 620 echo '</div>'; 621 622 wp_localize_script( 'updates', '_wpUpdatesItemCounts', array( 623 'totals' => wp_get_update_data(), 624 ) ); 625 621 626 include(ABSPATH . 'wp-admin/admin-footer.php'); 622 627 … … 642 647 if ( isset( $_POST['upgrade'] ) ) 643 648 do_core_upgrade($reinstall); 649 650 wp_localize_script( 'updates', '_wpUpdatesItemCounts', array( 651 'totals' => wp_get_update_data(), 652 ) ); 644 653 645 654 include(ABSPATH . 'wp-admin/admin-footer.php'); … … 671 680 echo '<iframe src="', $url, '" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0" title="' . esc_attr__( 'Update progress' ) . '"></iframe>'; 672 681 echo '</div>'; 682 683 wp_localize_script( 'updates', '_wpUpdatesItemCounts', array( 684 'totals' => wp_get_update_data(), 685 ) ); 686 673 687 include(ABSPATH . 'wp-admin/admin-footer.php'); 674 688 … … 701 715 </div> 702 716 <?php 717 718 wp_localize_script( 'updates', '_wpUpdatesItemCounts', array( 719 'totals' => wp_get_update_data(), 720 ) ); 721 703 722 include(ABSPATH . 'wp-admin/admin-footer.php'); 704 723 … … 720 739 $upgrader = new Language_Pack_Upgrader( new Language_Pack_Upgrader_Skin( compact( 'url', 'nonce', 'title', 'context' ) ) ); 721 740 $result = $upgrader->bulk_upgrade(); 741 742 wp_localize_script( 'updates', '_wpUpdatesItemCounts', array( 743 'totals' => wp_get_update_data(), 744 ) ); 722 745 723 746 require_once( ABSPATH . 'wp-admin/admin-footer.php' );
Note: See TracChangeset
for help on using the changeset viewer.