1a68abbc28
- Fix how CodeHackerTestHook::executeBeforeTest parses the test name, to account for warnings and tests with data sets. - CodeHackerTestHook now includes a executeAfterTest hook that disables the code hacker (needed to prevent it from inadvertently altering further tests). Also, clear_hacks is executed in executeBeforeTest for the same reason. - CodeHacker gets restore, clear_hacks and is_enabled methods to support the changes in CodeHackerTestHook. - FunctionsMockerHack fixed so that it doesn't modify strings that are class method definitions. - Added the WC_Unit_Test_Case::file_copy method, it must be used instead of the PHP built-in "copy" in tests, otherwise tests that run with the code hacker active will fail. This is something to investigate. |
||
---|---|---|
.github | ||
.wordpress-org | ||
assets | ||
bin | ||
i18n | ||
includes | ||
packages | ||
sample-data | ||
src | ||
templates | ||
tests | ||
.codeclimate.yml | ||
.codecov.yml | ||
.distignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
.scrutinizer.yml | ||
.stylelintrc | ||
.travis.yml | ||
CHANGELOG.txt | ||
CODE_OF_CONDUCT.md | ||
Dockerfile | ||
Gruntfile.js | ||
README.md | ||
babel.config.js | ||
composer.json | ||
composer.lock | ||
docker-compose.yaml | ||
license.txt | ||
package-lock.json | ||
package.json | ||
phpcs.xml | ||
phpunit.xml | ||
readme.txt | ||
renovate.json | ||
uninstall.php | ||
webpack.config.js | ||
woocommerce.php |
README.md
Welcome to the WooCommerce repository on GitHub. Here you can browse the source, look at open issues and keep track of development. We recommend all developers to follow the WooCommerce development blog to stay up to date about everything happening in the project. You can also follow @DevelopWC on Twitter for the latest development updates.
If you are not a developer, please use the WooCommerce plugin page on WordPress.org.
Documentation
- WooCommerce Documentation
- WooCommerce Developer Documentation
- WooCommerce Code Reference
- WooCommerce REST API Docs
Reporting Security Issues
To disclose a security issue to our team, please submit a report via HackerOne here.
Support
This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place through the appropriate channels:
- If you have a problem, you may want to start with the self help guide.
- The WooCommerce.com premium support portal for customers who have purchased themes or extensions.
- Our community forum on wp.org which is available for all WooCommerce users.
- The WooCommerce Help and Share Facebook group.
- For customizations, you may want to check our list of WooExperts or Codeable.
Support requests in issues on this repository will be closed on sight.
Contributing to WooCommerce
If you have a patch or have stumbled upon an issue with WooCommerce core, you can contribute this back to the code. Please read our contributor guidelines for more information how you can do this.