Commit Graph

27715 Commits

Author SHA1 Message Date
Mike Jolley f866349a03
Merge pull request #20251 from Ismail-elkorchi/fix/wc_maybe_define_constant_doc
Update wc_maybe_define_constant Docblock
2018-05-30 14:03:06 +01:00
Mike Jolley c326115db2 Clear category 0 when deleting caches 2018-05-30 13:29:44 +01:00
Rodrigo Primo 5785fa3dc7 3.4.1 changelog 2018-05-29 16:48:31 -03:00
Mike Jolley 34d4c9cca2
Merge pull request #20298 from woocommerce/fix/array-combine-tests
Prevent array_combine errors in old versions of PHP
2018-05-29 18:54:12 +01:00
Mike Jolley 3aef0a842e
Merge pull request #20296 from woocommerce/fix/20295
Add greater specificity to required styling
2018-05-29 18:39:31 +01:00
Mike Jolley b102e7c89b
Merge pull request #20294 from woocommerce/update/php-notice
Remove red styling for PHP notice if using > 5.6
2018-05-29 18:25:33 +01:00
Mike Jolley 75e357c1a9 Prevent array_combine errors in old versions of PHP 2018-05-29 18:13:26 +01:00
Mike Jolley d5770f32eb Add greater specificity to required styling 2018-05-29 16:47:40 +01:00
Mike Jolley 5504f966a4
Merge pull request #20293 from woocommerce/fix/20276
Fix variable attribute selection based on query string and form posts
2018-05-29 15:54:57 +01:00
Mike Jolley bcc1a350ce Remove red styling for PHP notice if using > 5.6 2018-05-29 15:52:01 +01:00
Mike Jolley 5cfd2f0f7a
Merge pull request #20273 from woocommerce/fix/20268
Fix broken product import file uploads on windows
2018-05-29 15:27:40 +01:00
Mike Jolley 800701adb0 Pass varaible 2018-05-29 15:25:11 +01:00
Mike Jolley 89daaebbca
Merge pull request #20241 from woocommerce/update/update-routine
Break up update routine and allow it run to multuple times
2018-05-29 15:19:25 +01:00
Mike Jolley d9d6acb33e
Merge pull request #20290 from woocommerce/fix/20249
If flexslider is disabled, gallery images also need to trigger photoswipe on click
2018-05-29 15:16:28 +01:00
Mike Jolley 511243a54a Encode array keys 2018-05-29 15:04:22 +01:00
Mike Jolley 45d6c55f2a selected logic, with added sanitize_title 2018-05-29 14:32:20 +01:00
Mike Jolley 301e9339a9 Move selected logic to function 2018-05-29 14:31:50 +01:00
Rodrigo Primo befbb29106
Merge pull request #20270 from woocommerce/add/tax-importer-unit-test
Add unit tests for importing taxes
2018-05-29 13:19:16 +01:00
Rodrigo Primo 7979ea6b1a Use ob_end_clean() instead of ob_get_clean()
Doing this change since the content of the output buffer is not used.
2018-05-29 09:02:40 -03:00
Mike Jolley 8a6e3e30a6 If flexslider is disabled, gallery images also need to trigger photoswipe on click. 2018-05-29 12:50:40 +01:00
Mike Jolley b3023bec7d
Merge pull request #20289 from woocommerce/pr/20272
Pr/20272
2018-05-29 11:20:45 +01:00
Mike Jolley 9637ada4ee Keep escape, pass link 2018-05-29 11:16:30 +01:00
Mike Jolley c9aadf19bd
Merge pull request #20282 from woocommerce/fix/20278
Product properties should not be accessed directly
2018-05-29 10:55:48 +01:00
Mike Jolley daad19fc6c
Merge pull request #20256 from jamesckemp/patch-11
Echo attribute label for "empty" default option
2018-05-29 10:42:26 +01:00
Mike Jolley 37762024e0
Merge pull request #20237 from woocommerce/fix/defend-cod-notices
get_canonical_package_rate_ids should check it has an array
2018-05-29 10:39:16 +01:00
Nicola Mustone 7a453b6021
Updated IT provinces
Removed some provinces that don't exist from February 2016 and added one that has been created at the same point.
2018-05-29 09:45:53 +03:00
Gerhard Potgieter e3a37f81ee Changes based on feedback, no need for sanitasion since wp_handle_upload alread checks 2018-05-29 07:37:25 +02:00
Gerhard Potgieter b3a9d5b4c2 Remove unused variables 2018-05-29 07:33:19 +02:00
Rodrigo Primo 6a4eaa4de5 Check object before calling one of its methods
Check to see if `$product` is an instance of WC_Product before calling WC_Product::get_id() to protect against a fatal error.
2018-05-28 16:36:36 -03:00
Rodrigo Primo 5ed26df842 Product properties should not be accessed directly
Use WC_Product::get_id() instead of WC_Product::ID as product properties should not be accessed directly.

Fixes #20278
2018-05-28 16:32:36 -03:00
Remi Corson b64182162e remove wp_kses() and esc_html() 2018-05-28 12:29:26 +02:00
Gerhard Potgieter 4e40d79f84 Use wc_clean and not wp_unslash when cleaning the file path, strips out slashed on windows machines 2018-05-28 11:50:04 +02:00
Remi Corson 61b9461375 Add wp_kses() authorized tag 2018-05-28 11:44:05 +02:00
Remi Corson 4743dba7d0 Make sample tax rate URL clickable 2018-05-28 11:23:32 +02:00
Gerhard Potgieter dbd476e7de Add unit tests for importing taxes 2018-05-28 11:18:42 +02:00
Gerhard Potgieter 2ad9b00c9c
Merge pull request #20257 from wchrismontgomery/fix/20253
Fix infinite loop with importing tax rates (#20253).
2018-05-28 11:04:04 +02:00
Chris Montgomery 5c37551128 Fix infinite loop with importing tax rates (#20253). 2018-05-26 22:42:37 +00:00
James Kemp 0eeb7834cd
Echo attribute label 2018-05-26 13:10:09 +01:00
James Kemp 1c99022600
Echo attribute label for "empty" default option
The empty option for the default attribute value selectors was not echoed.
2018-05-26 12:59:40 +01:00
Ismail El Korchi 4b2b654749
Update wc_maybe_define_constant doc 2018-05-26 03:16:44 +00:00
boodaah 14f090f82e Add anchor tag example to email template preview 2018-05-25 14:41:20 -04:00
Mike Jolley e1ba7f4b93 Introduce is_paypal_supported_currency check in setup wizard 2018-05-25 17:28:56 +01:00
Mike Jolley 127e5f0213
Merge pull request #20242 from TimBHowe/fix/20240
Updated URL's tab parameter to fix broken edit webhook button
2018-05-25 16:46:36 +01:00
Mike Jolley 048b95e135 Correct code to run again 2018-05-25 16:36:07 +01:00
Tim Howe b783e94084 Updated URL's tab parameter to fix broken edit webhook button 2018-05-25 10:29:03 -04:00
Mike Jolley 083c994732 Break up update routine and allow it run to multuple times 2018-05-25 14:18:19 +01:00
Mike Jolley 45ba81a30b
Merge pull request #20239 from woocommerce/fix/system-status-failing-test
Fix broken system status unit test
2018-05-25 13:34:43 +01:00
Gerhard Potgieter 54b23918b9 Fix broken system status unit test, https://github.com/woocommerce/woocommerce/pull/20231 introduced a new item to the schema 2018-05-25 14:19:14 +02:00
Mike Jolley 6690e54921
Merge pull request #20217 from woocommerce/fix/20182
Prevent shipping method instance save action running on non-instance screens
2018-05-25 13:06:04 +01:00
Mike Jolley 296de85c17
Merge pull request #20235 from woocommerce/fix/20224
add missing wp_unslash calls to product data meta box
2018-05-25 13:05:32 +01:00