I agree this is not default behavior. I am editing user roles via the default wordpress interface. If I change user roles via direct database SQL updates, I get normal behavior. Also, if I set or add roles using wp-cli, I too get normal behavior. This issue is strictly when using the default wordpress interface. I do have the Members plugin by MemberPress installed which is used to create additional roles.
Also, this behavior was recently introduced just two days ago. We have two roles that are added to customers (hero, military) that we use to award additional discounts in WooCommerce to front-line/medical/military and we have one person at the company responsible for this, and he edits the roles of users everyday without issue until just two days ago.
I know standard troubleshooting would entail disabling plugins (especially any that were updated in the past few days) but the site is a live production ecommerce site so I do not want to do that.
Any advise? Any insight in to how I can see what SQL statement is called when the page/form is submitted. I assume its called from “wp-admin/user-edit.php” — ideas??
TIA
-
This reply was modified 4 years, 2 months ago by
frankbaris.