[wp-trac] [WordPress Trac] #46406: Creating new multi site not updating wp_domain_mapping table
WordPress Trac
noreply at wordpress.org
Sun Mar 3 14:38:53 UTC 2019
#46406: Creating new multi site not updating wp_domain_mapping table
--------------------------------+-----------------------------
Reporter: milonic | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 5.1
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
I just had problems with cookies and logging into to a new multi site blog
I created. Error was related to Cookies not being set on the browser.
After some debugging, I found that the problem was caused by a missing
entry in the domain_mapping table. Once I added a manual entry the new
blog worked perfectly.
I then decided to see what the problem was and after scanning the code I
cannot find anything that adds or updates the domain_mapping table. The
only code I can see that references domain_mapping is a SELECT statement
inside sunrise.php
Looks like there's some code required to update the domain_mapping table
that used to be in the plugin but isn't in the latest WordPress release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46406>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list