Change WordPress user roles and capabilities Forums Bug Reports New custom role capabilities not saved Reply To: New custom role capabilities not saved

#8955
Vladimir
Keymaster

SEOPress plugin manages own capabilities itself via own capabilities manager: SEO->Advanced->Security
It executes related code every page load via WordPress ‘init’ action and rewrites seopress capabilities roles distribution from the scratch every time. So Yes, URE updates user role, but SEOPress rewrites it every time according to its own data.

Try to use SEOPress own user role/capabilities manager or switch off SEOPress capabilities manager removing somehow it from WP init hook:
wp-content/plugins/wp-seopress/src/Actions/CustomCapabilities.php, line #40.