Mike Jolley
9c327f09db
Sale logic only applies to simple products - fixes tests
2017-09-26 12:53:38 +01:00
Mike Jolley
00ae606381
Merge pull request #16924 from woocommerce/fix/wistia
...
Replace wistia videos with youtube
2017-09-26 11:32:45 +01:00
claudiulodro
a74ccdb4d1
https the oembed url
2017-09-25 14:48:05 -07:00
Claudio Sanches
b68b4eeb6b
Fixed 'Download %d URL' string
2017-09-25 14:14:55 -03:00
Claudio Sanches
9fc6615909
Removed new translatable string introduced in #16843
...
Fixes #16843
2017-09-25 14:13:50 -03:00
Mike Jolley
c325ebfb2e
Tweak branding in embed code
2017-09-25 15:15:41 +01:00
Mike Jolley
4ea80ffa9e
Youtube videos
2017-09-25 15:07:02 +01:00
Claudio Sanches
6164be51d3
Escape classes in data panel
2017-09-25 10:56:14 -03:00
Claudio Sanches
9b528678b0
Merge pull request #16920 from woocommerce/fix/16907
...
Handle sale dates on the fly in case of missed cron schedule.
2017-09-25 07:43:46 -06:00
Mike Jolley
4695d7a251
Handle sale dates on the fly in case of missed cron schedule.
...
Closes #16907
2017-09-25 14:19:20 +01:00
Claudio Sanches
8338baa594
Merge pull request #16916 from woocommerce/fix/16905
...
Reverse image logic in get_attachment_id_from_url
2017-09-25 07:08:51 -06:00
Claudio Sanches
76ac9e45c9
Merge pull request #16917 from woocommerce/fix/16902
...
Do not apply ordering to feeds
2017-09-25 07:07:55 -06:00
Mike Jolley
25337b21ce
If sorting by date in the REST API, fallback to ID
...
Ref: #16911
2017-09-25 13:31:25 +01:00
Mike Jolley
83a64c048d
Do not apply ordering to feeds
...
Closes #16902
2017-09-25 13:08:08 +01:00
Mike Jolley
a8ab4860ca
Reverse image logic in get_attachment_id_from_url
...
Closes #16905
2017-09-25 12:58:25 +01:00
Mike Jolley
6c7aa18199
Merge remote-tracking branch 'origin/master'
2017-09-25 12:22:55 +01:00
Mike Jolley
4f9b886d09
Merge branch 'pr/16871'
2017-09-25 12:22:24 +01:00
Mike Jolley
45aaa22bb9
correct isset
2017-09-25 12:22:17 +01:00
Mike Jolley
a6cd67c704
Merge pull request #16890 from gtritchie/master
...
Allow registration to redirect to same page
2017-09-25 12:19:31 +01:00
Gary Ritchie
cc44e72e61
sanitize _POST
2017-09-22 20:52:38 -07:00
Gary Ritchie
552fa3d107
Merge remote-tracking branch 'upstream/master'
2017-09-22 20:31:00 -07:00
claudiulodro
2e4b514a7f
Modify product API returned data by context
2017-09-22 10:52:30 -07:00
Mike Jolley
3cd46c6119
Merge pull request #16887 from Miller-Media/fix/16884
...
Add check for 0 as a string
2017-09-22 14:19:58 +01:00
Mike Jolley
35740448a0
Merge pull request #16885 from woocommerce/fix/16845
...
Move js clipboards off zeroclipboard
2017-09-22 14:18:44 +01:00
Mike Jolley
5d36e6a9c8
Merge pull request #16886 from woocommerce/fix/16879
...
Move couple things out of "foreach" loop
2017-09-22 14:17:25 +01:00
Gary Ritchie
a25d3c8af4
Allow registration to redirect to same page
...
Fixes #16889
2017-09-21 20:50:45 -07:00
Brent Shepherd
89e932c338
Fix shipping tax when calling calculate_shipping()
...
The $shipping_taxes is a multidimensional array so array_sum() does not
correctly sum the values. The $merged_taxes is a single level array with
all other taxes set, so array_sum() can be safely used on it.
2017-09-21 16:48:32 -07:00
Matt Miller
c87762177b
Add check for 0 as a string
2017-09-21 16:21:49 -07:00
claudiulodro
ee30de89a8
Shuffle things around to prevent errors and for better performance
2017-09-21 14:06:44 -07:00
claudiulodro
279ac6814c
Move clipboards off zeroclipboard
2017-09-21 13:09:36 -07:00
Claudiu Lodromanean
abc43c473e
Merge pull request #16877 from nicoladj77/patch-1
...
Check for nonce when Cancelling Order.
2017-09-21 10:27:12 -07:00
Claudiu Lodromanean
e713b5beb3
Merge pull request #16869 from woocommerce/fix/16861
...
Fix legacy access to array props (fees, taxes, coupon totals + taxes)
2017-09-21 09:47:29 -07:00
claudiulodro
d5981b34e8
Remove redundant rendundancy in deprecation notices
2017-09-21 09:45:38 -07:00
Matt Miller
a871d36380
Added wp_unslash() to address fields on the checkout page ( #16874 )
...
* Added wp_unslash() to address fields on the checkout page
* Cleaned up code indentation
* Added wp_unslash() function on remaining POST address fields on checkout
2017-09-21 17:37:27 +01:00
Claudiu Lodromanean
3063825c4d
Merge pull request #16867 from woocommerce/fix/16853
...
Add legacy shipping conditon
2017-09-21 09:24:14 -07:00
Claudiu Lodromanean
5e24b86d61
Merge pull request #16866 from woocommerce/fix/16840
...
Add subtotal to min and max spend code
2017-09-21 09:08:34 -07:00
Claudiu Lodromanean
3440460127
Merge pull request #16865 from woocommerce/fix/16862
...
remove spam field
2017-09-21 09:06:08 -07:00
Nicola Peluchetti
74bea6ec7d
Check for nonce when Cancelling Order.
2017-09-21 03:08:06 +03:00
Brent Shepherd
470c5f7a1d
Use __FUNCTION__ for filter hook name
...
To avoid including the WC_Cart class name and a double colon.
Example hook from WC_Cart::get_total():
* Before this PR: woocommerce_cart_WC_Cart::get_total
* After this PR: woocommerce_cart_get_total
2017-09-20 14:45:37 -07:00
Mike Jolley
5151415eec
Merge branch 'discounts-class-fixes-and-tests'
2017-09-20 18:44:18 +01:00
Mike Jolley
9c63da78c4
Fixed limit to x by avoiding changing the original item (uses clone)
2017-09-20 18:42:10 +01:00
Mike Jolley
21dfde842a
Revised coupon sort order to not rely on IDs which can differ between cart and tests
...
Also edited test to match
2017-09-20 18:41:48 +01:00
Shakeeb Sadikeen
da6a37c0d1
fixed : custom tab with no class error
...
when class is not passed with custom tab. echo's undefined index error with classes fixed
2017-09-20 22:14:58 +05:30
Mike Jolley
c0542be4ff
Merge branch 'pr/16841'
2017-09-20 15:47:37 +01:00
Mike Jolley
3d9902c4d5
Page template should have higher priority.
2017-09-20 15:47:30 +01:00
Mike Jolley
eb79566985
Fix legacy access to array props (fees, taxes, coupon totals + taxes)
...
Closes #16861
2017-09-20 15:39:05 +01:00
Mike Jolley
f1f3a6fbc0
Add legacy shipping conditon
...
Closes #16853
2017-09-20 14:11:47 +01:00
Mike Jolley
9e1bd3c54d
phpcs
2017-09-20 14:03:06 +01:00
Mike Jolley
2c70444123
Add subtotal to min and max spend code
...
Closes #16840
2017-09-20 13:51:41 +01:00
Mike Jolley
6aea8d0718
Wrap conditonal in add to cart shortcode string output
...
Closes #16856
2017-09-20 13:18:16 +01:00