Changeset 13301 for trunk/wp-admin/ms-upgrade-network.php
- Timestamp:
- 02/22/2010 06:41:38 PM (15 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-upgrade-network.php
r13292 r13301 7 7 require_once( ABSPATH . WPINC . '/http.php' ); 8 8 9 $title = __('Upgrade Site');9 $title = __('Upgrade Network'); 10 10 $parent_file = 'ms-admin.php'; 11 11 require_once('admin-header.php'); 12 12 13 if ( ! is_super_admin() )13 if ( ! current_user_can( 'manage_network' ) ) 14 14 wp_die( __('You do not have permission to access this page.') ); 15 15 16 16 echo '<div class="wrap">'; 17 17 screen_icon(); 18 echo '<h2>'.__('Upgrade Site').'</h2>';18 echo '<h2>'.__('Upgrade Network').'</h2>'; 19 19 20 20 $action = isset($_GET['action']) ? $_GET['action'] : 'show'; … … 44 44 } 45 45 echo "</ul>"; 46 ?><p><?php _e("If your browser doesn't start loading the next page automatically click this link:"); ?> <a class="button" href="ms-upgrade- site.php?action=upgrade&n=<?php echo ($n + 5) ?>"><?php _e("Next Blogs"); ?></a></p>46 ?><p><?php _e("If your browser doesn't start loading the next page automatically click this link:"); ?> <a class="button" href="ms-upgrade-network.php?action=upgrade&n=<?php echo ($n + 5) ?>"><?php _e("Next Sites"); ?></a></p> 47 47 <script type='text/javascript'> 48 48 <!-- 49 49 function nextpage() { 50 location.href = "ms-upgrade- site.php?action=upgrade&n=<?php echo ($n + 5) ?>";50 location.href = "ms-upgrade-network.php?action=upgrade&n=<?php echo ($n + 5) ?>"; 51 51 } 52 52 setTimeout( "nextpage()", 250 ); … … 59 59 case 'show': 60 60 default: 61 ?><p><?php _e("You can upgrade all the blogs on your site through this page. It works by calling the upgrade script of each blogautomatically. Hit the link below to upgrade."); ?></p>62 <p><a class="button" href="ms-upgrade- site.php?action=upgrade"><?php _e("Upgrade Site"); ?></a></p><?php61 ?><p><?php _e("You can upgrade all the sites on your network through this page. It works by calling the upgrade script of each site automatically. Hit the link below to upgrade."); ?></p> 62 <p><a class="button" href="ms-upgrade-network.php?action=upgrade"><?php _e("Upgrade Network"); ?></a></p><?php 63 63 do_action( 'wpmu_upgrade_page' ); 64 64 break;
Note: See TracChangeset
for help on using the changeset viewer.