| @@ -1595,8 +1595,12 @@ | ||
| 1595 | 1595 | } |
| 1596 | 1596 | |
| 1597 | 1597 | if ( ! empty( $update_data ) ) { |
| 1598 | 1598 | MainWP_DB::instance()->update_website_values( $site->id, $update_data ); |
| 1599 | + if ( isset( $update_data['url'] ) ) { | |
| 1600 | + // A user-set URL that diverges from the child-reported address locks auto-correction. | |
| 1601 | + MainWP_Site_Url_Corrector::after_user_set_url( $site, $update_data['url'] ); | |
| 1602 | + } | |
| 1599 | 1603 | } |
| 1600 | 1604 | |
| 1601 | 1605 | if ( isset( $input['tag_ids'] ) && is_array( $input['tag_ids'] ) ) { |
| 1602 | 1606 | global $wpdb; |