Commit Graph

25247 Commits

Author SHA1 Message Date
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
Alexander Minza 931b049d97 Added Moldova information for the installer 2017-12-30 14:47:53 +02:00
Alexander Minza 2307febfa1 Fixed Moldova states 2017-12-30 14:34:12 +02:00
Alexander Minza cd33261e5d Merge remote-tracking branch 'woocommerce/master' 2017-12-30 13:14:54 +02:00
Paul Dechov 6824b2a923
Merge branch 'master' into fix/setup-wizard-service-style-tweak 2017-12-29 13:02:19 -05:00
Fulvio Notarstefano b8beb703ef [#18223] Filter results for related products 2017-12-29 12:18:50 +08:00
Fulvio Notarstefano 3045e01f4e [#18223] Store related posts query arguments in transient 2017-12-29 12:12:26 +08:00
Andrew Minion 40d9efc4b8 add button for creating coupons to coupon blank state
Makes it more user-friendly for someone unfamiliar with WordPress/WooCommerce, and even for those who are familiar and don’t immediately see the typical “Add Coupon” button in the top left corner by the header.
2017-12-27 11:53:20 -05:00
Caleb Burks 0192fb9ef0 Add woocommerce_loop_product_link filter 2017-12-25 02:20:40 -06:00
Caleb Burks 2b4a756438 Update docs. 2017-12-25 02:16:10 -06:00
Caleb Burks 54fd171f04 Set default catalog_orderby in customizer 2017-12-24 23:39:44 -06:00
Paul Dechov a87183503f Fix api_subject option being set even when reroute_requests unchecked 2017-12-22 14:57:50 -05:00
claudiulodro 09ef2195be Manual set order tests 2017-12-22 11:35:52 -08:00
Claudiu Lodromanean eb60a17818
Merge pull request #18265 from Miller-Media/millermedia/scheduled_sales_actions
Added actions before & after scheduled sales initiation and completion
2017-12-22 10:23:02 -08:00
Matt Miller 69d9f1f6ff Updated spacing 2017-12-22 09:58:05 -08:00
claudiulodro 611ca58d09 Change sanitize function 2017-12-22 09:46:57 -08:00
Rodrigo Primo bd10f77e1d
Merge pull request #18268 from woocommerce/fix/18245
Added WooCommerce-Core sniffs
2017-12-22 15:35:17 -02:00
Claudiu Lodromanean 20f698db2b
Merge pull request #18219 from woocommerce/fix/18197
Compare the date modified when loading session data.
2017-12-22 08:17:14 -08:00
Mike Jolley e12838810c
Merge pull request #18267 from woocommerce/fix/18226
Remove Postcode field for Suriname
2017-12-22 12:32:49 +00:00
Jason Kytros a21ada68cd Fix coupon 'Excluded Categories' restriction evaluation 2017-12-22 11:21:47 +02:00
Claudio Sanches 61b5c7a445 Added WooCommerce-Core sniffs 2017-12-21 21:29:49 -02:00
Claudio Sanches d69f67bfd5 Auto fixed minor coding standards with PHPCBF 2017-12-21 18:18:04 -02:00
Claudio Sanches 514087e4aa Fixed coding standards 2017-12-21 18:10:55 -02:00
Claudio Sanches 2198eb136c Remove Postcode from Suriname 2017-12-21 17:49:56 -02:00
Claudio Sanches 2f1c00b773
Merge pull request #18256 from woocommerce/fix/18246
Use text color for email links
2017-12-21 17:34:38 -02:00
claudiulodro 7fcbceaae5 Refactor logic 2017-12-21 11:31:58 -08:00
Claudio Sanches 1d132b8b9d
Merge pull request #18263 from woocommerce/fix/18244
Process embed shortcode in short description
2017-12-21 17:27:34 -02:00
claudiulodro d0bc5964ea Actually use correct template version 2017-12-21 11:25:22 -08:00
claudiulodro 59a174985b Use correct template version and phpcs 2017-12-21 11:20:30 -08:00
claudiulodro 2d88654a0a Always use contrasting color for links 2017-12-21 11:14:14 -08:00
Mike Jolley e9105bd37d Fix tests 2017-12-21 19:00:55 +00:00