Normalize the plugin code
-
Hi,
I would love to use your plugin but it fails to work on my specific setup because you are fetching your options before any other hook can be triggered which means that no one can interact with it.
Can you tell the reason why you are calling
$loginlockdownOptions = get_loginlockdownOptions();
on the main script instead of only when you need it?I would advise some refactor too to be compliant with WP code style convention (I’m not an expert for that though).
I would also recommend to rename the option as all WP options are snake case.
Would you agree on a fork and pull request?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Normalize the plugin code’ is closed to new replies.