Commit Graph

18598 Commits

Author SHA1 Message Date
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
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 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
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
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 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 09408d9296
Merge pull request #23967 from woocommerce/fix/23947
Fix phone number format to accept "(", and ")"
2019-06-24 12:09:09 -03: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 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 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 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
Jonathan Moore d8470aa45a
implementing review from @claudiosanches 2019-06-18 21:20:39 +01:00
Claudio Sanches 4061f870a2
Merge pull request #23720 from parmarhardip/FIX-23589
fix- 23589 I have fixed pricing issue.
2019-06-18 16:04:45 -03:00
Claudio Sanches e18481e795
Merge pull request #23824 from woocommerce/fix/23799
Update Emogrifier library
2019-06-18 16:03:40 -03:00
Claudio Sanches e849a5e044
Merge pull request #23877 from jdeeburke/fix/apply-coupon-fatal
Fix fatal error when applying a virtual coupon to an order placed by a guest
2019-06-18 16:00:39 -03:00
Claudio Sanches a36dcf8aae
Merge pull request #23849 from woocommerce/fix/wc-tracker-reviews
Tracker: fix review count
2019-06-18 15:52:25 -03:00
Claudio Sanches 96787d62f9
Merge pull request #23828 from Jon007/patch-1
Avoid outputting a rating of zero when product has comments without a review rating.
2019-06-18 15:51:55 -03:00
Claudio Sanches bf01eccfcd
Merge pull request #23840 from unfulvio/23839-do-not-throw-notice-rest-api-includes
[#23839] Do not throw autoloader notice if following notice instructions
2019-06-18 15:51:22 -03:00
Albert Juhé Lluveras 26c2d49586 Set Tracks image position to fixed 2019-06-18 13:05:30 +02:00
rmalviya 4190e9fd4b Add missing post_type=product in url
Show Products->Categories active when clicked on "Make Default" link
under any product category and fix #23923.
2019-06-14 12:28:08 +05:30
rmalviya 0e896f82fa Change misleading tooltip for product sale meta box
Clarify the sale start and end time by changing the tooltip for
product sale price dates and fix #23931.
2019-06-14 11:12:54 +05:30
rmalviya 5df3621640 Do not unslash password when resetting
Similar to PR(#23926) don't unslash password fields when posted
while resetting password or changing account details.
2019-06-14 09:16:21 +05:30
rmalviya 01025f9628 Stop unslashing password while registering user
After 79ff1b10e password is not unslashed while logging in but
this missed removing `wp_unslash` from password while registering.
This causes the mismatch of password if user registered with a
password containing quote (`"`).
Fixes #23922.
2019-06-14 09:16:21 +05:30
Marco Almeida 3b7be608e4
Display Status > Log timestamp with the Y-m-d H:i:s format
Display WooCommerce > Statis > Log timestamp, when using WC_Log_Handler_DB, with the Y-m-d H:i:s format instead of the WordPress global date and time format options, because we need more detail on the shown timestamps and that might not be compatible with what we want for our global options.
2019-06-13 10:58:41 +01:00
Claudio Sanches 3ce6acec74 Updated outdated codex URLs 2019-06-12 19:31:01 -03:00
Claudio Sanches 5624af43a7 Updated docs about increasing memory allocated to php 2019-06-12 19:04:24 -03:00
Gerhard 84b6fa144f Update description for automatic username generation to reflect how it actually works. 2019-06-12 12:13:41 +02:00
Gerhard 3894d156e6 Explicitly check 0 value attributes when looking up variations. 2019-06-12 11:27:27 +02:00
rmalviya 5bf8adf2dd Send boolean as expected, not string
Originally checkout.js:336 expected string but changed to boolean
with 4ad370985. Send boolean for `reload` in json and fix #23888.
2019-06-08 20:12:44 +05:30
Claudio Sanches c0a9b57d72 Shows city as an optional field for Singapore 2019-06-06 20:13:55 -03:00
Jared Burke 332c94c13a Fix fatal error when applying a virtual coupon to an order placed by a guest 2019-06-06 15:37:08 -05:00
Dan Wyman 3edd30757b Tracker: apply coding standards. 2019-06-06 13:23:11 -07:00