Commit Graph

26785 Commits

Author SHA1 Message Date
Claudiu Lodromanean 06a4bfe2af
Merge pull request #18347 from woocommerce/update/remove-unused-variable
Remove two unused variables
2018-01-03 11:13:38 -08:00
claudiulodro d2618c2330 Merge remote-tracking branch 'origin/master' into HEAD 2018-01-03 10:13:23 -08:00
claudiulodro 646caf5753 Tweaks for variation reports 2018-01-03 10:09:53 -08:00
Rodrigo Primo aad2c83994 Remove unused variables
This commit removes two unused variables from WC_Product_Data_Store_CPT class.
2018-01-03 16:00:28 -02:00
Rodrigo Primo 22f1e549ef Manually fixes remaining coding standard violations 2018-01-03 15:57:33 -02:00
Claudiu Lodromanean 14c2180928
Merge pull request #18279 from woocommerce/fix/setup-wizard-service-style-tweak
Setup wizard: adjust styling for service child elements
2018-01-03 09:38:28 -08:00
Rodrigo Primo a2b8e38a61 Fix coding standards violations automatically using phpcbf 2018-01-03 15:27:48 -02:00
Claudiu Lodromanean e15f267270
Merge pull request #18335 from woocommerce/fix/18328
Product downloads - API and download check fixes
2018-01-03 09:14:26 -08:00
ElectricFeet cd2130972f
Remove non-standard outdated CSS
Removed `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698
2018-01-03 18:10:21 +01:00
ElectricFeet 030fc9dcca
Remove non-standard outdated CSS
Removing `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698 and came across this one too. "auto" seems to be invalid, in any case...
2018-01-03 18:07:38 +01:00
ElectricFeet fa68a71adf
Remove non-standard outdated CSS
Removed `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698
2018-01-03 18:01:10 +01:00
ElectricFeet 480b83447d
Remove non-standard outdated CSS
Removed `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698
2018-01-03 17:59:50 +01:00
ElectricFeet 21c5b36113
Remove non-standard outdated CSS
Removed `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698
2018-01-03 17:58:02 +01:00
ElectricFeet c4e87e0c3b
Remove non-standard outdated CSS
Removed `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698
2018-01-03 17:56:44 +01:00
ElectricFeet 2ee9f9b034
Remove non-standard outdated CSS
Removed `-moz-osx-font-smoothing: grayscale;` and `-webkit-font-smoothing: antialiased;`, as suggested in woocommerce/storefront#698
2018-01-03 17:54:46 +01:00
Mike Jolley 9e4f296983 One save call 2018-01-03 16:15:04 +00:00
Mike Jolley 73d0c1062c Allow transactions to be forced on 2018-01-03 16:13:08 +00:00
Mike Jolley 7f18e15ff6 Transactions break unit tests 2018-01-03 15:47:55 +00:00
Paul Dechov e03f0c201f Align service name logos to top, and adjust padding 2018-01-03 10:43:26 -05:00
Mike Jolley 5eb4ed9b64
Merge pull request #18307 from unfulvio/issue-18223-transient
[#18223] Store related posts query arguments in transient
2018-01-03 11:47:15 +00:00
Mike Jolley 89c1f83f70 Merge branch 'master' into update/17252 2018-01-03 11:44:28 +00:00
Mike Jolley 13602cd987
Merge pull request #18236 from woocommerce/fix/rest-api-add-coupons-order
REST API: Adding + removing coupons via API doesn't recalculate totals correctly
2018-01-03 11:37:23 +00:00
Mike Jolley 800b4feba1
Merge pull request #18252 from shivapoudel/frontend-session
Only load session handler class on frontend not during cron
2018-01-03 11:19:23 +00:00
Mike Jolley ea090f849d
Merge pull request #18148 from woocommerce/update/e2e
Update e2e testing
2018-01-03 11:17:50 +00:00
Mike Jolley effbf87e22 API should generate or set file ID when setting downloads. Closes #18330 2018-01-03 11:02:38 +00:00
Mike Jolley 3459f83a9d When serving downloads, ensure order/key are set and valid. Fixes #18328 2018-01-03 10:55:57 +00:00
Mike Jolley e1a82a4127 Add nonce to both panels. Closes #18333 2018-01-03 10:37:07 +00:00
Claudiu Lodromanean 373ff64ff8
Merge pull request #18315 from alexminza/master
Fixed Moldova states, added Moldova information for the installer
2018-01-02 14:31:30 -08:00
Claudiu Lodromanean 09f9d86786
Merge pull request #18327 from woocommerce/fix/default-columns-isset
Fix default columns isset check
2018-01-02 11:51:00 -08:00
Claudiu Lodromanean e17dcdf81f
Merge pull request #18297 from macbookandrew/improve-blank-state
add button for creating coupons to coupon blank state
2018-01-02 11:45:28 -08:00
Tiago Noronha ece1963e66 Fix default columns isset check. 2018-01-02 19:27:28 +00:00
Andrew Minion 785641ef3c update link to match rest of codebase 2018-01-02 14:05:47 -05:00
Claudiu Lodromanean de71c92fa0
Merge pull request #18278 from woocommerce/fix/setup-wizard-ppec-api-subject-set-when-unchecked
Setup wizard: don't set PPEC "API Subject" when WCS rerouting is unchecked
2018-01-02 10:39:35 -08:00
Claudiu Lodromanean 6db59dbc91
Merge pull request #18283 from WPprodigy/fix-set-orderby-default
Set default catalog_orderby in customizer
2018-01-02 10:34:18 -08:00
Claudiu Lodromanean 9937edc292
Merge pull request #18285 from WPprodigy/add-filter-woocommerce_loop_product_link
Add woocommerce_loop_product_link filter
2018-01-02 10:11:18 -08:00
Claudiu Lodromanean c52563f558
Merge pull request #18319 from pathurs/patch-1
Geolocation: Remove port from string before checking IP
2018-01-02 10:06:49 -08:00
Claudiu Lodromanean 8d78287da4
Merge pull request #18284 from WPprodigy/update-docs-for-layerednav-function
Update docs.
2018-01-02 09:33:27 -08:00
Claudiu Lodromanean 555d882e43
Merge pull request #18248 from woocommerce/fix/18236
Update unit tests for api coupon recalculating
2018-01-02 09:29:38 -08:00
Claudiu Lodromanean 5382134041
Merge pull request #18306 from unfulvio/issue-18223-filter-related-products
[#18223] Filter results for related products
2018-01-02 08:58:23 -08:00
Claudiu Lodromanean f56fff18d9
Merge pull request #18322 from woocommerce/fix/importer-file-names
Importer file names
2018-01-02 08:10:20 -08:00
Claudiu Lodromanean 91328d3fb3
Merge pull request #18323 from woocommerce/fix/18289
Fix scroll bar appearance with overflow hidden
2018-01-02 08:04:48 -08:00
Claudiu Lodromanean 1223a676e9
Merge pull request #18324 from woocommerce/fix/18321
Check for mb_detect_encoding support
2018-01-02 07:59:37 -08:00
Mike Jolley 4e996ce268 Check for mb_detect_encoding support 2018-01-02 13:55:11 +00:00
Mike Jolley 4e87f952f7 Fix scroll bar appearance with overflow hidden
Closes #18289
2018-01-02 13:50:35 +00:00
Mike Jolley 5aee9f973c Append timestamp to filename 2018-01-02 13:29:23 +00:00
Mike Jolley 46c51bb3a6 Allow filename to be set from javascript 2018-01-02 13:16:43 +00:00
Mike Jolley 1a65aed0d9 Merge branch 'pr/18272' 2018-01-02 11:57:45 +00:00
Mike Jolley da281d21ab Keep product check 2018-01-02 11:57:29 +00:00
Mike Jolley 3defa83a81 Missing spaces between city and state.
Closes #18305
2018-01-02 11:45:56 +00:00
Pathurs 119d3485b1
Remove port from string before checking IP
Fix a bug where if `$_['HTTP_X_FORWARDED_FOR']` contains a port, an `rest_is_ip_address()` returns `bool(false)`.

WooCommerce Version: 3.1.2

Observed results of functions and variables:
```
WC_Geolocation::get_ip_address())	                                  string(0) ""
$_SERVER['X-Real-IP']	                                              string(7) "Not set"
$_SERVER['HTTP_X_FORWARDED_FOR']	                                  string(18) "203.41.99.98:50986"
trim( current( explode( ',', $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) )	  string(18) "203.41.99.98:50986"
$_SERVER['REMOTE_ADDR']	                                              string(12) "203.41.99.98"
```

Old result of calling `WC_Geolocation::geolocate_ip()`:
```array(2) { ["country"]=> string(0) "" ["state"]=> string(0) "" }```

New result of calling `WC_Geolocation::geolocate_ip()`:
```array(2) { ["country"]=> string(2) "AU" ["state"]=> string(0) "" }```
2018-01-02 11:54:26 +11:00