Skip to content

Commit

Permalink
feat: Removed unnecessary commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
igorhrcek committed Mar 21, 2022
1 parent 7c0b8e1 commit dd09139
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions secure-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,4 @@
require_once __DIR__ . '/vendor/autoload.php';
}

\WP_CLI::add_command('secure', SecureCommand::class);

//wp secure disable-directory-browsing
//wp secure block-php-execution-in-uploads
//wp secure block-php-execution-in-themes
//wp secure block-php-execution-in-plugins
//wp secure block-php-execution-in-wp-includes
//wp secure block-access-to-htaccess
//wp secure block-access-to-sensitive-files
//wp secure block-access-to-sensitive-directories
//wp secure block-author-scanning
//wp secure block-access-to-xml-rpc

//wp secure add --rules=disable-directory-browsing,block-php-execution-in-uploads --output --path
//wp secure remove --rules=disable-directory-browsing,block-php-execution-in-uploads
//wp secure flush
//wp secure block-access-to-htaccess --revert
//wp secure block-access-to-htaccess --path=/path/to/htaccess --output
\WP_CLI::add_command('secure', SecureCommand::class);

0 comments on commit dd09139

Please sign in to comment.