wp-admin edit user url wont show up correct url [closed]

was expecting the edit url (shot below) would point me to something like:

website.co/wp-admin/user-edit.php?user_id=7&wp_http_referer=%2Fwp-admin%2Fusers.php <– expected url

Instead of

website.co/my-account/edit-account/&wp_http_referer=%2Fwp-admin%2Fusers.php <– ended up here

Also, I’ve read through some forums it might conflict with woocommerce or other plugins but tried to disabling all those plugins and still gave me the wrong link. Did I missing something? thanks

enter image description here

1 Answer
1

@Paul G. you’re right, switched to another theme showed the right link for editing user.

My bad though, I missed functions.php from child theme where its modified add_filter('get_edit_user_link', ...

Leave a Comment