Mike Jolley
59e9477730
Merge pull request #15094 from bekarice/fix/php-fatal-undefined-function
...
Fix Fatal Error: undefined function
2017-05-16 09:34:38 +01:00
Mike Jolley
7ad295d64d
Merge pull request #15076 from woocommerce/feature/14385
...
Show login form on the "pay for order" step
2017-05-16 09:31:53 +01:00
Beka Rice
562c50a3b0
Fix Fatal Error: undefined function
2017-05-16 04:04:47 -04:00
Claudiu Lodromanean
05132f724c
Merge pull request #15067 from woocommerce/fix/15047
...
$post global is not required in meta box callback
2017-05-15 10:35:07 -07:00
Mike Jolley
cfce278840
If logged out, show a form on the payment step so the customer can login.
...
Closes #14385
To test, create an order pending payment for a USER. If you use the
‘payment’ link on the edit order screen logged out you should see a
login form.
If you create an order and associate no user account, no form should be
shown and you don’t need to login.
2017-05-15 16:53:06 +01:00
Mike Jolley
31651e41cb
Merge pull request #15063 from rasmusbe/unused-vars
...
Remove unused local variables
2017-05-15 12:45:54 +01:00
Mike Jolley
87b66cec90
Merge pull request #15061 from rasmusbe/fix-array-duplicates
...
Remove duplicate entries from defined arrays
2017-05-15 12:33:20 +01:00
Mike Jolley
7c63c21eaf
$post global is not required in meta box callback
...
Fixes #15047
2017-05-15 12:29:11 +01:00
Rasmus Bengtsson
6a7fc8650f
Remove unused local variables
2017-05-15 12:06:52 +02:00
Mike Jolley
99e63a8ca9
Merge pull request #15054 from woocommerce/improvement/14795
...
Integrate WC_Order_Query
2017-05-15 10:24:47 +01:00
Rasmus Bengtsson
51fd482206
Remove duplicate entries from defined arrays
2017-05-15 10:48:02 +02:00
claudiulodro
9e9b9b86ba
Cant use empty check in customer query var
2017-05-14 17:05:46 -07:00
claudiulodro
cec2c3b7dc
Couple requested changes
2017-05-13 12:22:22 -07:00
claudiulodro
d9c5536cf2
formatting
2017-05-12 15:31:34 -07:00
claudiulodro
fe40e9b96a
Make date queries work properly
2017-05-12 15:25:15 -07:00
claudiulodro
5b578c389f
Use previous filter name
2017-05-12 13:14:52 -07:00
claudiulodro
eee2ef82e8
Deprecate ->get_orders
2017-05-12 13:06:17 -07:00
claudiulodro
2ce90b3eb6
Slightly better date handling
2017-05-12 12:59:54 -07:00
Mike Jolley
0334ed255a
Merge pull request #15041 from woocommerce/fix/14985-address
...
Update all customer fields when updating via checkout
2017-05-12 19:48:20 +01:00
Mike Jolley
5e9f908df7
Merge pull request #15051 from reescott/fixlogtable
...
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 19:47:18 +01:00
claudiulodro
3861e32803
Migrate wc_get_orders
2017-05-12 11:45:01 -07:00
Scott Rees
b7b75c83f7
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 10:22:31 -07:00
Claudio Sanches
a273deffcb
Merge pull request #15042 from woocommerce/fix/14978
...
Ensure get_plugin_updates exists
2017-05-12 13:40:54 -03:00
Mike Jolley
3d7533e02b
Correct variable name
2017-05-12 12:09:05 +01:00
Mike Jolley
6797b2229d
Ensure get_plugin_updates exists
...
Fixes #14978
2017-05-12 10:56:43 +01:00
Mike Jolley
de4e2fc667
Update all customer fields when updating via checkout
...
Adds set_customer_address_fields helper to make it more DRY
Fixes #14985
2017-05-12 10:43:14 +01:00
Claudiu Lodromanean
c6fc0003c3
Merge pull request #14971 from woocommerce/improvement/13646
...
WC_*_Query date queries
2017-05-11 21:43:41 -07:00
Claudio Sanches
663c1d5f51
Merge pull request #15012 from woocommerce/fix/14994
...
Correctly set rating during updates
2017-05-10 19:08:38 -03:00
Claudio Sanches
44c20f40d7
Merge pull request #15015 from woocommerce/fix/14973
...
Check we have a valid order in wc_get_payment_gateway_by_order
2017-05-10 18:35:36 -03:00
claudiulodro
e31cbfd5c4
Formatting for readibility
2017-05-10 14:33:29 -07:00
claudiulodro
d461ea86d6
Use local timezone for yyyy-mm-dd queries
2017-05-10 13:08:47 -07:00
claudiulodro
db1d5ac987
Simplify logic
2017-05-10 12:02:15 -07:00
Mike Jolley
7c82087bcd
Check we have a valid order in wc_get_payment_gateway_by_order
...
Fixes #14973
2017-05-10 19:54:20 +01:00
claudiulodro
a0727fb8a1
Change to date array
2017-05-10 11:49:11 -07:00
Mike Jolley
37a544dd6f
Ensure needle is set
...
Fixes #15004
2017-05-10 19:30:34 +01:00
Mike Jolley
523cf5d4ed
Protect against missing order in admin assets
...
Closes #15000
2017-05-10 19:26:30 +01:00
Mike Jolley
cd9119443a
Correctly set rating during updates
...
Fixes #14994
2017-05-10 19:21:38 +01:00
Claudio Sanches
75def72ff7
Merge pull request #15009 from woocommerce/fix/14970
...
is_ip_address should be static
2017-05-10 14:48:45 -03:00
Mike Jolley
3ca4ec7927
is_ip_address should be static
...
Fixes #14970
2017-05-10 18:43:34 +01:00
Tobias Schutter
3695414bcf
Added scalar check to order item meta
2017-05-10 11:28:32 +02:00
claudiulodro
5625eaf6fd
Docblock
2017-05-09 14:57:24 -07:00
claudiulodro
5d86b2f001
Formatting
2017-05-09 14:55:39 -07:00
claudiulodro
93835f69db
New working date query format
2017-05-09 14:49:45 -07:00
claudiulodro
c89e389b3f
Good progress towards better date queries
2017-05-09 11:37:45 -07:00
Mike Jolley
79efb68554
Undo wrong commit
2017-05-09 19:20:36 +01:00
Mike Jolley
19fb7ac079
Fix hardcoded table name
2017-05-09 19:17:24 +01:00
Mike Jolley
2ed5404d8f
Merge pull request #14963 from woocommerce/bekarice-fix/duplicate-stock-reduction-paypal
...
Bekarice fix/duplicate stock reduction paypal
2017-05-09 18:23:36 +01:00
Mike Jolley
d9a8de7c16
Ensure order object exists and pass through to avoid requery
2017-05-09 18:20:42 +01:00
Mike Jolley
275e0661ed
Merge branch 'fix/duplicate-stock-reduction-paypal' of https://github.com/bekarice/woocommerce into bekarice-fix/duplicate-stock-reduction-paypal
2017-05-09 18:12:45 +01:00
Mike Jolley
478b12f7e8
has_attributes for variations
...
Fixes #14959
2017-05-09 16:39:41 +01:00