WebDevStudios / taxonomy-switcher

Taxonomy Switcher
GNU General Public License v2.0
30 stars 5 forks source link

Consider syncing capability checks #7

Open tw2113 opened 4 years ago

tw2113 commented 4 years ago

We check for manage_options for the admin screen, but install_plugins for the actual action of running the switching.

Perhaps make install_plugins the requirement to even see the admin screen?

Original issue: https://wordpress.org/support/topic/does-not-respect-capabilities-canyou-please-fix-asap/#post-12748575

sc0ttkclark commented 4 years ago

I suggest manage_options should be the capability used for both.