Manos Psychogyiopoulos
4cc936c383
move event handlers to init
2017-03-14 13:52:48 +02:00
Manos Psychogyiopoulos
fb6c1b09fc
use class prop `flexslider_enabled` in `init_zoom`
2017-03-14 13:44:45 +02:00
Mike Jolley
186c26e60d
Missing return in offsetSet
2017-03-14 11:33:35 +00:00
Manos Psychogyiopoulos
4e48a2ddfa
revert change from attr. to data.
2017-03-14 13:33:05 +02:00
Mike Jolley
f404eeede6
get_formatted_meta_data should ignore meta with no ID
2017-03-14 11:28:57 +00:00
Mike Jolley
4f8030aafb
Remove clear divs from address forms
...
#13583
2017-03-14 11:19:59 +00:00
Mike Jolley
3802ccf869
Merge pull request #13585 from woocommerce/unlimited-downloads
...
Do not set remaining downloads when is unlimited
2017-03-14 11:08:55 +00:00
Manos Psychogyiopoulos
9181f1c151
allow init with args
2017-03-14 12:55:25 +02:00
James Koster
53b7844412
Replace figure tags with divs. closes #13546
...
For easier theme support
2017-03-14 10:42:21 +00:00
Manos Psychogyiopoulos
281209c9ae
Merge branch 'master' of https://github.com/woocommerce/woocommerce into multiple-and-dynamic-galleries
2017-03-14 09:53:34 +02:00
Claudio Sanches
591327287a
Do not set remaining downloads when is unlimited
2017-03-13 21:24:59 -03:00
Claudio Sanches
f1c08f1a8e
Updated downloads view on admin
2017-03-13 20:54:43 -03:00
Claudio Sanches
c4134586cd
FUpdate how save download dates
2017-03-13 20:54:33 -03:00
Claudio Sanches
aaeab5b81e
Use WWC_DateTime for access_granted
2017-03-13 20:36:04 -03:00
Claudio Sanches
792fe08f1d
Updated WC_Customer_Downloads to use WC_DateeTime
2017-03-13 20:29:55 -03:00
Claudio Sanches
d973ac5a8d
Merge pull request #13580 from woocommerce/product-date-methods-13524
...
Product date methods
2017-03-13 20:11:22 -03:00
Claudiu Lodromanean
9b7c08fe8f
Update post type page with new date
2017-03-13 15:16:03 -07:00
Mike Jolley
02c826ba5e
Correctly handle null values
2017-03-13 22:14:20 +00:00
Claudiu Lodromanean
12952ebcd0
Update coupon meta box with new date handling
2017-03-13 15:06:44 -07:00
Claudiu Lodromanean
b018cdc037
Update legacy coupon class with new date handline
2017-03-13 15:05:57 -07:00
Claudiu Lodromanean
dd0b167c7f
Remove failing test since it's duplicated elsewhere properly
2017-03-13 14:38:05 -07:00
Claudiu Lodromanean
b3c846da56
Use 2.6-format data for the expiry_date meta value
2017-03-13 14:37:34 -07:00
Mike Jolley
9bee678819
API updates
2017-03-13 21:36:31 +00:00
Claudiu Lodromanean
f1925e561a
Update coupon data store to use new dates
2017-03-13 14:24:05 -07:00
Claudiu Lodromanean
258845fb7b
Use GMT timestamp when comparing expiry
2017-03-13 13:40:58 -07:00
Mike Jolley
d195aa6117
Fix unit tests
2017-03-13 20:35:04 +00:00
Claudiu Lodromanean
7d9227d3af
Update coupon object with new date
2017-03-13 13:31:40 -07:00
Mike Jolley
dd1b8e35dc
API endpoints
2017-03-13 20:26:52 +00:00
Mike Jolley
1bac579df7
Date getters and setters
2017-03-13 19:52:44 +00:00
Claudio Sanches
ad1073c212
Merge pull request #13575 from woocommerce/fix-13573
...
Only show thumbs if there is a main post thumbnail
2017-03-13 16:25:48 -03:00
Claudio Sanches
94628c2460
Merge pull request #13574 from woocommerce/alt-13541
...
Wrap hidden input in div
2017-03-13 16:25:15 -03:00
Mike Jolley
ee0896a7ec
Only show thumbs if there is a main post thumbnail
2017-03-13 18:04:43 +00:00
Mike Jolley
7fd4005475
Wrap hidden input in div
...
Closes #13541
2017-03-13 17:56:25 +00:00
Mike Jolley
7e165413cf
Check for arrays, not serialised strings
...
Fixes #13556
2017-03-13 17:49:59 +00:00
Mike Jolley
c80fed52d8
Merge pull request #13571 from woocommerce/fix-13529
...
Check $_POST before trying to save order address inputs
2017-03-13 17:47:21 +00:00
Mike Jolley
38f31d3b8e
Remove broken coupon usage link
...
#13568
2017-03-13 17:27:59 +00:00
Claudio Sanches
75ae465924
Merge pull request #13564 from ramiy/i18n
...
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 14:08:41 -03:00
Manos Psychogyiopoulos
1d5cd9409e
allow multiple galleries on page and init of dynamically loaded galleries
2017-03-13 18:58:39 +02:00
Claudiu Lodromanean
cf397cfbdd
Dont try and save inputs that arent there
2017-03-13 09:55:18 -07:00
Mike Jolley
19759a83b4
Merge pull request #13560 from JeroenSormani/php71-typecast-fix
...
Type cast ->get_weight() on WC_Cart::get_cart_contents_weight calcula…
2017-03-13 16:10:47 +00:00
Mike Jolley
e5c753e757
Merge pull request #13557 from woocommerce/fix-13526-admin
...
Keep date compatibility in WC_Ajax::get_customer_details()
2017-03-13 16:05:17 +00:00
Mike Jolley
d2bd1a422c
Merge pull request #13555 from woocommerce/fix-13526-rest-api
...
Update date usage in REST API v1 and v2
2017-03-13 16:04:38 +00:00
Mike Jolley
0098595339
Merge pull request #13554 from woocommerce/fix-13526-legacy-api
...
Fix dates in customer legacy endpoints
2017-03-13 15:59:02 +00:00
Mike Jolley
bee1d6f915
Merge pull request #13551 from woocommerce/orders-api-data
...
Revert order of items on Orders and Refunds endpoints
2017-03-13 15:58:13 +00:00
Rami Yushuvaev
d2457fe922
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 07:39:46 +02:00
Rami Yushuvaev
9382556534
Merge pull request #2 from woocommerce/master
...
update
2017-03-13 06:02:37 +02:00
JeroenSormani
91ce342e7c
Type cast ->get_weight() on WC_Cart::get_cart_contents_weight calculation
2017-03-11 19:01:58 +01:00
fuzzguard
1a99235dc8
Adding in proper error handling from 'lostpassword_post'
...
Since WP version 4.4.0 the 'lostpassword_post' hook has had the ability to handle error messages from the WP_Error class. This allows errors to to occur BEFORE the username or email address are validated against the WP.
wp-login.php
/**
* Fires before errors are returned from a password reset request.
*
* @since 2.1.0
* @since 4.4.0 Added the `$errors` parameter.
*
* @param WP_Error $errors A WP_Error object containing any errors generated
* by using invalid credentials.
*/
do_action( 'lostpassword_post', $errors );
if ( $errors->get_error_code() )
return $errors;
Proposal is to have this same process be respected by WooCommerce Lost Password process.
2017-03-11 11:43:21 +11:00
Claudio Sanches
98d26521d1
Keep date compatibility in WC_Ajax::get_customer_details()
2017-03-10 20:13:56 -03:00
Claudio Sanches
5b798332d2
Updated customer REST API unit tests
2017-03-10 19:51:33 -03:00