Changeset 12782 for trunk/wp-admin/ms-sites.php
- Timestamp:
- 01/20/2010 11:01:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r12781 r12782 15 15 wp_die( __('You do not have permission to access this page.') ); 16 16 17 $id = i ntval( $_GET['id'] );17 $id = isset($_GET['id']) ? intval( $_GET['id'] ) : 0; 18 18 $protocol = is_ssl() ? 'https://' : 'http://'; 19 19 20 if ( $_GET['updated'] == 'true' ) {20 if ( isset($_GET['updated']) && $_GET['updated'] == 'true' ) { 21 21 ?> 22 22 <div id="message" class="updated fade"><p> … … 71 71 } 72 72 73 switch ( $_GET['action'] ) { 73 $action = isset($_GET['action']) ? $_GET['action'] : 'list'; 74 75 switch ( $action ) { 74 76 // Edit blog 75 77 case "editblog": … … 310 312 311 313 // List blogs 314 case 'list': 312 315 default: 313 316 $apage = ( isset($_GET['apage'] ) && intval( $_GET['apage'] ) ) ? absint( $_GET['apage'] ) : 1;
Note: See TracChangeset
for help on using the changeset viewer.