Ticket #23540: 23540.3.diff
File 23540.3.diff, 4.4 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/ms.php
528 528 if ( !is_super_admin() ) 529 529 return false; 530 530 if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) 531 echo "<div class='update-nag'>" . sprintf( __( 'Thank you for Updating! Please visit the <a href="%s">Up date Network</a> page to update all your sites.' ), esc_url( network_admin_url( 'upgrade.php' ) ) ) . "</div>";531 echo "<div class='update-nag'>" . sprintf( __( 'Thank you for Updating! Please visit the <a href="%s">Upgrade Network</a> page to update all your sites.' ), esc_url( network_admin_url( 'upgrade.php' ) ) ) . "</div>"; 532 532 } 533 533 add_action( 'admin_notices', 'site_admin_notice' ); 534 534 add_action( 'network_admin_notices', 'site_admin_notice' ); -
wp-admin/network/menu.php
56 56 unset($update_data); 57 57 58 58 $submenu[ 'upgrade.php' ][10] = array( __( 'Available Updates' ), 'update_core', 'update-core.php' ); 59 $submenu[ 'upgrade.php' ][15] = array( __( 'Up date Network' ), 'manage_network', 'upgrade.php' );59 $submenu[ 'upgrade.php' ][15] = array( __( 'Upgrade Network' ), 'manage_network', 'upgrade.php' ); 60 60 61 61 $menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' ); 62 62 -
wp-admin/network/upgrade.php
15 15 16 16 require_once( ABSPATH . WPINC . '/http.php' ); 17 17 18 $title = __( 'Up date Network' );18 $title = __( 'Upgrade Network' ); 19 19 $parent_file = 'upgrade.php'; 20 20 21 21 get_current_screen()->add_help_tab( array( 22 22 'id' => 'overview', 23 23 'title' => __('Overview'), 24 24 'content' => 25 '<p>' . __('Only use this screen once you have updated to a new version of WordPress through Updates/Available Updates (via the Network Administration navigation menu or the Toolbar). Clicking the Up date Network button will step through each site in the network, five at a time, and make sure any database updates are applied.') . '</p>' .25 '<p>' . __('Only use this screen once you have updated to a new version of WordPress through Updates/Available Updates (via the Network Administration navigation menu or the Toolbar). Clicking the Upgrade Network button will step through each site in the network, five at a time, and make sure any database updates are applied.') . '</p>' . 26 26 '<p>' . __('If a version update to core has not happened, clicking this button won’t affect anything.') . '</p>' . 27 27 '<p>' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '</p>' 28 28 ) ); 29 29 30 30 get_current_screen()->set_help_sidebar( 31 31 '<p><strong>' . __('For more information:') . '</strong></p>' . 32 '<p>' . __('<a href="http://codex.wordpress.org/Network_Admin_Updates_Screen" target="_blank">Documentation on Up date Network</a>') . '</p>' .32 '<p>' . __('<a href="http://codex.wordpress.org/Network_Admin_Updates_Screen" target="_blank">Documentation on Upgrade Network</a>') . '</p>' . 33 33 '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 34 34 ); 35 35 … … 40 40 41 41 echo '<div class="wrap">'; 42 42 screen_icon('tools'); 43 echo '<h2>' . __( 'Up date Network' ) . '</h2>';43 echo '<h2>' . __( 'Upgrade Network' ) . '</h2>'; 44 44 45 45 $action = isset($_GET['action']) ? $_GET['action'] : 'show'; 46 46 … … 84 84 break; 85 85 case 'show': 86 86 default: 87 ?><p><?php _e( 'You can update all the sites on your network through this page. It works by calling the update script of each site automatically. Hit the link below to update.' ); ?></p> 88 <p><a class="button" href="upgrade.php?action=upgrade"><?php _e("Update Network"); ?></a></p><?php 87 ?> 88 <h3><?php _e( 'Database Upgrade Required' ); ?></h3> 89 <p><?php _e( 'WordPress has been updated! Before we send you on your way, we need to individually upgrade the sites in your network.' ); ?></p> 90 <p><?php _e( 'The upgrade process may take a little while, so please be patient.' ); ?></p> 91 <p><a class="button" href="upgrade.php?action=upgrade"><?php _e( 'Upgrade Network' ); ?></a></p> 92 <?php 89 93 do_action( 'wpmu_upgrade_page' ); 90 94 break; 91 95 }