humanmade / Mercator

WordPress multisite domain mapping for the modern era.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what happened to domain alias with wordress 4.9.8

chicco785 opened this issue · comments

we can't add / edit domain aliases anymore :(

I still can on my install, running 4.9.8. Perhaps another plugin is conflicting with Mercator on your site?

Hi, we'd be happy to assist in debugging if you discover the problem is within Mercator, but otherwise per our support policy, we cannot offer general support.

not sure, I solved by changing admin.php:

-       if ( $GLOBALS['parent_file'] !== 'sites.php' || $GLOBALS['submenu_file'] !== 'sites.php' ) {
+       if ( $GLOBALS['parent_file'] !== 'sites.php' && $GLOBALS['submenu_file'] !== 'sites.php' ) {

my tests showed that $GLOBALS['submenu_file'] was empty