Manos Psychogyiopoulos
161b6a132b
use data() correctly
2017-03-14 15:42:15 +02:00
Manos Psychogyiopoulos
20d2c8b269
merge branch 'master' into multiple-and-dynamic-galleries
2017-03-14 15:31:01 +02:00
Manos Psychogyiopoulos
290e000bcb
better use of gallery var
2017-03-14 15:04:08 +02:00
Mike Jolley
ed09c20715
Trying to fix travis tests
2017-03-14 12:50:54 +00:00
Mike Jolley
a0c160f6e9
Merge branch 'pr/13558'
2017-03-14 12:35:19 +00:00
Mike Jolley
49b782d20e
Correct formatting
2017-03-14 12:34:20 +00:00
Mike Jolley
a9e224fa78
Wrap rating with esc_html
2017-03-14 12:32:34 +00:00
Mike Jolley
08c6cfdea8
composer version
2017-03-14 12:28:48 +00:00
Mike Jolley
7f787fac84
Check empty strings literally
...
Closes #13565
2017-03-14 12:17:49 +00:00
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
Manos Psychogyiopoulos
4e48a2ddfa
revert change from attr. to data.
2017-03-14 13:33:05 +02: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
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
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
0433af97fd
Merge pull request #13550 from woocommerce/fix-13547
...
Status transition hooks should never run when objects are read regardless of status being set.
2017-03-10 17:57:16 -03:00
Mike Jolley
ff4b79a6fc
Status transition hooks should never run when objects are read regardless of status being set.
...
Fixes #13547
2017-03-10 20:20:07 +00:00
Mike Jolley
38afff0031
Merge pull request #13516 from woocommerce/fix-13505
...
Make increase_usage_count work correctly on concurrent checkout
2017-03-10 19:07:57 +00:00
Mike Jolley
f8d5d9dc1c
Merge pull request #13543 from woocommerce/tests-13533
...
Tests for #13533
2017-03-10 18:56:06 +00:00
Claudiu Lodromanean
73ed273189
Use active voice
2017-03-10 10:32:27 -08:00
Claudiu Lodromanean
d630b948e3
Better increase/decreasing
2017-03-10 10:28:56 -08:00
Claudiu Lodromanean
e6a17a0fb3
Dont use set_prop on increase/decrease to prevent overwriting data
2017-03-10 09:27:39 -08:00
Claudiu Lodromanean
d70723553d
CHange vary to update
2017-03-10 09:18:14 -08:00
Mike Jolley
3b9f753393
Merge pull request #13545 from kouratoras/patch-1
...
Add missing trailing punctuation
2017-03-10 15:26:51 +00:00
Konstantinos Kouratoras
f77b03ef94
Add missing trailing punctuation
...
Trailing punctuation is missing, causing duplication of the same text in translation, although it exists in another file:
https://github.com/woocommerce/woocommerce/blob/master/includes/api/class-wc-rest-settings-options-controller.php#L482
2017-03-10 17:01:47 +02:00
Mike Jolley
66e8d9b054
Merge pull request #13530 from woocommerce/alt-fix-13496
...
Avoid filters during construct
2017-03-10 12:22:22 +00:00
Mike Jolley
2894d5aab0
Make needs_processing public so the data store can access.
2017-03-10 12:21:42 +00:00
Mike Jolley
90b588be18
Merge branch 'master' into tests-13533
2017-03-10 12:01:41 +00:00
Mike Jolley
e2552c0a8c
Unit tests
2017-03-10 12:01:40 +00:00
Mike Jolley
2da794d817
Merge branch 'master' into tests-13533
2017-03-10 11:47:39 +00:00
Mike Jolley
4f1c433fbf
Merge pull request #13532 from woocommerce/fix/order-item-meta-cache
...
Fix order item meta functions cache busting.
2017-03-10 11:47:26 +00:00
Mike Jolley
58e4e318b0
Merge pull request #13537 from woocommerce/fix-13534
...
Use WordPress wp_get_password_hint() function to display passowd hint
2017-03-10 10:43:23 +00:00