Ok, thanks for double checking! I’m sorry it’s still not working for your use case here. We’ve tested with several different forms of local development sites without issue, but perhaps there’s some conflict related to Local.
I can take a closer look at how that platform works. Just a hunch, but they might be dynamically adjusting the site URL which could interfere with the X validation code. Regretfully I’ve got some other things I need to get resolved first so I won’t be able to take a closer look until tomorrow. It would be good to test specifically on that platform.
Certainly no pressure or obligation, but off the top of my head I know what I’d check first when the environment is setup. If you have a moment, and a child theme (or other way to run arbitrary PHP) the first thing I’d check is what gets output with this code. I would pretty much just see what happens when this is in functions.php of a child theme.
add_action('init', function() {
var_dump( esc_attr( trailingslashit( network_home_url() ) ) );
});
Mostly talking aloud here and certainly have no expectations of you having to look into it, but knowing that output would be the first thing I’d check. It would likely reveal any discrepancies about how the URL could be different in Local. I’ll have more time to take a closer look tomorrow.
Talk to you soon!