Changeset 14070 for trunk/wp-admin/ms-upgrade-network.php
- Timestamp:
- 04/11/2010 10:41:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-upgrade-network.php
r13998 r14070 11 11 12 12 if ( !is_multisite() ) 13 wp_die( __( 'Multisite support is not enabled.') );13 wp_die( __( 'Multisite support is not enabled.' ) ); 14 14 15 15 require_once( ABSPATH . WPINC . '/http.php' ); 16 16 17 $title = __( 'Update Network');17 $title = __( 'Update Network' ); 18 18 $parent_file = 'ms-admin.php'; 19 19 require_once('admin-header.php'); 20 20 21 21 if ( ! current_user_can( 'manage_network' ) ) 22 wp_die( __( 'You do not have permission to access this page.') );22 wp_die( __( 'You do not have permission to access this page.' ) ); 23 23 24 24 echo '<div class="wrap">'; 25 25 screen_icon(); 26 echo '<h2>' .__('Update Network').'</h2>';26 echo '<h2>' . __( 'Update Network' ) . '</h2>'; 27 27 28 28 $action = isset($_GET['action']) ? $_GET['action'] : 'show'; … … 55 55 } 56 56 echo "</ul>"; 57 ?><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>57 ?><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> 58 58 <script type='text/javascript'> 59 59 <!-- … … 67 67 case 'show': 68 68 default: 69 ?><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>69 ?><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> 70 70 <p><a class="button" href="ms-upgrade-network.php?action=upgrade"><?php _e("Update Network"); ?></a></p><?php 71 71 do_action( 'wpmu_upgrade_page' );
Note: See TracChangeset
for help on using the changeset viewer.