Tags: wp-cli/checksum-command
Tags
Add --include-root parameter to also verify root directory (#102) * Add --include-root parameter Allows warning for unexpected files in ABSPATH. * Add test for --include-root parameter * when --allow-root is set, do not warn about wp-config.php and wp-contents/plugins/* * PHPCS: align equals signs * Update src/Checksum_Core_Command.php Co-authored-by: Daniel Bachhuber <daniel@bachhuber.co> * when --include-root is enabled, skip entire wp-content directory from extra file checks * add private $include_root variable * update help text to indicate it looks for files and folders * Add test for wp-cli.yml * Update features/checksum-core.feature Co-authored-by: Daniel Bachhuber <daniel@bachhuber.co> * Fix Scenario indentation * Add more tests to clarify expected behavior * Remove extraneous helper * Clean up `wp-cli.yml` scenario * Rebuild README with new flag * Avoid random test failures when the order changes * Remove extraneous argument * Fix these assertions --------- Co-authored-by: Daniel Bachhuber <daniel@bachhuber.co> Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
PreviousNext