698625ce1d
This commit introduces a banner that notifies and prompts users to upgrade their WordPress and/or PHP if they are outdated and not part of the minimum required versions going into WooCommerce 3.7. * Add backward compatible function wp_check_php_version for sites running WP version smaller than 5.1 * Refactor some messaging, move widget to top of WC dashboard widgets, add buttons linking out to WP pages with instructions. * Add missing variables for adding nag class * Add styling to dashboard widget * Rework css to use exclamation instead * Clean up widget, make sure no widget is registered when dismissed. Add banner that links to widget and make it dismissable. * Update constant to reflect minimum requirements. * Don't show banner. Fix undefined variable. * Remove dashboard widget * Update banner link to docs site * Add link to docs page where instructions live for updating * Change button text * Add UTM params to docs link * Moved the msg logic from template to php file. * Bail out early when PHP and WP versions are ok. * Added missing translation functiog * Extracted notice function from reset_admin_notices. To follow suit with other similar functions in the file. * Synchronize fetching of WP version. * Removed unused functions. * Corrected indent. * Reduce number of variables and fixed coding standards * Updated wording of the notice. |
||
---|---|---|
.github | ||
.wordpress-org | ||
apigen | ||
assets | ||
i18n | ||
includes | ||
sample-data | ||
templates | ||
tests | ||
.babelrc | ||
.codeclimate.yml | ||
.codecov.yml | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitattributes | ||
.gitignore | ||
.jshintrc | ||
.scrutinizer.yml | ||
.stylelintrc | ||
.travis.yml | ||
CHANGELOG.txt | ||
CODE_OF_CONDUCT.md | ||
Gruntfile.js | ||
README.md | ||
apigen.neon | ||
composer.json | ||
composer.lock | ||
license.txt | ||
package-lock.json | ||
package.json | ||
phpcs.xml | ||
phpunit.xml | ||
readme.txt | ||
renovate.json | ||
uninstall.php | ||
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
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:
- The WooCommerce premium support portal for customers who have purchased themes or extensions.
- Our community forum on wp.org which is available for all WooCommerce users.
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.
Contributing new features to the WooCommerce REST API
If you'd like to add a feature to the next version of the REST API, contribute here: https://github.com/woocommerce/wc-api-dev