A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Gerhard Potgieter 698625ce1d WP & PHP Upgrade Notices (#23975)
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.
2019-06-26 14:09:20 -03:00
.github Fix some grammar issues 2019-04-01 18:15:59 +07:00
.wordpress-org Update screenshots 2019-04-24 12:27:53 -03:00
apigen Hook doc update 2018-05-02 14:28:53 +01:00
assets WP & PHP Upgrade Notices (#23975) 2019-06-26 14:09:20 -03:00
i18n Fixed file version 2019-05-22 21:07:46 -03:00
includes WP & PHP Upgrade Notices (#23975) 2019-06-26 14:09:20 -03:00
sample-data Update shopmanager display name 2019-01-16 16:01:39 +02:00
templates Remove shipping section from helpful message of login form 2019-06-15 17:43:09 +05:30
tests Merge pull request #23771 from woocommerce/fix/23756 2019-06-24 12:18:57 -03:00
.babelrc Initial easy test setup 2017-02-28 12:00:12 -08:00
.codeclimate.yml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
.codecov.yml Attempt to reduce noise in PRs generated by codecov 2018-08-23 17:40:35 -03:00
.editorconfig HTTPS for everybody 2016-05-26 22:48:49 -03:00
.eslintignore Ignore vendor files 2018-11-06 15:31:12 -05:00
.eslintrc Update Gruntfile to make use of node-sass when calling grunt-sass. 2019-01-30 10:12:08 +02:00
.gitattributes Exclude CODE_OF_CONDUCT.md and package-lock.json from the release .zip files 2018-01-29 10:18:57 -02:00
.gitignore Better explain why the screenshots/ directory is excluded from git 2018-06-07 11:32:54 -03:00
.jshintrc Grunt dev 2019-03-15 12:21:51 +00:00
.scrutinizer.yml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
.stylelintrc Updated .stylelintrc config 2018-11-19 19:08:08 -02:00
.travis.yml Fix WP version to 5.1.1, last one that supports PHP < 5.6. 2019-06-13 15:43:59 +02:00
CHANGELOG.txt Updated outdated codex URLs 2019-06-12 19:31:01 -03:00
CODE_OF_CONDUCT.md Fixed a typo 2017-06-19 16:22:40 -03:00
Gruntfile.js Fixed conflicts in SelectWoo .min files 2019-04-23 16:39:50 -03:00
README.md Update README.md 2018-01-04 13:41:25 +00:00
apigen.neon Update apigen config 2019-04-23 10:28:44 +01:00
composer.json Updated woocommerce-sniffs to 0.0.6 2019-03-11 12:34:57 -03:00
composer.lock Grunt dev 2019-03-15 12:21:51 +00:00
license.txt update license/readme URLs to HTTPS where appropriate 2019-05-16 09:32:06 -03:00
package-lock.json Update dependency husky to v2.6.0 2019-06-26 13:39:20 +00:00
package.json Update dependency husky to v2.6.0 2019-06-26 13:39:20 +00:00
phpcs.xml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
phpunit.xml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
readme.txt Updated outdated codex URLs 2019-06-12 19:31:01 -03:00
renovate.json Add renovate.json 2018-11-06 21:00:00 +00:00
uninstall.php Merge branch 'master' into update/erasure-requests 2018-05-02 14:06:47 +01:00
woocommerce.php Bump master to 3.7.0-dev 2019-03-28 14:29:05 -07:00

README.md

WooCommerce

license Latest Stable Version WordPress.org downloads WordPress.org rating Build Status Scrutinizer Code Quality codecov

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:

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