Commit Graph

6865 Commits

Author SHA1 Message Date
Mike Jolley 6765967be8 Add data and tostring handling to WC_Data 2016-03-17 15:22:29 +00:00
Mike Jolley 9ce1a21271 Merge pull request #10557 from justinshreve/crud
New WC_Data class with meta methods for CRUD
2016-03-17 13:49:20 +00:00
Claudio Sanches 631c814448 [API] Allow save image ID when saving product variations, closes #10570 2016-03-16 15:05:14 -03:00
Mike Jolley fa30a38c58 Merge pull request #10471 from brazabr/master
Implement shipping packages filters to allow multiple origins
2016-03-16 12:53:09 +00:00
Mike Jolley 34767ebe0c Bump min recommended requirements to 5.6 2016-03-16 12:42:57 +00:00
Mike Jolley 874d2e3e0a Check cookie is a string 2016-03-16 10:04:53 +00:00
Thiago Benvenuto 1847b0fab5 Adjusted since version 2016-03-15 20:31:39 -03:00
Thiago Benvenuto 180a09f52c Added docblock to filter
Removed duplicated filter

Renamed filter after shipping costs are calculated
2016-03-15 20:31:39 -03:00
Thiago Benvenuto 30a06d85df Fixed identation mistake 2016-03-15 20:31:39 -03:00
Thiago Benvenuto 7832039bb7 Implemented packages filter for marketplace 2016-03-15 20:31:39 -03:00
Justin Shreve a51e164fd7 Set versions to 2.6 2016-03-15 15:44:04 -07:00
Justin Shreve 9aff45e154 Feedback 2016-03-15 15:11:07 -07:00
Justin Silver ef3a5b97ef Merge remote-tracking branch 'upstream/master' 2016-03-15 13:51:49 -07:00
Justin Silver 4dec4832e1 Fix highlight series ID for coupons line from legend 2016-03-15 13:50:01 -07:00
Mike Jolley 1549158981 Add 'is_enabled' column to instances table and allow toggle in zones screen
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley 0ac7b23a1c Use one save button and add classname
@allendav
2016-03-15 16:21:57 +00:00
Mike Jolley 05179ea253 Removed debug code 2016-03-15 15:58:15 +00:00
Mike Jolley e22d324be4 Add notice for legacy shipping zones after update 2016-03-15 15:58:03 +00:00
Mike Jolley 5fe501e436 Convert encoding
#10562
2016-03-15 15:58:03 +00:00
James Koster 2be24c3a33 tweak component name class 2016-03-15 13:44:59 +00:00
James Koster 362749acc9 add a class to the main product link 2016-03-15 13:41:33 +00:00
Mike Jolley c10b861f80 Merge pull request #10558 from doublesharp/master
Add 'woocommerce_admin_report_data' and 'woocommerce_admin_report_chart_data' to filter chart data by 3rd parties
2016-03-15 12:22:18 +00:00
Mike Jolley e664f0f82b Log PDT data correctly, including payer details
Closes #10546
2016-03-15 12:18:52 +00:00
Justin Silver ffdfe816ec Add ‘woocommerce_admin_report_data’ to filter chart data by 3rd parties
Refactor get_main_chart() to use an array of data so that it to can be
filtered
Add ‘woocommerce_admin_report_chart_data’ to filter chart data by
period (for display)
2016-03-14 19:30:49 -07:00
Justin Shreve 5d6cdd05f1 Finish out tests, make sure to use cprrect meta ID field in order by clause. 2016-03-14 11:12:47 -07:00
Justin Shreve 97c0edf445 Start on tests for testing CRUD meta.
Includes Mock object for testing against the abstract WC_Data.
2016-03-14 11:12:47 -07:00
Justin Shreve f572a887e0 New Abstract WC_Data Class 2016-03-14 11:12:47 -07:00
Justin Shreve ea260254c1 Fix feedback. 2016-03-14 09:41:37 -07:00
Justin Shreve 5dbfc7ae16 Fix Payment Token 'set default' methods. Makes sure we are using the user ID of the payment token, and not the current user.
Also makes sure to properly unset other tokens when a new one is set as default. Finally, we make sure that a user is always set in our payment token tests (which was broken in some WP versions which alerted us to some broken tests).
2016-03-14 09:41:37 -07:00
Mike Jolley ee0798047e Merge branch 'wc-get-orders-10500' 2016-03-14 16:09:01 +00:00
Mike Jolley a588757d33 Feedback 2016-03-14 16:08:42 +00:00
Mike Jolley df75080858 woocommerce_product_categories_widget_product_terms_args filter
Closes #10555
2016-03-14 15:52:04 +00:00
Mike Jolley c573a5b75f Only add product line if product exists.
Fixes #10556
2016-03-14 15:40:58 +00:00
Mike Jolley 0516d63c3f Update download permission user and email when changed
Fixes #10543
2016-03-14 14:36:32 +00:00
Claudio Sanches 4e1a3d7a0c Introduces woocommerce_queued_js filter, closes #10553 2016-03-14 10:47:34 -03:00
Mike Jolley 4a8573c9f0 Trigger action when no results are found in a shortcode
Used to add custom content.

Closes #10552
2016-03-14 12:11:51 +00:00
Mike Jolley ac122f13b9 Add context to checkout error messages
Closes #10540
2016-03-14 11:54:16 +00:00
Mike Jolley 571956d57d Ignore catalog visibility on products shortcode when specifying ids and skus 2016-03-14 10:49:11 +00:00
Mike Jolley 733b0c8c93 Lowercase includes %s string only 2016-03-14 10:41:48 +00:00
Mike Jolley 5e88adc02a Remove drop index code - will patch WP core 2016-03-12 08:18:28 +00:00
Mike Jolley ac857999ff [2.5] Prevent notice when unsetting terms
Fixes #10536 @claudiosmweb
2016-03-11 13:12:31 +00:00
Mike Jolley 73fdfe595a [2.5] Prevent shortcode errors when non product ID is provided
Fixes #10534
2016-03-11 12:53:50 +00:00
Mike Jolley 86a0fff731 [2.5] Before updating with DBDELTA, drop existing indexes so they can be re-added without duplicate key errors. 2016-03-11 12:32:43 +00:00
Claudio Sanches 5fbd88489b Input type for api keys 2016-03-10 14:39:52 -03:00
Claudio Sanches e233eaa2c3 Fixed missing textdomain 2016-03-10 14:26:06 -03:00
Mike Jolley d28183f267 Merge pull request #10531 from torrelasley/patch-1
Fixing Issue #10523 - Variations ID lookup by SKU
2016-03-10 12:52:54 +00:00
Mike Jolley 2d2c64d2ab Change heading and tab markup
Closes #10515
2016-03-10 12:52:20 +00:00
Torre Lasley e9c3a3614f Fixing Issue #10523 - Variations ID lookup by SKU
I copied the code from the bulk() function to look up the Variation ID by the Variation SKU if the Variation ID is missing.
2016-03-10 07:34:29 -05:00
Mike Jolley 29d35151a1 woocommerce_cod_process_payment_order_status filter
Closes #10522
2016-03-10 12:30:42 +00:00
Mike Jolley 726728071b [2.5] Hide shipping row when calculator is disabled, and shipping costs are hidden
Fixes #10519
2016-03-10 12:26:52 +00:00
Mike Jolley b4f4e3c7ab Merge pull request #10530 from ConfusedTA/patch-1
Add filter to output from json_search_customers
2016-03-10 12:21:27 +00:00
Mike Jolley 1cf4543137 Spanish postcode format
Closes #10529
2016-03-10 12:17:49 +00:00
ConfusedTA 8495d98275 Add filter to output from json_search_customers
Add filter to admin ajax customer search, to allow modification of search result output via plugin or theme.
2016-03-10 12:15:44 +00:00
Mike Jolley 9ce892bd39 Avoid title case. Clean up colon.
Closes #10524 (lol)
2016-03-10 11:39:32 +00:00
Mike Jolley 32acec8477 Load session handler and abstract together 2016-03-10 09:31:25 +00:00
Shiva Poudel d567d12b64 Remove colon from tax setting page 2016-03-10 11:32:33 +05:45
Claudio Sanches 11decde0ab Make sure that the attribute is a taxonomy before unset #10506 2016-03-09 17:17:21 -03:00
Claudio Sanches 99fd5f0d68 [2.5] Unset deleted attributes when update products, closes #10506 2016-03-09 17:12:19 -03:00
Mike Jolley 2e0f151039 Merge branch 'master' into wc-get-orders-10500
# Conflicts:
#	includes/wc-order-functions.php
#	includes/wc-template-functions.php
#	templates/myaccount/my-orders.php
#	templates/myaccount/orders.php
2016-03-09 16:23:01 +00:00
Mike Jolley cc97de2315 Revert "Implement wc_get_orders() function"
This reverts commit 5075d4bab3.
2016-03-09 16:16:22 +00:00
Mike Jolley c1e8dd1fe8 Use wc_get_orders iternally 2016-03-09 16:11:05 +00:00
Mike Jolley d3f98dce03 More advanced customer filter
#10500
2016-03-09 14:50:34 +00:00
Mike Jolley 333a391406 Remove wc_get_account_orders_query_args
#10500
2016-03-09 13:26:54 +00:00
Mike Jolley 5075d4bab3 Implement wc_get_orders() function
#10500
2016-03-09 13:25:42 +00:00
Mike Jolley 807b860a6c Merge pull request #10514 from SiR-DanieL/email-items-type
Added bool param for email order items hooks
2016-03-09 12:00:11 +00:00
Mike Jolley 55918626f5 [2.5] Update date for paid orders during non-manual updates only
Fixes #10510
2016-03-09 11:58:44 +00:00
Nicola Mustone c7756187e0 Added bool param for email order items hooks 2016-03-09 12:55:28 +01:00
Shiva Poudel 1a9f30d7e1 Simplify the copy-error message in system status 2016-03-09 01:04:41 +05:45
Claudio Sanches ffd150d4df Coding standards 2016-03-08 15:54:19 -03:00
Claudio Sanches b6376b86c5 Trigger webhook when user edit addresses on frontend, closes #10505 2016-03-08 15:54:13 -03:00
Claudio Sanches 2c4aff6370 Merge pull request #10507 from shivapoudel/system-status
Remove WP 4.2 emojis prefix in system status report
2016-03-08 15:47:20 -03:00
Shiva Poudel 3111ecf8e8 Remove WP 4.2 emojis prefix in system status report 2016-03-08 23:32:39 +05:45
Claudio Sanches 4760108a03 Merge pull request #10504 from woothemes/SiR-DanieL-patch-1
[WC-CLI] Allow multidimensional arrays to be created properly
2016-03-08 13:07:50 -03:00
Nicola Mustone 417a97af78 allow multidimensional arrays to be created properly 2016-03-08 17:00:35 +01:00
Nicola Mustone c159f5c0c8 making easier to create variations 2016-03-08 16:49:30 +01:00
Mike Jolley 53d89dd257 Merge pull request #10499 from SiR-DanieL/wc-cli-bool-bugfix
WC CLI can't turn on checkboxes
2016-03-08 14:33:52 +00:00
Nicola Mustone 4633982161 use a helper method to check values 2016-03-08 15:18:31 +01:00
Nicola Mustone a174f85381 checking 'yes' against boolean 2016-03-08 14:51:04 +01:00
Mike Jolley eefbc053c9 escape data-title
Fixes #10490
2016-03-08 13:41:34 +00:00
Mike Jolley f7f26b192b Don't affect log when generating log text 2016-03-08 13:24:19 +00:00
Mike Jolley b3dc976fe3 Only do search logic if search_fields has values
Closes #10497
2016-03-08 12:58:31 +00:00
Mike Jolley 2a4c05a9ca Merge pull request #10495 from pmdeazeta/patch-1
Include backorders_allowed attribute on each of the variations when fetching the product via API
2016-03-08 12:56:08 +00:00
Mike Jolley 75d10abd16 Order by date and ID
Fixes #10493
2016-03-08 12:54:07 +00:00
Mike Jolley 5b7bc59517 [2.5] Rename pay link for clarity 2016-03-08 11:50:41 +00:00
Mike Jolley 00a6fe8682 [2.5] Allow big selects when getting variations 2016-03-08 11:33:04 +00:00
James Koster 69c9ab0345 Use Dashicons on system status page. #9791 2016-03-08 10:21:06 +00:00
Philip Mark Deazeta 72bfa736b5 Update class-wc-api-products.php 2016-03-08 10:07:36 +08:00
Claudio Sanches 32943b818b Shipping classes do not are hierarchical
cc @mikejolley
2016-03-07 15:19:04 -03:00
Claudio Sanches 3aac6dd80e Merge pull request #10489 from woothemes/SiR-DanieL-patch-2
WC CLI does not allow to bulk delete orders
2016-03-07 13:42:32 -03:00
James Koster 850134fc20 Makes the review template easier to customise without forcing a template override. #10339
* Adds `woocommerce_review_before`,
`woocommerce_review_before_comment_meta`, `woocommerce_review_meta` and
`woocommerce_review_comment_text` actions.
* Adds `woocommerce_review_display_gravatar()`,
`woocommerce_review_display_rating()`,
`woocommerce_review_display_meta()` and
`woocommerce_review_display_comment_text()` template functions.
* Adds template files for review rating and meta.
2016-03-07 15:33:47 +00:00
Nicola Mustone 090e0bac64 use the correct order ID 2016-03-07 16:14:21 +01:00
Mike Jolley 2a98607532 Remove log dir from debug
@mattyza
2016-03-07 13:16:39 +00:00
Mike Jolley f1eefa902c [2.5] When getting coupon by code used twice, latest should be queried
Closes #10487
2016-03-07 13:08:02 +00:00
James Koster f926f8e9c9 replaces .png credit card icons with .svg alternatives. closes #9675 2016-03-07 12:15:42 +00:00
James Koster 5d7f95fa7f Update the Storefront banner to include the new logo. closes #10313 2016-03-07 11:36:07 +00:00
Mike Jolley 723b4109d2 Add notice on empty cart when checking out 2016-03-07 10:31:01 +00:00
Mike Jolley 89af9e9416 wc_get_page_permalink - if the page ID is not set, redirect home instead 2016-03-07 10:29:01 +00:00
Thi 348f9cc235 Fix wrong URL and request duration in webhook logs 2016-03-06 01:24:10 +09:00
Mike Jolley 1979138666 Use unformatted coupon post title for comparison
Fixes #10476
2016-03-04 15:55:46 +00:00
Justin Shreve 927941e2ca Merge pull request #10260 from justinshreve/token-api
Payment Token API
2016-03-04 04:34:41 -08:00