Commit Graph

31795 Commits

Author SHA1 Message Date
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
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
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
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 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
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
Renovate Bot e84a524e87
Update dependency husky to v2.6.0 2019-06-26 13:39:20 +00: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
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
Claudio Sanches c04f7b79f9
Merge pull request #23919 from woocommerce/fix/codex-memory-limit-link
Updated documentation about increasing memory allocated to php
2019-06-24 12:12:11 -03:00
Claudio Sanches 35c4183cad
Merge pull request #23966 from woocommerce/fix/23946
Fixed database update tool, fixing System Status, REST API and CLI
2019-06-24 12:11:47 -03:00
Claudio Sanches e2b59d44ee
Merge pull request #23990 from woocommerce/renovate/husky-2.x
Update dependency husky to v2.5.0
2019-06-24 12:09:31 -03:00
Claudio Sanches 09408d9296
Merge pull request #23967 from woocommerce/fix/23947
Fix phone number format to accept "(", and ")"
2019-06-24 12:09:09 -03:00
Renovate Bot 2811ef62f3
Update dependency husky to v2.5.0 2019-06-24 12:52:30 +00:00
Gerhard Potgieter e7762627c3
Merge pull request #23948 from woocommerce/renovate/babel-eslint-10.x
Update dependency babel-eslint to v10.0.2
2019-06-20 11:18:44 +02:00
Gerhard Potgieter 97f500d1de
Merge pull request #23899 from woocommerce/renovate/chromedriver-75.x
Update dependency chromedriver to v75
2019-06-20 11:06:23 +02:00
Gerhard Potgieter e95902847a
Merge pull request #23885 from woocommerce/renovate/stylelint-10.x
Update dependency stylelint to v10.1.0
2019-06-20 11:03:56 +02:00
Claudio Sanches 02aafa1948
Merge pull request #23911 from woocommerce/update/23887
Update auto username generation description
2019-06-19 20:22:02 -03:00
Claudio Sanches ce1b50fd71
Merge pull request #23941 from malviyaritesh/fix/23940-maybe-shipping-section
Remove shipping section from helpful message of login form
2019-06-19 19:51:35 -03:00
Claudio Sanches 88100b8f8e
Merge pull request #23926 from malviyaritesh/fix/23922-quote-in-pass
Stop unslashing password while registering user
2019-06-19 19:39:39 -03:00
Claudio Sanches e759317ef4
Merge pull request #23891 from malviyaritesh/fix/23888
Send boolean as expected, not string
2019-06-19 19:36:34 -03:00
Claudio Sanches ead43a62c5
Merge pull request #23904 from woocommerce/renovate/husky-2.x
Update dependency husky to v2.4.1
2019-06-19 19:22:58 -03:00
Claudio Sanches 569e8a5b8f
Merge pull request #23925 from webdados/patch-2
Display Status > Logs timestamp with the Y-m-d H:i:s format
2019-06-19 19:11:13 -03:00
Claudio Sanches 84c8a2c165
Merge pull request #23936 from malviyaritesh/fix/23923-categories-link
Add missing post_type=product query var in url
2019-06-19 18:59:20 -03:00
Claudio Sanches 9ac21c6c26
Merge pull request #23932 from woocommerce/renovate/lint-staged-8.x
Update dependency lint-staged to v8.2.1
2019-06-19 18:56:14 -03:00
Claudio Sanches eedc871bea Update unit tests for wc_format_phone_number() 2019-06-19 17:44:01 -03:00
Claudio Sanches 7073c6b3a2 Allow "(", and ")" in wc_format_phone_number() 2019-06-19 17:39:08 -03:00
Claudio Sanches d17b96646c Fixed database update tool, fixing System Status, REST API and CLI 2019-06-19 17:19:13 -03:00
Albert Juhé Lluveras 9e641e08dd
Merge pull request #23953 from woocommerce/fix/tracks-pixel-fixed
Set Tracks image position to fixed
2019-06-19 10:41:39 +02:00