wp-cli-secure-command icon indicating copy to clipboard operation
wp-cli-secure-command copied to clipboard

Repeated and incorrectly formatted rules in .htaccess causing errors

Open rafaucau opened this issue 3 years ago • 1 comments

Describe the bug Repeated and incorrectly formatted rules in .htacces causing errors.

To Reproduce Steps to reproduce the behavior:

  1. Run wp secure block-access sensitive-files
  2. Check .htaccess file
  3. Each rule is repeated 4 times

Screenshots image

rafaucau avatar Apr 11 '22 22:04 rafaucau

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

igorhrcek avatar Apr 12 '22 14:04 igorhrcek