Commit Graph

420 Commits

Author SHA1 Message Date
Mike Jolley ba2bf67bb9 Use hash_equals where needed 2017-06-13 13:54:02 +01:00
Boro Sitnikovski 8a615a6e79 Update conditional for non-auth payments 2017-06-05 14:07:49 +02:00
Boro Sitnikovski 4b82a750fc Fix IPN authorization setting orders to completed automatically 2017-06-05 10:07:22 +02:00
Mike Jolley 20637e53b8 For COD orders, force payment complete status to be completed. 2017-05-24 18:48:34 +01:00
Mike Jolley c16acc6b51 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	assets/css/wc-setup-rtl.css
#	assets/css/wc-setup.css
2017-05-23 19:00:24 +01:00
Mike Jolley d3666738d8 Merge branch 'pr/15069' 2017-05-23 18:56:58 +01:00
Mike Jolley 00e5189a05 Merge pull request #15070 from rasmusbe/phpdoc-missing-return-throws
Phpdoc: Add missing return and throws
2017-05-23 18:50:58 +01:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Rasmus Bengtsson 4f00d7e5e3 PHPDoc: Add missing return statement 2017-05-15 13:37:59 +02:00
Mike Jolley bc4d36fd3f Add abspath checks
Closes #14999
2017-05-10 19:03:19 +01:00
Mike Jolley 891e55e1cf Merge pull request #14721 from woocommerce/fix/14670
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley 801f5e1eb1 Avoid escaped quote chars in strings
Closes #14670
2017-04-26 13:51:53 +01:00
Mike Jolley bcd39e9a79 Pass id not object to wc_reduce_stock_levels 2017-04-10 21:55:17 +01:00
Mike Jolley 8fa73602eb Correct calls to wc_reduce_stock_levels in PayPal and Simplify gateways
Fixes #14186
2017-04-10 11:56:52 +01:00
Akeda Bagus 0b416439c8
Fixed all typos of all files in includes/ directory.
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell.
2017-03-29 00:58:51 +07:00
Mike Jolley 129293ab6f Remove array filter
No args should be null/not set since all args defined by WC have values.

Closes #13786
2017-03-28 11:49:27 +01:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Rami Yushuvaev d2457fe922 i18n: escape translation strings and fix wrong usage of i18n functions 2017-03-13 07:39:46 +02:00
Aristeides Stathopoulos 10ffc92a73 Inline control structures are not allowed 2017-03-07 22:24:24 +02:00
Mike Jolley 3df175fbc5 Hide bacs if empty 2017-02-28 12:46:31 +00:00
Claudio Sanches 61b39c206f Removed default instructions, closes #12853 2017-01-17 16:11:49 -02:00
Jon Surrell e4d5886427 Replace log `tag` with log `source` 2016-12-29 11:58:43 +01:00
Jon Surrell 03889f77cc Update use of deprecated wc_get_log_file_path 2016-12-29 11:58:43 +01:00
Jon Surrell aee5917440 Change wc_safe_dump to wc_print_r
Match print_r arguments, this makes usage obvious.
2016-12-29 11:58:43 +01:00
Jon Surrell 66b0620f7c remove print_r calls from paypal handler 2016-12-29 11:58:42 +01:00
Jon Surrell 96f9de2106 update paypal gateway logs 2016-12-29 11:58:42 +01:00
Jon Surrell 36201d38ec Update paypal gateway log method 2016-12-29 11:58:42 +01:00
Mike Jolley 56fef5b4f6 More styling settings tweaks 2016-12-21 11:36:48 +00:00
Mike Jolley 23c500986e Limit lengths of PayPal Args 2016-12-20 10:58:10 +00:00
Mike Jolley dcc47e395f Add email for case #12603
Closes #12603
2016-12-15 15:21:53 +00:00
Mike Jolley 36f7c3c810 woocommerce_paypal_line_item filter
Closes #12554
2016-12-09 16:59:29 +00:00
Mike Jolley edfc54dff5 Add image_url setting to PayPal Standard. 2016-12-08 12:28:05 +00:00
Mike Jolley b620a8c8fb Move paypal CMD to end of post vars. 2016-11-25 11:41:49 +00:00
Claudio Sanches 10f10d1644 [2.6] Ensure that PayPal always receive float amounts, closes #12291 (#12293) 2016-11-10 10:18:35 +00:00
Rami Yushuvaev 9469673c05 a11y: remove unneeded `title` attributes 2016-11-04 17:40:15 +02:00
Claudio Sanches 2de494e105 Merge pull request #12219 from ramiy/i18n-translation-comments
i18n: add translators comments
2016-11-03 13:24:35 -02:00
Mike Jolley 32e814eef1 Use all paid statuses in $customer->get_total_spent() 2016-11-03 11:27:03 +00:00
Rami Yushuvaev 8ab8bef52e add translators comments 2016-10-29 13:51:56 +03:00
Claudio Sanches fa0c710802 i18n <a> links, closes #12195 2016-10-27 15:36:24 -02:00
Rami Yushuvaev 140d0efb99 i18n: Avoid using HTML tags in translation strings (#12166)
* i18n: Remove some HTML tags from translation strings

* i18n: simpler translation string

* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string

* i18n: Avoide using `<code>' HTML tags in translation strings

* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Claudio Sanches 07ae13c51b Fixed coding standards recommended by WPCS 2016-10-13 16:51:18 -03:00
Attila Donáth 2968850786 Setup general properties in a separate method #12085
It is easier to extend the gateway class like that.
2016-10-13 18:23:51 +02:00
Attila Donáth 14f563fe02 Eliminate hardcoded payment method IDs #12085 2016-10-13 18:23:41 +02:00
Mike Jolley 5304d6ef9d Add filters and include meta in item names sent to paypal
Closes #12022
2016-10-13 15:18:01 +01:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Rami Yushuvaev 83e938af1e i18n: Merge similar translation strings to reduce the total strings count #11905 2016-10-11 04:39:13 +03:00
Claudio Sanches a1e2c24c9c Credit card input attribute like Stripe 2016-10-07 17:11:47 -03:00
Claudio Sanches 843efae178 Change cc number field from text to tel, closes #12037 2016-10-07 15:53:12 -03:00
Aristeides Stathopoulos 9668247b95 WordPress.PHP.YodaConditions.NotYoda 2016-09-09 03:14:28 +03:00