diff --git a/wp-admin/network/site-info.php b/wp-admin/network/site-info.php
index 50f287d..ecb0945 100644
a
|
b
|
if ( isset( $_REQUEST['action'] ) && 'update-site' == $_REQUEST['action'] ) { |
78 | 78 | } |
79 | 79 | $update_parsed_url = parse_url( $blog_data['url'] ); |
80 | 80 | |
| 81 | // Check if the URL is valid |
| 82 | |
| 83 | if ( ! isset( $update_parsed_url['scheme'] ) || ! isset( $update_parsed_url['host'] ) || ! isset( $update_parsed_url['path'] ) ) { |
| 84 | wp_die( __( sprintf( 'The provided Site URL: %s is not valid.' , $blog_data['url'] ) ) ); |
| 85 | } |
| 86 | |
81 | 87 | $blog_data['scheme'] = $update_parsed_url['scheme']; |
82 | 88 | $blog_data['domain'] = $update_parsed_url['host']; |
83 | 89 | $blog_data['path'] = $update_parsed_url['path']; |