Commit Graph

21612 Commits

Author SHA1 Message Date
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 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 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 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
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
Mike Jolley 3367047c8e Update total orders and items 2017-06-09 15:07:31 +01:00
Mike Jolley 27d57e6019 More specific radio hiding
Closes #15538
2017-06-09 14:47:07 +01:00
Mike Jolley 5fe26e689c Merge pull request #15528 from Chouby/importer_action
[3.1] Add action after a product has been imported
2017-06-09 14:17:41 +01:00
Mike Jolley 49958a13a6 Prevent empty attributes being loaded or used 2017-06-09 12:14:11 +01:00
Mike Jolley 9b7379c66e Merge branch 'pr/15527' 2017-06-09 09:38:30 +01:00
Mike Jolley 4a56c8b92a Fix indent 2017-06-09 09:36:44 +01:00
Frédéric Demarle 08e30450b5 Add action after a product has been imported 2017-06-09 08:30:22 +02:00
nishitlangaliya 9ba5f534ea Fixed Don't show 'Restock refunded items' ref #14888 2017-06-09 09:06:57 +05:30
claudiulodro ddd86bcff4 Good progress on user func tests 2017-06-08 14:30:23 -07:00
Claudio Sanches 16d342a6a0 Fixed backwards compatibility with WC_Product_Variable::get_available_variation()
Closes #15167
2017-06-08 16:06:06 -03:00
Claudio Sanches 8b3d1046e0 Merge pull request #15515 from woocommerce/update/15399
Tweak review settings and add global enable option
2017-06-08 15:53:00 -03:00
Claudio Sanches c19da29223 Fixed a typo 2017-06-08 15:52:34 -03:00
Claudiu Lodromanean 64558086bb Merge pull request #15513 from woocommerce/fix/12534
Make persistant cart work on multisite
2017-06-08 09:11:48 -07:00
Claudiu Lodromanean 58a6c2d678 Merge pull request #15511 from woocommerce/update/comment-queries
Comment exclusion queries optimisation
2017-06-08 08:18:48 -07:00
Mike Jolley 5ee38c54c2 Option to disable reviews globally 2017-06-08 15:26:30 +01:00
Mike Jolley b4040b1335 Translate quick edit text 2017-06-08 14:24:28 +01:00
Mike Jolley 32aca8cc39 String clarification 2017-06-08 14:08:48 +01:00
Mike Jolley 0d4dc49bd3 Break up verified owner and rating options 2017-06-08 14:06:15 +01:00
Mike Jolley a55127dbf0 Append hash to fragment name 2017-06-08 13:47:34 +01:00
Mike Jolley 6eacecfeb6 Append blog ID on persistent cart user meta 2017-06-08 13:47:23 +01:00
Mike Jolley 6b4fce475a Indenting 2017-06-08 12:46:01 +01:00
Mike Jolley 4ea9ab46a7 Avoid slow substring query 2017-06-08 12:21:55 +01:00
Mike Jolley caacd65085 Update function to ensure notes have correct type (pre WC 1.6) 2017-06-08 12:18:07 +01:00
Mike Jolley 75480ab99f Show notes in order list 2017-06-08 12:17:46 +01:00
Mike Jolley b32d5802b7 Rather than join the posts table and look at types, we can exclude order notes by using their type.
Webhooks use `webhook_delivery`

Order notes use `order_note` type.

#15509
2017-06-08 12:01:06 +01:00
Mike Jolley be93b56e20 Merge pull request #15507 from woocommerce/improvement/tests
Increase WC_Countries unit test coverage
2017-06-08 10:52:13 +01:00
claudiulodro cdd24bf8e1 Increase country unit test coverage 2017-06-07 14:31:32 -07:00
Claudio Sanches cb4ea0c356 3.1.0-beta.2 2017-06-07 18:13:20 -03:00
Mike Jolley 25de18c614 Merge pull request #15495 from woocommerce/fix/15481
Validate all possible values for variation add to cart
2017-06-07 15:25:05 +01:00