Commit Graph

32125 Commits

Author SHA1 Message Date
Gerhard 8a972ee5c3 Add check for empty string when checking meta_value since checking an empty string in mysql against an int results in a 0 value. 2019-07-03 12:37:28 +02:00
Gerhard 7ff9788450 Use plugin_path instead of plugin_url. 2019-07-03 11:49:51 +02:00
Gerhard 77e8e36f72 Add notice when assets are not built, introduce grunt assets task for compiling and minifying assets. 2019-07-03 11:46:28 +02:00
Renovate Bot b00f96cf51
Update dependency lint-staged to v9.0.2 2019-07-03 05:54:23 +00:00
Paul Sealock 01f428d34f install plugin 2019-07-03 13:12:24 +12:00
Paul Sealock b65ce3dd26 OBW: Add wc-admin to recommended page 2019-07-03 13:02:07 +12:00
Rodrigo Primo 65644f78f3
Merge pull request #24051 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9.0.1
2019-07-02 14:04:30 -03:00
Rodrigo Primo f1df27bbc1
Merge pull request #24042 from woocommerce/renovate/chromedriver-75.x
Update dependency chromedriver to v75.0.1
2019-07-02 14:03:58 -03:00
Rodrigo Primo 587867f46f
Merge pull request #23983 from woocommerce/renovate/eslint-6.x
Update dependency eslint to v6
2019-07-02 14:02:55 -03:00
Rodrigo Primo 7e79f7027d
Merge pull request #24055 from woocommerce/fix/update-min-version-const-names
Updated constants' names to better reflect their usage.
2019-07-02 13:59:26 -03:00
Peter Fabian 6727fdba62 Updated constants' names to better reflect their usage. 2019-07-02 18:44:43 +02:00
Claudio Sanches cb12b30c85 Fixed @since tag version 2019-07-02 12:51:36 -03:00
Rodrigo Primo 737f6af5e8 Introduce file type check for tax rate importer 2019-07-02 10:44:21 -03:00
Rodrigo Primo 7324e480e7 Fix phpcs violations 2019-07-02 10:43:52 -03:00
Rodrigo Primo cabf9de71a Added nonce check to CSV importer actions 2019-07-02 10:37:46 -03:00
Rodrigo Primo 18813662dd Fix link to documentation about WordPress and PHP minimum requirements 2019-07-02 09:19:39 -03:00
Renovate Bot 8ee9371f00
Update dependency lint-staged to v9.0.1 2019-07-02 11:07:44 +00:00
Gerhard f74c32c17b Add return 2019-07-02 10:25:32 +02:00
Gerhard e08279d190 Add support for namespaced Jetpack tracks_get_identity from Jetpack 7.5 2019-07-02 10:20:57 +02:00
Claudio Sanches 5c1966321f
Merge pull request #24043 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9
2019-07-01 16:53:11 -03:00
Claudio Sanches 3efd4312f3
Merge pull request #24044 from woocommerce/renovate/husky-3.x
Update dependency husky to v3
2019-07-01 16:53:03 -03:00
Renovate Bot 4d2ffbecbe
Update dependency husky to v3 2019-07-01 19:31:52 +00:00
Renovate Bot 55bfd0a1a8
Update dependency lint-staged to v9 2019-07-01 18:21:39 +00:00
Renovate Bot 272e5370a8
Update dependency chromedriver to v75.0.1 2019-07-01 16:17:28 +00:00
Rodrigo Primo 356ad18826
Merge pull request #24003 from woocommerce/remove/apigen
Remove ApiGen
2019-06-28 11:23:36 -03:00
Claudio Sanches 4b269b08aa
Merge pull request #23924 from woocommerce/update/php-minimum-requirements
Set PHP minimum requirement to 5.6
2019-06-28 10:57:38 -03:00
Claudio Sanches 275ef4caac
Merge branch 'master' into update/php-minimum-requirements 2019-06-28 10:56:51 -03:00
Rodrigo Primo bb78174c33 Remove references to apigen from configuration files
Commit d6bd82865c removed apigen from
WooCommerce core repository as we are moving it to its own repository (https://github.com/woocommerce/woocommerce-api-docs). This
commit removes the apigen from configuration files. In most cases, it is
just removing the apigen directory from the exclude list of things like
PHPCS and Code Climate.
2019-06-28 10:20:30 -03:00
Jeff Stieler 4bcc381abc
Merge pull request #24028 from woocommerce/fix/tracks-site-id
Tracks: fix blog ID retrieval from Jetpack options.
2019-06-27 15:18:05 -06:00
Jeff Stieler 3bf58f2d48 Tracks: fix blog ID retrieval from Jetpack options.
JavaScripty syntax resulted in boolean values.
2019-06-27 14:15:17 -06:00
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