Yes, I can second this. Because of this, Google Search Console won’t process the sitemap, so it’s practically rendered useless because of this bug.
I’m trying to implement a similar functionality. I need to create a front-end ‘switch-to’ link. I tried to assemble the link myself by creating a new _wpnonce for the switch_to_user action, but I’m getting an error.
For example:
/wp-login.php?action=switch_to_user&user_id=XX&_wpnonce=XXXXXXX
(the user_id and _wpnonce variables are dynamicly generated)
Perhaps I should use a different _wpnonce? I’m using the following function to generate the _wpnonce for this action:
wp_create_nonce( 'switch_to_user' );
Thanks
Update: Found the solution in another support topic: https://ww.wp.xz.cn/support/topic/get-users-switch-url/
-
This reply was modified 8 years, 9 months ago by Basticom. Reason: Found the solution