Networks and Sites: Remove unused variable in populate_networks().

This commit simply removes a `$network_exists` variable (introduced in r41384) that was never used.

Props mukesh27, Soean.

Fixes #64851.
Built from https://develop.svn.wordpress.org/trunk@61992


git-svn-id: http://core.svn.wordpress.org/trunk@61274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
johnjamesjacoby
2026-03-12 18:24:49 +00:00
parent 7456e7f615
commit 39efea18a4
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1033,7 +1033,6 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam
}
// Check for network collision.
$network_exists = false;
if ( is_multisite() ) {
if ( get_network( $network_id ) ) {
$errors->add( 'siteid_exists', __( 'The network already exists.' ) );
+1 -1
View File
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-beta5-61991';
$wp_version = '7.0-beta5-61992';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.