Opened 3 years ago
Last modified 5 weeks ago
#60983 new defect (bug)
wp update 6.5 and 6.5.2 rewrite multisite bdd entries wp_options.siteurl and wp_options.home
| Reported by: | debricon | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Upgrade/Install | Version: | 6.5 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: | multisite |
Description
Wordpress update 6.5 and 6.5.2 rewrite multisite db entries wp_options.siteurl and wp_options.home to one "child" multisite siteurl and home and erasing the main multisite url causing then lots of bugs.
Going into the database and reverting those 2 fields resolve everything.
Happenned again with version 6.5.2
wp-config.php multisite config is perfect and everything was working about the update system in this server for more than 2 years.
Change History (3)
#3
@
5 weeks ago
Test Report
Could not reproduce.
Environment: PHP 8.3.6, MariaDB 10.11, subdirectory multisite (main + 2 subsites), no plugins, default theme.
Steps:
- Fresh 6.4.3 multisite install, created two subsites.
- Upgraded to 6.5 via Core_Upgrader (update_core() path incl. its upgrade_db request).
- Ran Network Admin > Upgrade Network.
- Repeated for 6.5 -> 6.5.2, plus
wp core update-db --network. - Diffed siteurl/home in every wp_*_options table, wp_sitemeta.siteurl and wp_blogs after each step.
Result: siteurl/home unchanged on all sites. Only db_version moved (56657 -> 57155).
Notes: upgrade_650() only adjusts autoload on inactive theme_mods_* rows; 6.5.2 has no DB routine. No core code on the upgrade path writes siteurl or home.
@debricon could you share: how the update was run (Dashboard, auto-update, WP-CLI, or a host tool like Softaculous), subdomain vs subdirectory, whether sunrise.php / domain mapping is in use, whether RELOCATE, WP_HOME or WP_SITEURL are defined, active network plugins, and any object cache drop-in? Without that, this looks environmental.
This appears to belong to the Upgrade / Install or maybe the Networks and Sites component.