Skip to content

Use PHP constant for plugin management capability#119

Open
vincent-ferotin wants to merge 1 commit intoArsenal21:masterfrom
vincent-ferotin:master
Open

Use PHP constant for plugin management capability#119
vincent-ferotin wants to merge 1 commit intoArsenal21:masterfrom
vincent-ferotin:master

Conversation

@vincent-ferotin
Copy link
Copy Markdown

Use PHP constant for plugin management capability, instead of 'manage_options'.

It seems that PHP constant AIOWPSEC_MANAGEMENT_PERMISSION, defined in all-in-one-wp-security/wp-security-core.php and defaulting to 'manage_options', was not used everywhere in project's sources. This pull request tries to fix that.

Please note that I'm new to using this WordPress plugin, so any here purposed changes could be inappropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant