Commit Graph

21644 Commits

Author SHA1 Message Date
Claudio Sanches 6d1c133a3e Merge pull request #15594 from woocommerce/fix/15561
Remove escape to fix saving of Special characters in attributes
2017-06-13 14:28:39 -03:00
Mike Jolley ba2bf67bb9 Use hash_equals where needed 2017-06-13 13:54:02 +01:00
Mike Jolley e24ca9d3bc Merge remote-tracking branch 'origin/master' 2017-06-13 13:35:17 +01:00
Mike Jolley eba3241d6a Merge branch 'pr/15591' 2017-06-13 13:35:11 +01:00
Mike Jolley 598982ef70 Standards 2017-06-13 13:34:46 +01:00
Mike Jolley c4c3d37101 Remove escape 2017-06-13 13:30:00 +01:00
Mike Jolley 393f1be092 Merge pull request #15580 from woocommerce/refactore/improve-importer-mapping-options
Better importer mapping options
2017-06-13 12:15:33 +01:00
Mike Jolley 1a6e477c83 Merge pull request #15579 from woocommerce/fix/importer-delimiter
Start handle importer delimiter
2017-06-13 11:57:10 +01:00
Mike Jolley 3d50d1468c Merge pull request #15590 from woocommerce/fix/15584
Prevent error in wc_get_product_term_ids
2017-06-13 11:43:00 +01:00
Mike Jolley 282bf0fd68 Cleanup 2017-06-13 11:41:44 +01:00
nishitlangaliya efea26d8fa Fixed Login Issue when the username is an email ref #15577 2017-06-13 16:09:54 +05:30
Mike Jolley 5b1af1b75f Merge pull request #15550 from ughimire/product-import
Fixed - Directory separator issue on windows for product import file …
2017-06-13 11:35:40 +01:00
Mike Jolley 0b14e91a60 Merge pull request #15533 from woocommerce/fix/order-item-meta-formatting
Removes the use of strip_tags() when outputting order item meta
2017-06-13 11:35:03 +01:00
yachmenov_c_ ab7a3b625c #15584 - is_wp_error() checking added to prevent fatal 2017-06-13 11:19:56 +03:00
Umesh Ghimire b5cd0a8680 Space after parentheses 2017-06-13 09:52:27 +05:45
Claudio Sanches b3c0e705c9 Merge pull request #15578 from woocommerce/fix/15573
Add support for paginate with return ids in wc_order_query
2017-06-12 18:17:42 -03:00
Claudio Sanches e6b5ac83c4 Better importer mapping options
- Rearranged fields to make easy to find
- Grouped price fields
- Include context to "Stock" since could means different things depending on the language
2017-06-12 18:08:23 -03:00
Claudio Sanches 2702647f88 Start handle importer delimiter
This make able handle the delimiter input passing to mapping screen and to the AJAX importation process.
2017-06-12 17:47:20 -03:00
claudiulodro f020d54e67 Add support for paginate and return ids in wc_order_query 2017-06-12 13:26:29 -07:00
Claudiu Lodromanean da35bad7bc Merge pull request #15575 from woocommerce/fix/15559
[REST API] Allow set grouped_products
2017-06-12 10:14:05 -07:00
Claudio Sanches 4dcb61e098 Fixed a typo 2017-06-12 13:59:47 -03:00
Claudio Sanches b2ce6212d4 Merge pull request #15569 from woocommerce/fix/15566
Update variation outofstock term on save.
2017-06-12 13:51:38 -03:00
Claudio Sanches 1254013f51 Merge pull request #15539 from woocommerce/fix/exporter-speed-and-encoding
Fix exporter speed and encoding
2017-06-12 13:49:57 -03:00
Claudio Sanches 1f7f289a88 Merge pull request #15570 from woocommerce/fix/15555
Show attribute data in admin list.
2017-06-12 13:43:02 -03:00
Claudio Sanches 43d28372b9 [REST API] Allow set grouped_products
Fixes #15559
2017-06-12 13:34:39 -03:00
Claudio Sanches 2541e38890 Merge pull request #15571 from woocommerce/fix/customer-logout-nonce
Add a nonce and confirmation for logging out via the customer my account page
2017-06-12 13:29:39 -03:00
Mike Jolley 636ad8b652 Add a nonce and confirmation for logging out via the customer my account page 2017-06-12 14:02:29 +01:00
Mike Jolley 54a9387361 Show attribute data in admin list. 2017-06-12 13:37:52 +01:00
Mike Jolley a9a23213de Merge pull request #15554 from Chunkford/patch-3
Pass context information to formatted order item meta data filters - Part 2
2017-06-12 13:12:54 +01:00
Mike Jolley 012f251e42 Update variation outofstock term on save. 2017-06-12 13:09:47 +01:00
Mike Jolley 396c8aa4fc Fix comment
Closes #15560
2017-06-12 11:39:22 +01:00
Chunkford 49353d5c6e Create class-wc-order-item-meta.php
Add extra data to the second occurrence of the 'woocommerce_order_item_display_meta_value' hook so it matches the change done in https://github.com/woocommerce/woocommerce/pull/15551
2017-06-10 16:05:02 +01:00
Mike Jolley 1696a036a8 Use fputcsv to fix escaping 2017-06-10 15:43:38 +01:00
Mike Jolley e2a73bbee9 Merge pull request #15523 from woocommerce/fix/15167
Fixed backwards compatibility with WC_Product_Variable::get_available_variation()
2017-06-10 14:27:02 +01:00
Mike Jolley fbe08cd76e Merge pull request #15551 from Chunkford/patch-1
Pass context information to formatted order item meta data filters
2017-06-10 14:21:49 +01:00
Chunkford 6326bd1f98 Create class-wc-order-item.php
Add extra data to `woocommerce_order_item_display_meta_key` and `woocommerce_order_item_display_meta_value` hooks
2017-06-10 13:26:43 +01:00
Umesh Ghimire 71c22cadf1 Fixed - Directory separator issue on windows for product import file fixed. 2017-06-10 08:50:41 +05:45
Claudio Sanches 894c77b0f7 Merge pull request #15547 from woocommerce/fix/15543
Fix undefined/incorrectly used variables
2017-06-09 19:42:08 -03:00
claudiulodro 4515e5fca9 Fix undefined/incorrectly used variables 2017-06-09 14:10:55 -07:00
Claudiu Lodromanean d1b23a73d2 Merge pull request #15546 from woocommerce/refactore/customer_avatar_url
Deprecated wc_get_customer_avatar_url() in favor of get_avatar_url()
2017-06-09 13:24:03 -07:00
Claudio Sanches 6d7da18d1c Use get_avatar_url() in wc_get_customer_avatar_url() 2017-06-09 17:17:43 -03:00
Claudio Sanches df0ec12fb4 Deprecated wc_get_customer_avatar_url() in favor of get_avatar_url()
And remove duplicated code.
2017-06-09 16:25:57 -03:00
Claudio Sanches 962ab8b165 Merge pull request #15545 from woocommerce/improvement/tests
wc-user-functions.php unit tests
2017-06-09 16:00:46 -03:00
Claudio Sanches e63f42459b Include image_id again 2017-06-09 15:44:32 -03:00
claudiulodro 384e8d85f4 Finish user func tests 2017-06-09 11:37:28 -07:00
Claudiu Lodromanean 5d13ea39b1 Merge pull request #15537 from woocommerce/fix/empty-attributes
Prevent empty attributes being loaded or used
2017-06-09 10:42:48 -07:00
Claudiu Lodromanean b6485bd9d8 Merge pull request #15540 from woocommerce/fix/15538
More specific radio hiding
2017-06-09 09:50:58 -07:00
Claudiu Lodromanean f8c64b31c0 Merge pull request #15541 from woocommerce/fix/15532
Update total orders and items
2017-06-09 09:39:50 -07:00
Claudiu Lodromanean 8dc2b3dd86 Merge pull request #15542 from woocommerce/fix/15508
Use user_can function
2017-06-09 09:29:50 -07:00
Mike Jolley 4367c9f6d4 Use user_can function
Use user can rather than roles directly.

If the user can edit posts, assume they are allowed an archive.

Fixes #15508
2017-06-09 15:18:35 +01:00