igorhrcek / wp-cli-secure-command

Secure package for WP CLI, built to provide an easier way of securing your WordPress installation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repeated and incorrectly formatted rules in .htaccess causing errors

rafaucau opened this issue · 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

Hi @rafaucau thank you for submitting the bug.

This issue has been resolved in the following commit:
eb2348c