Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi JSheridanFR,

    I think the capability argument is what you want to work with. What you describe is how I would expect it to work — use a custom capability and assign that capability to a user.

    I’m not able to test this right now and will be pretty distracted with the holidays until the new year. But I will try to take a look at it if I get a chance.

    Hi JSheridanFR,

    I finally had a chance to look at this and you’re right, it’s a bug. Thanks for bringing this to my attention. I’ve fixed the problem in the underlying settings library and a fix will go out with the next version of Restaurant Reservations (should be soon, got a big update coming!).

    If it’s urgent you can see the fix in this commit. You’ll find the files under wp-content/plugins/restaurant-reservations/lib/simple-admin-pages.

    (By the way, you can make this change to the capability without ever touching the code for Restaurant Reservations! That way you can update without any problems.)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Capability to change settings’ is closed to new replies.