Commit Graph

15145 Commits

Author SHA1 Message Date
Nicola Mustone 090e0bac64 use the correct order ID 2016-03-07 16:14:21 +01:00
Mike Jolley 2a98607532 Remove log dir from debug
@mattyza
2016-03-07 13:16:39 +00:00
Mike Jolley f1eefa902c [2.5] When getting coupon by code used twice, latest should be queried
Closes #10487
2016-03-07 13:08:02 +00:00
James Koster f926f8e9c9 replaces .png credit card icons with .svg alternatives. closes #9675 2016-03-07 12:15:42 +00:00
Mike Jolley 25d6a93c07 Merge pull request #10479 from shivapoudel/gtm-listener
Tweak - GTM listener for single products tabs
2016-03-07 12:04:38 +00:00
James Koster 5d7f95fa7f Update the Storefront banner to include the new logo. closes #10313 2016-03-07 11:36:07 +00:00
Mike Jolley 723b4109d2 Add notice on empty cart when checking out 2016-03-07 10:31:01 +00:00
Mike Jolley 89af9e9416 wc_get_page_permalink - if the page ID is not set, redirect home instead 2016-03-07 10:29:01 +00:00
Claudio Sanches 077520ad9b Merge pull request #10482 from thii/fix-webhook-log
Fix wrong URL and request duration in webhook logs
2016-03-05 15:37:17 -03:00
Thi 348f9cc235 Fix wrong URL and request duration in webhook logs 2016-03-06 01:24:10 +09:00
Shiva Poudel 25e1d72017 Tweak - GTM listener for single products tabs, Closes #10478 2016-03-04 23:52:39 +05:45
Mike Jolley 1979138666 Use unformatted coupon post title for comparison
Fixes #10476
2016-03-04 15:55:46 +00:00
Justin Shreve 927941e2ca Merge pull request #10260 from justinshreve/token-api
Payment Token API
2016-03-04 04:34:41 -08:00
Justin Shreve cb68f41ed0 Fix up based on Mike's feedback:
* Made CVC field form-row-last
* Make CC & EC methods abstract
* Change label on add new payment method button
* remove groupings in account settings
2016-03-04 04:32:38 -08:00
Mike Jolley 7580f18678 Merge pull request #10469 from allendav/master
Add hide_save_button to shipping zones instance template
2016-03-04 10:56:41 +00:00
Mike Jolley 533d961947 Merge pull request #10473 from shivapoudel/indentation
Tweak indentation tabs and correct use of <br>
2016-03-04 10:56:26 +00:00
Mike Jolley 22dc056e16 Merge branch '4-4-term-meta-handling' 2016-03-04 10:55:53 +00:00
Mike Jolley a1cce4a1b2 Issues from Justin 2016-03-04 10:53:48 +00:00
Shiva Poudel 23ad5580ae Added Periods in the end of comments 2016-03-04 15:26:31 +05:45
Shiva Poudel 51cc7376dd Docblock fix for get_field_description method 2016-03-04 15:15:03 +05:45
Shiva Poudel 3ae7e4e418 Tweak indentation tabs and correct use of br
Sublime linter showing notification due to </br>, instead we should use <br />
2016-03-04 15:08:45 +05:45
Allen Snook 1dbe6c21a0 Add hide_save_button to shipping zones instance template
(Like what is done for legacy shipping methods in the
html admin settings view)
2016-03-03 09:44:09 -08:00
Mike Jolley 7dadae7bc8 Load gateways before save
#10461
2016-03-03 17:05:40 +00:00
Mike Jolley e7e4808726 Correct status check and improved note
#10461
2016-03-03 17:04:20 +00:00
Mike Jolley fab1f224c6 When creating new order from draft, assume 'pending' for status transitions
Fixes #10461
2016-03-03 13:51:04 +00:00
Mike Jolley 03872e953b [2.5] Round refund values.
Fixes #10456.
2016-03-03 13:40:50 +00:00
Mike Jolley 89e8404acb [2.5] Clear sale price on save if sale is no longer valid.
Closes #10454
2016-03-03 13:16:22 +00:00
Mike Jolley c21b0eda82 Merge pull request #10361 from shivapoudel/ajax-customer-search
Feature to exclude certain users from ajax customer search box
2016-03-03 12:54:19 +00:00
Mike Jolley e252e4a81d Merge branch 'pr/10451' 2016-03-03 12:53:04 +00:00
Mike Jolley a043b6d94d Filter at end of should_deliver method 2016-03-03 12:52:58 +00:00
Justin Shreve 4c560e4da6 Merge pull request #10462 from justinshreve/clipboard-fail-10450
Provide help if clipboard copying fails (Safari or zeroclipboard issue) in wp-admin
2016-03-03 02:48:42 -08:00
Justin Shreve b9870bff30 Minify js 2016-03-03 02:48:14 -08:00
Mike Jolley 295eb7e28d Merge pull request #10467 from shivapoudel/target-blank
Blank target for links in theme suport notice
2016-03-03 10:30:58 +00:00
Shiva Poudel e0a99751f8 Blank target for links in theme suport notice 2016-03-03 15:53:12 +05:45
Claudio Sanches 6cf120407c Merge pull request #10460 from justinshreve/coupon-api-wp-error
Have wp_insert_post return WP_Error when creating our coupon in the REST API
2016-03-02 19:15:12 -03:00
Mike Jolley 579365b7d5 Merge branch 'master' into 4-4-term-meta-handling
# Conflicts:
#	includes/class-wc-install.php
2016-03-02 18:38:39 +00:00
Mike Jolley e380c14716 Upgrade handling 2016-03-02 18:32:33 +00:00
Mike Jolley b86e16cef4 Merge pull request #10455 from johnjamesjacoby/master
[2.5] Update database keys for utf8mb4 charset/collation
2016-03-02 18:28:22 +00:00
Justin Shreve f4d771ef3e Show error if copying can't even happen (to cover safari). 2016-03-02 10:25:16 -08:00
Mike Jolley b221f9964a Merge branch 'master' into 4-4-term-meta-handling 2016-03-02 18:24:52 +00:00
Mike Jolley 5c3e7ded03 Version checks not needed 2016-03-02 18:24:49 +00:00
Justin Shreve 32eabbc685 Provide a fallback message if copying to the clipboard fails. 2016-03-02 10:13:17 -08:00
Justin Shreve 4ef68a354a Have wp_insert_post return WP_Error when creating our coupon, so the is_wp_error check can catch it. 2016-03-02 06:54:33 -08:00
John James Jacoby ca8ffcc9f4 Update database keys for utf8mb4 charset/collation
Since WordPress 4.2, `utf8mb4` is a natively supported and encouraged type of installation. Unfortunately some WooCommerce database tables fail to get created in these types of installations (with something like the below settings):

```
define( 'DB_CHARSET', 'utf8mb4'            );
define( 'DB_COLLATE', 'utf8mb4_unicode_ci' );
```

This commit takes a queue from WordPress core's `schema.php` and limits the length of index `KEY`s to `191`.
2016-03-01 19:28:04 -06:00
Justin Shreve e94a60d4c3 Update minified JS 2016-03-01 11:49:43 -08:00
Justin Shreve ccb2c90ef3 Update references for the tokenization UI script (hiding/showing inputs) to use the correct file. 2016-03-01 11:49:43 -08:00
Justin Shreve a2aa20bcb5 Rename payment-gateway JS to tokenization-form. 2016-03-01 11:49:42 -08:00
Justin Shreve 49c45c6dc1 Make sure the is_default/default token ability works correctly. Also adds a new method for getting a users default token. Fixes up some docblocks. 2016-03-01 11:49:42 -08:00
Justin Shreve 0985292a79 Make sure the tokenization script is output even if the current user is logged out (we still show save payment method if user is creating account). 2016-03-01 11:49:42 -08:00
Justin Shreve e3d7e206d0 Create a function for getting correctly formatted credit card type labels (MasterCard, American Express, etc) 2016-03-01 11:49:42 -08:00