wp-cli-secure-command
wp-cli-secure-command copied to clipboard
Repeated and incorrectly formatted rules in .htaccess causing errors
Describe the bug Repeated and incorrectly formatted rules in .htacces causing errors.
To Reproduce Steps to reproduce the behavior:
- Run
wp secure block-access sensitive-files - Check
.htaccessfile - Each rule is repeated 4 times
Screenshots

Hi @rafaucau thank you for submitting the bug.
This issue has been resolved in the following commit: https://github.com/igorhrcek/wp-cli-secure-command/commit/eb2348c57ad892a519b8280b9e4c124e2d1f908d