Every time I set this ‘manage options’ capability for my ‘Site Manager’ roles, it revokes as soon as I refresh the page. What’s strange is when I log in as the site manager in a different browser, the permissions are there for one page load, and then they reset.
Is ‘Site Manager’ role created by some plugin? I suppose the situation when that plugin recreates this role every time its loaded.
What if you add ‘manage_options’ to any other role? Will it stay there?
If Yes, use workaround – assign role with ‘manage_options’ to the user with ‘Site Manager’ role as the 2nd one.
I can not repeat this.
I tested SEOPress from wordpress.org and it did not remove ‘manage_options’ from my custom roles. I searched from its source code and did not find any commands related to ‘manage_options’ deletion.