Commit Graph

32145 Commits

Author SHA1 Message Date
Boro Sitnikovski a7f5d87f5e DB received `ENGINE` instead of `engine`, so PHP notices appear 2019-06-27 17:34:08 +02:00
Rodrigo Primo 68f5ccabc1
Merge pull request #23811 from woocommerce/feature/23807
Allow enforce password strength meter on checkout
2019-06-27 11:39:00 -03:00
Rodrigo Primo f3b0d755fd Correct singular form usage in class-wc-admin-report.php
For more information see https://github.com/woocommerce/woocommerce/issues/24004
2019-06-27 11:03:35 -03:00
Rodrigo Primo 3f2cacb1be Use phpcbf to fix phpcs violations in class-wc-admin-report.php 2019-06-27 10:48:31 -03:00
Rodrigo Primo 12d03d8d57
Merge pull request #23863 from Jon007/patch-2
Avoid attempting to cache expired sessions
2019-06-27 10:15:39 -03:00
Rodrigo Primo ba64aea195
Merge pull request #24005 from SergeyBiryukov/patch-1
Correct plural forms usage in loop/result-count.php
2019-06-27 10:14:30 -03:00
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
Mike Jolley 3b974da08f Update readme and contributing docs 2019-06-26 17:20:47 +01:00
Mike Jolley ddc8ccf104 Fix travis config 2019-06-26 17:02:31 +01:00
Mike Jolley d8273768b5 Merge branch 'master' into feature/feature-plugin-packages 2019-06-26 17:00:06 +01:00
Mike Jolley 26391f3fb6 composer install for travis 2019-06-26 16:25:16 +01:00
Claudio Sanches c4df5c9968
Merge pull request #24011 from woocommerce/renovate/husky-2.x
Update dependency husky to v2.6.0
2019-06-26 12:16:18 -03:00
Mike Jolley a0a58cfb15 update from master 2019-06-26 15:26:47 +01:00
Mike Jolley ecb23acf47
Merge pull request #24002 from woocommerce/update/revise-package-loader
Revise package loader + introduce tests
2019-06-26 15:19:36 +01:00
Mike Jolley d17cd3358d Add note on unit tests 2019-06-26 15:17:52 +01:00
Mike Jolley 49c293864d
Merge pull request #23989 from woocommerce/add/package-textdomain-replace
Textdomain replacement for packages
2019-06-26 15:12:54 +01:00
Mike Jolley da766789f6
Merge pull request #23981 from woocommerce/update/init-blocks-package
Init the blocks package
2019-06-26 15:11:18 +01:00
Renovate Bot e84a524e87
Update dependency husky to v2.6.0 2019-06-26 13:39:20 +00:00
Mike Jolley 7a79085ea8
Merge pull request #23979 from woocommerce/update/direct-rest-api-usage
Update direct usage of REST API controllers
2019-06-26 14:18:27 +01:00
Mike Jolley 636bea1002
Merge pull request #23978 from woocommerce/update/include-packages
Include blocks, rest-api, and jetpack-autoloader packages
2019-06-26 13:14:40 +01:00
Mike Jolley b0d043752d
Merge pull request #23977 from woocommerce/remove/gutenberg-blocks
Remove existing Gutenberg Blocks code
2019-06-26 11:52:40 +01:00
Mike Jolley 2d191c83f8
Merge pull request #23959 from woocommerce/remove/core-rest-api
Remove core REST API classes
2019-06-26 11:50:55 +01:00
Mike Jolley cdfb684823
Merge pull request #23958 from woocommerce/update/legacy-api-location
Move legacy API to `/legacy/` directory
2019-06-26 11:48:43 +01:00
Mike Jolley cae7422b98 git mv legacy api 2019-06-26 11:47:08 +01:00
Mike Jolley 10b0aae09e Revert "Move legacy API files from /api/ to /legacy/api"
This reverts commit 00a8ef5d4d.
2019-06-26 11:42:36 +01:00
Sergey Biryukov 9b8a29ac9d
Correct plural forms usage in loop/result-count.php
Fixes #24004.
2019-06-26 05:23:15 +03:00
Claudio Sanches ea63bb6c7b Removed ApiGen build process and requirements 2019-06-25 22:36:03 -03:00
Claudio Sanches d6bd82865c Removed ApiGen files 2019-06-25 22:29:03 -03:00
Mike Jolley 9a8e8dacff Add integration tests 2019-06-25 15:57:44 +01:00
Mike Jolley de06195ae9 Remove API unit tests 2019-06-25 14:25:31 +01:00
Mike Jolley 9a31db1b5a Add packages README 2019-06-25 13:15:44 +01:00
Mike Jolley db6aa55eda Add readme file explaining use of src folder 2019-06-25 13:13:20 +01:00
Mike Jolley f8d6b26e2e Add dedicated Packages loader and Autoloader to init functionality 2019-06-25 13:13:04 +01:00
Mike Jolley 48e1dc5bec Remove init_packages from class-woocommerce 2019-06-25 13:12:14 +01:00
Mike Jolley 6439f2a170 Include src in autoloader 2019-06-25 13:12:02 +01:00
Mike Jolley 17f87277cc Update lock file 2019-06-25 11:04:00 +01:00
Mike Jolley 5bf69132ba Update jetpack autoloader to 1.2.0 2019-06-25 11:01:03 +01:00
MD0123-Hardip 60cafccb37 added new line in update-function.php file 2019-06-25 15:20:26 +05:30
MD0123-Hardip 530d53c428 added new 370 function for currency updater. 2019-06-25 15:17:16 +05:30
Yash Kapoor 84fd2bbca9
Update class-wc-ajax.php
Removed unused code.
2019-06-25 10:58:56 +05:30
Renovate Bot 55bc5ad576
Update dependency eslint to v6 2019-06-25 01:50:51 +00:00
Paul Dechov 421392019e OBW: Adjust size of plugin install highlight to avoid overlap 2019-06-24 21:50:15 -04:00
Claudio Sanches 29d630b099
Merge pull request #23789 from ajayghaghretiya/fix#23784
Fix #23784 Shipping zonde UI issue
2019-06-24 12:40:08 -03:00
Claudio Sanches deec93f8ca
Merge pull request #23769 from mch0lic/master
Forward query (GET) parameters when executing a batch REST API request.
2019-06-24 12:39:36 -03:00
Claudio Sanches 1f73c63a57
Merge pull request #23909 from woocommerce/fix/23895
Explicitly check 0 value attributes when looking up variations.
2019-06-24 12:35:39 -03:00
Claudio Sanches 45f1ac63e0
Merge pull request #23935 from malviyaritesh/fix/23931-sale-tooltip
Change misleading tooltip for product sale meta box
2019-06-24 12:35:04 -03:00
Claudio Sanches fe4dfea8eb
Merge pull request #23771 from woocommerce/fix/23756
Fix Top rated shortcode results
2019-06-24 12:18:57 -03:00
Claudio Sanches 912ee38836
Merge pull request #23812 from woocommerce/fix/rest-api-customers-type
Fixed a typo in customers endpoint
2019-06-24 12:18:15 -03:00
Claudio Sanches 606c0417a9
Merge pull request #23837 from woocommerce/fix/23834
Make NL postcode validation more flexible
2019-06-24 12:17:53 -03:00
Claudio Sanches 8d0e2f632b
Merge pull request #23878 from woocommerce/fix/23865
Shows city as an optional field for Singapore
2019-06-24 12:17:30 -03:00