Admin custom option screen not saved unless user manage_options capability

Question

I am running into exactly the problem described by this Trac: https://core.trac.wordpress.org/ticket/14365

I see that one of the devs added a Diff here: https://core.trac.wordpress.org/attachment/ticket/14365/14365.api.diff, which looks like it would add the ability to register the exact capability the user should have, to save the options — without needing the user to have broad “manage_options” capability which I do not want them to have since it exposes too many other things in Admin.

OK, so that Diff looks good to me. But it looks like it was never implemented, and this Trac request was never really resolved.

Am I reading all of that correctly? There is no fix for this issue?

Seems I’d need to resort to something very ugly, like temporarily adding then removing “manage_options” capability (?)

0
, C C 6 years 2015-11-10T12:23:24-05:00 0 Answers 57 views 0

Leave an answer

Browse
Browse