Commit Graph

16812 Commits

Author SHA1 Message Date
Nicolas Bovee fe5f2d411b added an error for variation using variation for parent in import and removed @access on 87 2018-11-04 23:34:17 -07:00
roykho 800ed5fe73
Check priority index before comparing 2018-11-03 08:13:14 -07:00
nishitlangaliya b7cf72d626 fix: save fee name without html from base source 2018-11-03 00:19:30 +05:30
claudiulodro b0b3ddccb0 remove extra parens 2018-11-02 10:21:30 -07:00
claudiulodro 0fa1448cfe Topic blacklist 2018-11-02 10:21:30 -07:00
Claudio Sanches a1875a135e Added exception for when a non-admin user tries assign API keys to an admin 2018-11-02 10:21:18 -07:00
Claudio Sanches 8618d9a976 Fixed coding standards 2018-11-02 10:21:18 -07:00
Claudio Sanches 7437289418 Check for permissions before allow edit REST API keys 2018-11-02 10:21:18 -07:00
Claudio Sanches 58d2fc85ed Fixed permission check to allow list customers 2018-11-02 10:21:08 -07:00
Claudio Sanches 8c908b178e Fixed permission check on customers endpoint for legacy REST API 2018-11-02 10:21:08 -07:00
Claudio Sanches 246cc569f3 Allow shop managers to only manipulate customers on REST API 2018-11-02 10:21:08 -07:00
Claudio Sanches fff05e9434 Included sanitization for product's description on legacy REST API 2018-11-02 10:20:55 -07:00
Claudiu Lodromanean ecdffab309
Merge pull request #21641 from jamsheerkrd/master
Update abstract-wc-data.php
2018-11-02 09:04:34 -07:00
Jamsheer 95f639ad92
Update abstract-wc-data.php 2018-11-02 20:43:58 +05:30
Claudiu Lodromanean 00d254ac18
Merge pull request #21715 from angelleye/21714
Sets signature field type to password for security, resolves #21714
2018-11-02 08:09:56 -07:00
Claudiu Lodromanean 4aad055e62
Merge pull request #21696 from siananda/fix-21652
Prevent deleting default product category via REST API
2018-11-02 08:09:21 -07:00
Gerhard 2aa39507f7 Do not include products who's parents are not in publish status to be part of the get_on_sale_products results 2018-11-01 12:01:59 +02:00
angelleye f995c2e070 Changes field type to password for live Signature field, resolves #21714 2018-10-31 12:32:40 -05:00
Claudiu Lodromanean 696e22f013
Merge pull request #21763 from woocommerce/fix/checkout-field-priority
Checkout fields priority refactor
2018-10-31 09:11:47 -07:00
nishitlangaliya 4acf8b80cd fix: Manually adding fee on order generate html code 2018-10-31 21:32:31 +05:30
Claudiu Lodromanean f973d0bed2
Merge pull request #21745 from woocommerce/fix/21697
Make easy to register new REST API versions into webhooks
2018-10-31 08:51:24 -07:00
Claudiu Lodromanean 73c8c99607
Merge pull request #21740 from woocommerce/revert/17895
Revert PR #17895
2018-10-31 08:50:51 -07:00
Claudiu Lodromanean 175991b5db
Merge pull request #21690 from woocommerce/fix/21684
Do not include strong tags as part of translation string on subscriptions disconnect message
2018-10-31 08:49:42 -07:00
Gerhard c356f3d053 Sort checkout fields using PHP and not JS on initial page load as it causes issues as per #20640
Co-authored-by pierrebuet
2018-10-31 08:14:50 +02:00
Gerhard 7d060949ad Convert wc_product_attribute_uasort_comparison to use wc_uasort_comparison 2018-10-31 07:41:01 +02:00
Gerhard f844582976 Convert wc_shipping_zone_method_order_uasort_comparison to use wc_uasort_comparison 2018-10-31 07:40:08 +02:00
Gerhard 21ad281850 Add new wc_uasort_comparison function 2018-10-31 07:38:38 +02:00
Claudiu Lodromanean 59d60debb7
Merge pull request #21757 from woocommerce/fix/21730
Use array instead of string to define class for address line 2 input on checkout
2018-10-30 11:35:49 -07:00
Claudiu Lodromanean b282ea9e89
Merge pull request #21749 from woocommerce/fix/21746
Fix get_cart_from_session infinite loop
2018-10-30 11:04:28 -07:00
Rodrigo Primo bdb8f26d44 Use array instead of string to define class for address line 2 input on checkout
Doing this to be consistent with the other instances where a class is added to one of the checkout fields and thus make it easier for third-parties to add classes to checkout fields.
2018-10-30 14:59:08 -03:00
Claudiu Lodromanean aa8caacf9c
Merge pull request #21675 from woocommerce/fix/21660
Removed non-existing WC_Product_Simple->set_date_created_gmt method
2018-10-30 10:47:02 -07:00
nishitlangaliya e7b9056c58 fix: global table included along with multisite tables 2018-10-30 20:50:09 +05:30
Gerhard 560a49a3b2 Use a cleaner approach to prevent loading cart from session to call itself. 2018-10-30 11:58:39 +02:00
Gerhard b808c70c44 Do not populate cart from session when ordering again and using the get_cart in a hook, the order again functionality already loads the cart from session, which get_cart does as well causing infinite loops. 2018-10-30 11:52:00 +02:00
Md. Saiful Islam 285151843f
compare with $request['id'] instead of $term 2018-10-30 11:36:16 +06:00
Claudiu Lodromanean 83c71f053b
Merge pull request #21703 from woocommerce/fix/21702
Update product block editor hook for WP 5.0
2018-10-29 16:12:51 -07:00
Claudio Sanches f765b47cbf Make easy to register new REST API versions into webhooks
Closes #21697
2018-10-29 19:31:47 -03:00
Claudiu Lodromanean 94ab419988
Merge pull request #21744 from woocommerce/tweak/add-get-cart-contents-filter
Introduce a new filter for 'get_cart_contents'
2018-10-29 13:29:05 -07:00
Boro Sitnikovski 8c6226e7bd Introduce a new filter for 'get_cart_contents' 2018-10-29 21:08:22 +01:00
Rodrigo Primo fce22a705f Reapply change made in c765ce644d
Reverting commit 61c7abc in commit ece9f02776, overrode a unrelated change made to the same code in another PR by commit c765ce644d. This commit simply reapplies this change.
2018-10-29 16:34:48 -03:00
Claudiu Lodromanean 3e30682b41
Merge pull request #21704 from woocommerce/fix/reduce-strings
Merged similar strings to reduce number of translateable strings
2018-10-29 12:04:08 -07:00
Claudiu Lodromanean 1dd4ba0af6
Merge pull request #21729 from woocommerce/update/21627
Make PDT validation use the same rounding as the IPN validation.
2018-10-29 11:44:53 -07:00
Claudiu Lodromanean 2829c5ad13
Merge pull request #21658 from woocommerce/fix/21653
Revert show shipping behavior change
2018-10-29 11:20:15 -07:00
Claudiu Lodromanean 5222309eba
Merge pull request #21633 from AlexeyKhmyrov/issue_21406
Use html entity for times (x) sign when outputting dimensions.
2018-10-29 11:19:49 -07:00
Rodrigo Primo 55fcd4c210 Preserve changes in includes/class-wc-background-updater.php 2018-10-29 13:14:05 -03:00
Rodrigo Primo ece9f02776 Revert "First pass at using post_author instead of the post meta '_customer_user'"
This reverts commit 61c7abce4f.
2018-10-29 11:48:44 -03:00
Rodrigo Primo be4132e228 Revert "Set post_author to 0 for refund orders"
This reverts commit ad4304450d.
2018-10-29 11:47:00 -03:00
Rodrigo Primo ff7e307b6b Revert "Make sure post_author is used only after WC 3.3.0 DB upgrade routine is executed"
This reverts commit 997a6fa40d.
2018-10-29 11:46:33 -03:00
Rodrigo Primo 7db65aea2c Revert "Use post_author field instead of post meta in orders admin page"
This reverts commit 6ecc3bc442.
2018-10-29 11:46:02 -03:00
Rodrigo Primo 487ac201c0 Revert "Bump WC version to 3.4.0"
This reverts commit 7f43c39f2f.
2018-10-29 11:44:32 -03:00
Rodrigo Primo 8d80d1417c Revert "Add filter to list of post_types used to build the query to copy _customer_user to post_author"
This reverts commit 1f39f7d633.
2018-10-29 11:42:51 -03:00
Rodrigo Primo 1051b3fbeb Revert "Reposition wc_update_340_order_customer_id() function"
This reverts commit 35998e56cb.
2018-10-29 11:42:25 -03:00
Rodrigo Primo 911df7806f Revert "Migrate _customer_user to post_author in batches"
This reverts commit 4123cc6f7d.
2018-10-29 11:37:54 -03:00
Rodrigo Primo 1d9ab63134 Revert "Punt to WC version 3.5.0"
This reverts commit ccf10f6ab2.
2018-10-29 11:37:24 -03:00
Rodrigo Primo 3374ec7a74 Revert "Migrate data to post_author in a single go when using WP-CLI"
This reverts commit e02f3fbec4.
2018-10-29 11:25:55 -03:00
Gerhard Potgieter dba5469efa
update comment for PHPCS passes
Co-Authored-By: siananda <anandacsebd@gmail.com>
2018-10-29 20:21:14 +06:00
Rodrigo Primo ee6e0a345e Revert "Monitor only memory limit while running the data migration"
This reverts commit 923eeb2e43.
2018-10-29 11:19:52 -03:00
Rodrigo Primo ad31742ba1 Revert "Cache query to get the list of orders placed by the user ID 1"
This reverts commit 697421a9fa.
2018-10-29 11:17:39 -03:00
Rodrigo Primo a2c18145fc Revert "Set post_author to 0 on all orders that belong to a deleted customer"
This reverts commit f725dc17af.
2018-10-29 11:16:07 -03:00
Rodrigo Primo f109008e0d Revert "Update wc_customer_bought_product() and customers report to use post_author instead of _customer_user"
This reverts commit b97f2749d6.
2018-10-29 11:15:22 -03:00
Rodrigo Primo 86650d9fb8 Revert "Update WC API v1 and v2 to use post_author instead of _customer_user"
This reverts commit fdfe95b07e.
2018-10-29 11:14:24 -03:00
Ron Rennick 427d7df7fb Introduce WC_Admin_Notices::is_ssl(), add SSL check to dashboard SSL notice 2018-10-29 11:10:09 -03:00
Rodrigo Primo 37c796487d Revert "Update WC_Customer_Data_Store to use post_author instead of _customer_user"
This reverts commit 482e844f16.
2018-10-29 11:09:13 -03:00
Rodrigo Primo e47ebfaafb Revert "Update WC_Order_Data_Store_CPT::get_wp_query_args() to use post_author instead of _customer_user"
This reverts commit 8db3236889.
2018-10-29 11:08:53 -03:00
Rodrigo Primo 4151c9e5cb Revert "Fix some code untitentional code changes added during the last merge from master"
This reverts commit 7f70c6372c.
2018-10-29 11:07:53 -03:00
Rodrigo Primo 7c50892089 Revert "Pass user_id via $wpdb->prepare()"
This reverts commit 77add46705.
2018-10-29 11:07:20 -03:00
Rodrigo Primo 61045ecb6f Revert "Fix indentation"
This reverts commit 397e40f165.
2018-10-29 11:07:05 -03:00
Rodrigo Primo 0258f43589 Revert "Add @return for wc_update_350_order_customer_id() docblock"
This reverts commit 5c5cddf26a.
2018-10-29 11:06:15 -03:00
Gerhard aba734f033 Make PDT validation use the same rounding as the IPN validation. 2018-10-29 11:50:47 +02:00
nishitlangaliya e275bf2b1d fix: Various 'Table does not exist' in WooCommerce status 2018-10-27 11:20:21 -08:00
angelleye 7ec6f3f67b Sets signature field type to password for security, resolves #21714 2018-10-27 06:21:56 -05:00
Claudio Sanches ccb3f3d82c Normalize string in terms controller 2018-10-26 20:12:09 -03:00
Claudio Sanches 2be69a90a6 Reduce number of duplicated strings 2018-10-26 20:08:24 -03:00
Claudio Sanches 47a6c32d5c Remove duplicated string in reviews endpoint 2018-10-26 19:31:03 -03:00
Claudio Sanches 3aa9b60b61 Merged similar strings to reduce number of translateable strings 2018-10-26 18:16:14 -03:00
claudiulodro d59f165e31 Update block editor hook to new one 2018-10-26 13:48:47 -07:00
Md. Saiful Islam 50d33a5793
Fix for issue #21652
Prevent deleting the default product category. Added additional checking is the category is the default category or not.
2018-10-26 21:05:52 +06:00
Gerhard 86c15f24c1 Dont include the html tags in the translated string. 2018-10-26 13:33:40 +02:00
Gerhard 5285ea0dcc Allow the strong tags to be used. 2018-10-26 13:29:56 +02:00
Gerhard 1af659e73b comment_type should be review for the latest reviews dashboard widget. 2018-10-26 13:16:16 +02:00
Claudiu Lodromanean d1c90c5972
Merge pull request #21647 from am777/master
Fixed woocommerce_localisation_address_formats for country code IN file class-wc-countries.php
2018-10-25 12:12:58 -07:00
Claudiu Lodromanean e343f4def7
Merge pull request #21645 from woocommerce/remove/live-rates-mention-setup-wizard
Setup wizard: remove mention of live shipping rates from “activate” step
2018-10-25 11:57:14 -07:00
Claudiu Lodromanean f311ad0d12
Merge pull request #21608 from woocommerce/use-crud-instead-of-has-post-thumbnail
Use $product->get_image_id() instead of has_post_thumbnail()
2018-10-25 11:51:11 -07:00
Claudio Sanches 53fa49b13a Removed non-existing WC_Product_Simple->set_date_created_gmt method
Closes #21660
2018-10-25 13:12:40 -03:00
Jeff Stieler b9b9f191e9 Setup wizard: store shipping label opt-in in options table, use for “activate” step feature list. 2018-10-25 11:43:13 -04:00
claudiulodro 874ee8895d Revert show shipping behavior change 2018-10-24 13:09:32 -07:00
claudiulodro 255877211a Dont default to gallery thumbnail size if flexslider disabled 2018-10-24 11:07:43 -07:00
amit.chauhan 8ea696f57a Fixed woocommerce_localisation_address_formats for country code IN file class-wc-countries.php and removed comment 2018-10-24 19:19:16 +05:30
amit.chauhan b753548df3 Fixed woocommerce_localisation_address_formats for country code IN file class-wc-countries.php 2018-10-24 18:32:59 +05:30
Jeff Stieler 950f0c4688 Setup wizard: remove mention of live shipping rates from “activate” step. 2018-10-24 08:57:09 -04:00
jamsheerkrd bb5df05920
Update abstract-wc-data.php
https://github.com/woocommerce/woocommerce/issues/21640
2018-10-24 14:05:49 +05:30
Claudiu Lodromanean bdf5c02f48
Merge pull request #21619 from woocommerce/fix/21571
Tweaks to unsupported theme handling and hidden preview button handling
2018-10-22 09:41:45 -07:00
Claudiu Lodromanean 6ebdffd615
Merge pull request #21617 from itowhid06/master
[REST API] pass missing $filter as parameter in legacy get_order_refund endpoints
2018-10-22 09:40:26 -07:00
AlexeyKhmyrov 179d0fdc52 Issue #21406 Dimensions in RTL Languages are displayed incorrectly on single product pages.
Using '&times;' instead of 'x' in string '10 x 20 x 30 cm'
2018-10-22 11:29:07 -05:00
AlexeyKhmyrov a58e907994 Fixed coding standards 2018-10-22 11:27:01 -05:00
Rodrigo Primo 8f04e09f26 Fix PHPCS violations automatically using phpcbf 2018-10-22 11:22:22 -03:00
Claudiu Lodromanean 9351d0c937
Merge pull request #21601 from woocommerce/fix/21534-2
Change wp_woocommerce_sessions before dbDelta() is called
2018-10-19 12:00:53 -07:00
Claudiu Lodromanean 14ea40cae0
Merge pull request #21614 from menakas/issue_21511
Trim the import file headers while reading
2018-10-19 11:16:28 -07:00
claudiulodro b49a9a5809 Tweaks to unsupported theme handling and hidden preview button handling 2018-10-19 10:49:58 -07:00
Towhidul Islam b68cef2062 [REST API] pass missing $filter as parameter in get_order_refund 2018-10-19 20:41:20 +06:00