Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Claudio Sanches
0351aa546e
Merge pull request #26462 from db2000ro/fix/24885
...
Fix 24885 currency position RTL
2020-07-01 13:20:01 -03:00
Ron Rennick
7fbe912e19
use wp_timezone_string when available
2020-05-29 07:54:43 -03:00
Daniel Stanciu
946c342b1d
Fix 24885 currency position RTL
...
Wrapped price and currency inside a BDI tag, in order to prevent the
bidirectional algorithm to produce confusing results.
2020-05-11 23:57:13 +03:00
Claudio Sanches
104f40c36e
Merge pull request #24281 from woocommerce/fix/24269
...
Handle multiple decimal points
2019-12-09 14:07:29 -03:00
Claudio Sanches
85635773e9
Fixed coding standards
2019-12-06 12:51:10 -03:00
Claudio Sanches
b4af5f3c89
Updated regex to allow only one decimal point
2019-12-06 11:11:47 -03:00
Rodrigo Primo
444dffdda2
Merge pull request #24391 from woocommerce/fix-hex-is-light
...
Fix typo in function_exits check so function can be properly overridden
2019-08-23 11:14:07 -03:00
David Stone
7a7151bd44
Use brackets s instead of braces to avoid deprecation notice in PHP 7.4
2019-08-21 16:32:23 -06:00
David Stone
3a74d03705
Fix typo in function_exits check so function can be properly overridden
2019-08-12 16:55:08 -06:00
Claudio Sanches
1b2b9d528a
Fixed Netherlands postcode formatting ( #24284 )
...
* Fixed Netherlands postcode formatting
Trim all spaces, fixes issues when postcode is empty.
* Always trim spaces
* Updated unit test for test_wc_format_postcode()
2019-08-09 15:00:40 -03:00
Gerhard
44421facfe
convert string to lowercase before checking value in wc_string_to_bool
2019-08-06 14:10:31 +02:00
Claudio Sanches
83c0e69637
Update wc_format_decimal() tests to check for multiple decimals points
2019-07-31 19:54:58 -03:00
Claudio Sanches
a646d96bec
Make wc_format_decimal() strip multiple decimal separators
2019-07-31 19:48:22 -03:00
Gerhard Potgieter
52f1eb4060
Revert "Prevent negative prices on products"
2019-07-15 08:50:11 +02:00
Claudio Sanches
77191a97f8
Merge pull request #23705 from woocommerce/fix/23696
...
Prevent negative prices on products
2019-07-12 12:56:34 -03:00
Claudio Sanches
78702ca423
Fixed docblock
2019-07-12 12:56:04 -03:00
Claudio Sanches
7073c6b3a2
Allow "(", and ")" in wc_format_phone_number()
2019-06-19 17:39:08 -03:00
Claudio Sanches
9fd6e6d974
Added new $abs arg to wc_format_decimal() function
2019-05-14 13:15:42 -03:00
Gerhard
c601d20b57
Fix alignment
2019-04-18 12:22:22 +02:00
Gerhard
6026d2b9bf
Typecast is sufficient enough
2019-04-18 12:20:59 +02:00
Gerhard
8ca0bd7b4d
Add logic to wc_let_to_num to handle non int values, added unit tests to cover these scenarios
2019-04-17 10:30:49 +02:00
Mike Jolley
c39f447ff4
Merge branch 'fix/22937'
2019-03-12 13:27:13 +00:00
Claudio Sanches
c892ed51a8
Better description
2019-03-07 14:15:10 -03:00
Claudio Sanches
82aeb2a7f4
Introduced new wc_sanitize_phone_number function
2019-03-07 14:07:32 -03:00
Claudio Sanches
8c3ef28d07
Fixed coding standards
2019-03-07 14:07:14 -03:00
Mike Jolley
315b79c5ac
phpcs
2019-03-06 11:41:58 +00:00
Mike Jolley
39bb476db2
Introduce wc_sanitize_coupon_code
2019-03-06 11:41:52 +00:00
Mike Jolley
7def966e4f
Impoved JSON handling
2019-02-20 12:00:47 +00:00
ICT beheer
8eb9393e62
Support for Dutch postcodes
2018-12-30 20:02:59 +01:00
Rodrigo Primo
2c8d006c37
Update PHPCompatibility sniff names
...
The name of some sniffs changed in the most recent PHPCompatiblity version. This commit update all instances where those names are used in WooCommerce codebase.
2018-11-21 11:08:26 -02:00
Rodrigo Primo
e467737653
phpcs fixes
2018-11-21 11:06:42 -02:00
AlexeyKhmyrov
179d0fdc52
Issue #21406 Dimensions in RTL Languages are displayed incorrectly on single product pages.
...
Using '×' instead of 'x' in string '10 x 20 x 30 cm'
2018-10-22 11:29:07 -05:00
AlexeyKhmyrov
a58e907994
Fixed coding standards
2018-10-22 11:27:01 -05:00
claudiulodro
91d2411aa9
Use wc_check_utf8 function
2018-10-05 15:58:50 -04:00
Gerhard Potgieter
c22c92b838
Introduce wc_sanitize_endpoint_slug and run all endpoint sanitization before saving through it to ensure that only valid slugs can be used for endpoints.
2018-09-14 09:35:49 +02:00
Peter Fabian
897af8d20e
Updated phone validation and formatting rules.
2018-08-24 15:43:46 +02:00
Gerhard Potgieter
2df62edec1
Improve the replacement for wc_format_phone_number a bit more, seems like we allow spaces and plus signs, remove non visible unicode with seperate preg_replace
2018-06-27 09:37:44 +02:00
Gerhard Potgieter
7a3caa0608
This changes wc_format_phone_number to discard all characters except numbers and the + sign, not sure if + sign must be stripped but in the current version it was not stripping the + sign
2018-06-27 09:05:32 +02:00
Mike Jolley
cc3fb9751c
eircode formatting
2018-05-03 11:26:22 +01:00
Mike Jolley
bce3c7e94c
Disable anon for now
2018-04-17 15:33:40 +01:00
Mike Jolley
314d949d2c
Background process to cleanup
2018-04-17 15:21:03 +01:00
Claudio Sanches
b008e4b5cf
Fixed includes/wc-formatting-functions.php PHPCS violations
2018-03-08 12:22:58 -03:00
Mike Jolley
70e92302f5
Refactor woocommerce_wp_select so it could be used for a multiselect
2018-01-19 13:36:14 +00:00
Mike Jolley
dbdc3af9e5
Tests
2018-01-12 14:20:39 +00:00
Mike Jolley
7a7995f697
Revert price formatting changes which break in RTL
2018-01-12 14:16:18 +00:00
claudiulodro
2d88654a0a
Always use contrasting color for links
2017-12-21 11:14:14 -08:00
Claudiu Lodromanean
7c06e7d63d
Merge pull request #18008 from woocommerce/update/rounding-17970-17863
...
Rounding fixes/line item rounding
2017-12-07 08:34:15 -08:00
Mike Jolley
36b1753925
Version
2017-12-07 15:41:53 +00:00
Mike Jolley
3e00533183
phpcs
2017-12-05 14:02:40 +00:00