Mike Jolley
e025caf177
Widths and aspect ratios
2017-11-07 18:32:43 +00:00
Mike Jolley
54bd73d619
Include theme support in main class
2017-11-07 12:34:11 +00:00
Mike Jolley
2fd540fdf6
Fix theme support checks
2017-11-07 12:33:58 +00:00
Mike Jolley
6701917e5a
Remove need for wc_get_core_supported_themes
2017-11-07 12:17:03 +00:00
Mike Jolley
fb8c6cd0d2
Add compat class for each wp default theme
2017-11-07 12:11:37 +00:00
Mike Jolley
6139ec8de1
Add theme support in the theme compat file
2017-11-07 11:46:43 +00:00
Mike Jolley
2d2156aeca
Fix setting retrievel
2017-11-07 11:46:25 +00:00
Mike Jolley
2f640a1e19
Hide image settings if the theme defines them
2017-11-07 11:04:15 +00:00
Mike Jolley
dae70d9be2
Pull sizes from the theme if defined
2017-11-07 11:04:06 +00:00
Mike Jolley
35dc1431ed
Add comments to add_image_sizes
2017-11-07 11:03:56 +00:00
Claudio Sanches
b24519b0c9
Merge pull request #17594 from woocommerce/fix/17582-downloads
...
Hide downloads from admin emails
2017-11-06 15:30:26 -02:00
Claudio Sanches
955539b648
Merge pull request #17588 from woocommerce/fix/17565
...
Check valid data when filtering wp_nav_menu_objects
2017-11-06 15:29:33 -02:00
Mike Jolley
c824dd7a85
Hide downloads from admin emails
2017-11-06 17:02:35 +00:00
Claudio Sanches
487d7f16cc
Merge pull request #17590 from woocommerce/fix/17544
...
Fix tax row orders count
2017-11-06 15:01:56 -02:00
Mike Jolley
0a4adde9aa
Fix tax row orders count
...
Closes #17544
We had doubled up logic.
2017-11-06 16:20:56 +00:00
Claudio Sanches
eb594b05ef
Merge pull request #17586 from woocommerce/fix/17572-alt
...
Unslash shipping forms and addresses
2017-11-06 14:16:18 -02:00
Mike Jolley
c05e6d02f7
Check valid data when filtering wp_nav_menu_objects
...
Closes #17565
2017-11-06 16:05:19 +00:00
Mike Jolley
668fb1486c
Unslash shipping form
2017-11-06 15:50:52 +00:00
Mike Jolley
fa30b0bb07
Use wp_unslash
2017-11-06 15:48:11 +00:00
Mike Jolley
362867313f
Revert "Issue #17575 - perform stripslashes when setting shipping state to avoid unwanted backslashes"
...
This reverts commit 8771c1f8e2
.
2017-11-06 15:47:43 +00:00
Herb Miller
8771c1f8e2
Issue #17575 - perform stripslashes when setting shipping state to avoid unwanted backslashes
2017-11-06 15:47:31 +00:00
Herb Miller
4c9d411b08
Issue #17570 - stripslashes when setting customer data from the session
2017-11-06 15:47:31 +00:00
Mike Jolley
90203dc704
Set placeholder for variation lxwxh
...
Fixes #17559
2017-11-06 10:44:49 +00:00
Mike Jolley
040443a04d
Out of base rounding error fixes
2017-11-02 20:00:49 +00:00
Tim Howe
1b08688ea6
Checkout Postcode / Zip validation error message missing Billing / Shipping Identification #17474 ( #17535 )
...
* Fix - #17413
Update the `json_search_products` function to use the
`wc_products_array_filter_visible` filter rather then the
`wc_products_array_filter_editable` filter
Added an additional if condition to the `is_visible` function to check
if the product had a parent and it's post status
* remove additional comment from code to keep it clean
* Reverted filter
* Updated the is_visable to check parent product post status using WooCommerce class methods
* Updated the `if empty` check to make it is compatible with older versions of php
* Removed the empty check infavor of just testing on the returned value
Updated the way we are retrieving the partent product object
* Moved the `$parent_product` variable assigment out of the if statement.
* Applied and tested tregenza patch to updates Checkout Postcode / Zip validation error message
* Cleaned up code from testing
2017-11-02 11:54:03 -07:00
Mike Jolley
2e1e9291bc
Remove trailing `.`
...
@claudiulodro Only affects master.
2017-11-02 18:29:34 +00:00
Mike Jolley
98f2fd5685
Merge pull request #17529 from woocommerce/fix/17517
...
Adjust out of base discount logic
2017-11-02 18:20:09 +00:00
Claudiu Lodromanean
d0c1f16f26
Merge pull request #17533 from woocommerce/fix/17509
...
Remove kses from term description
2017-11-02 10:47:57 -07:00
Claudiu Lodromanean
d1157d6f0b
Merge pull request #17521 from woocommerce/fix/sort-tabs-callback
...
For code doing it wrong, ensure priority is set
2017-11-02 10:46:17 -07:00
Mike Jolley
19c288fa5b
Merge pull request #17530 from woocommerce/fix/17526
...
Packages should be shippable until proven otherwise.
2017-11-02 17:36:58 +00:00
Mike Jolley
92a8bdf616
Remove kses from term description
...
Closes #17509
2017-11-02 17:13:02 +00:00
Markus Aurich
b27602db3f
fix: wrong validation of polish postcodes ( #17523 )
2017-11-02 16:55:37 +00:00
claudiulodro
d7161cb711
Refactor it a little bit
2017-11-02 09:24:09 -07:00
Mike Jolley
9ea088f6c9
Adjust discount logic when out of base
2017-11-02 16:18:51 +00:00
Mike Jolley
624c1a9516
Allow items to be sent directly to the discounts class
2017-11-02 16:18:17 +00:00
claudiulodro
a3ffd72842
Packages are shippable until proven otherwise
2017-11-02 09:16:17 -07:00
Mike Jolley
130d719d90
Small rounding error in items table
2017-11-02 15:03:43 +00:00
Mike Jolley
eb1bcee8b9
For code doing it wrong, ensure priority is set
2017-11-02 11:13:24 +00:00
Mike Jolley
bf4063b0cb
Merge pull request #17499 from woocommerce/fix/17492
...
Removed wp_kses_post() from product archive description
2017-11-01 16:48:31 +00:00
Claudiu Lodromanean
9117414dae
Merge pull request #17491 from woocommerce/update/17101
...
wc_caught_exception method
2017-11-01 09:31:57 -07:00
Claudio Sanches
9e29ed0bda
Removed wp_kses_post() from product archive description
...
Fixes #17492
2017-11-01 14:16:19 -02:00
Mike Jolley
8fd6864a23
Merge branch 'pr/17457'
2017-11-01 15:48:57 +00:00
Mike Jolley
7606666de9
woocommerce_pre_customer_bought_product
2017-11-01 15:48:46 +00:00
Mike Jolley
9c096b419f
Merge branch 'pr/17435'
2017-11-01 13:10:37 +00:00
Mike Jolley
9d92b8a8ff
phpcs
2017-11-01 13:10:25 +00:00
Tim Howe
abea378245
Variation Displayed in Cross-Sell and Upsells with Parent's Post Status set to 'draft' and 'pending review' ( #17423 )
...
* Fix - #17413
Update the `json_search_products` function to use the
`wc_products_array_filter_visible` filter rather then the
`wc_products_array_filter_editable` filter
Added an additional if condition to the `is_visible` function to check
if the product had a parent and it's post status
* remove additional comment from code to keep it clean
* Reverted filter
* Updated the is_visable to check parent product post status using WooCommerce class methods
* Updated the `if empty` check to make it is compatible with older versions of php
* Removed the empty check infavor of just testing on the returned value
Updated the way we are retrieving the partent product object
* Moved the `$parent_product` variable assigment out of the if statement.
2017-11-01 12:52:58 +00:00
Mike Jolley
ef4c05a393
Merge branch 'pr/17098'
2017-11-01 12:43:35 +00:00
Mike Jolley
415d1ab061
Use global if it exists to improve performance.
2017-11-01 12:43:26 +00:00
Mike Jolley
ff02941a53
Merge branch 'pr/17434'
2017-11-01 12:32:52 +00:00
Mike Jolley
80dfbc0ced
phpcs tweaks and escaping
2017-11-01 12:32:35 +00:00