Commit Graph

16866 Commits

Author SHA1 Message Date
Claudiu Lodromanean 4d93bf60e1
Merge pull request #21930 from woocommerce/update/21915
Add WP 5.0 checks to Wootenberg notices
2018-11-19 11:47:43 -08:00
Tiago Noronha 89eec8652f Add support for Twenty Nineteen color scheme option 2018-11-19 15:02:26 +00:00
Will Gorham 4b1dd35dda Revert "phpcs" (bc4010) - incorrect phpcs fixes
This reverts commit bc4010cfc1.
2018-11-16 15:20:57 -05:00
Will Gorham b53fe55299 More phpcs 2018-11-16 14:47:31 -05:00
Will Gorham bc4010cfc1 phpcs 2018-11-16 14:15:18 -05:00
Will Gorham 20526cba08 Fix hardcoded db table name 2018-11-16 14:15:04 -05:00
Valerie 94275039cd OBW: Fix ShipStation plugin info so install works 2018-11-16 14:06:58 -05:00
Tiago Noronha 4e01bf18dd Twenty Nineteen basic styling 2018-11-16 16:38:05 +00:00
Tiago Noronha 3168f13d9d Skeleton for Twenty Nineteen integration 2018-11-16 16:38:05 +00:00
Manos Psychogyiopoulos 60b84c09aa Parse query using '$wpdb->prepare' before querying 2018-11-16 16:11:31 +02:00
Manos Psychogyiopoulos 059d803484 Rename 'woocommerce_add_cart_item' to 'woocommerce_add_order_again_cart_item' 2018-11-16 15:27:30 +02:00
Manos Psychogyiopoulos 520a7e1a27 Pass order-again items to 'woocommerce_ordered_again' action 2018-11-16 15:25:35 +02:00
Manos Psychogyiopoulos c44809422b Pass order-again cart contents to 'woocommerce_ordered_again' action 2018-11-16 15:23:08 +02:00
Gerhard f7f7eebc1c Fix PHPCS issues 2018-11-16 08:29:13 +02:00
Gerhard 92bf56cde0 Add wc_update_352_drop_download_log_fk to the DB update routine. 2018-11-16 08:27:06 +02:00
Gerhard 92e9f2811b Make the wc_download_log FK use table prefix for cases where multiple single install tables are used in the same DB. 2018-11-16 08:18:25 +02:00
claudiulodro d09e9eb95c Use wp_kses_post for sanitizing product names instead of esc_html 2018-11-15 11:42:22 -08:00
Claudiu Lodromanean 8f145c70d7
Merge pull request #21934 from Prospress/fix/21931
use lower case for Croatian Kuna symbol
2018-11-15 10:51:22 -08:00
claudiulodro 180ead91e4 Update notice wording for wp 5.0 2018-11-15 10:19:51 -08:00
Claudiu Lodromanean f13c62c5ea
Merge pull request #21928 from woocommerce/fix/21926
Initialise $changes before usage.
2018-11-15 10:06:38 -08:00
Claudiu Lodromanean 0f72b5b6b1
Merge pull request #21923 from woocommerce/add/db-upgrade-tools
Update database tools option
2018-11-15 10:02:14 -08:00
Ron Rennick c911d90614 use lower case for Croatian Kuna symbol 2018-11-15 13:36:36 -04:00
Claudiu Lodromanean 314088acad
Merge pull request #21836 from Prospress/fix/21775
use multisite blog prefix in `fk_wc_download_log_permission_id` constraint name
2018-11-15 09:13:14 -08:00
Claudiu Lodromanean 9fab802ff3
Merge pull request #21706 from nishitlangaliya/issue-21657
fix: Various 'Table does not exist' in WooCommerce status
2018-11-15 09:12:51 -08:00
Gerhard f2230da7d2 Use get_bloginfo( 'version' ) instead of wp_version global 2018-11-15 15:27:58 +02:00
Gerhard 341c0a8277 Add wp 5.0 checks to wootenberg notice checks. 2018-11-15 15:26:19 +02:00
Gerhard a3f3b282ac Initialise $changes before usage. 2018-11-15 14:36:56 +02:00
Gerhard 6a2b511731 Change wording to update instead of upgrade. 2018-11-15 12:10:17 +02:00
Gerhard 051fb5be36 Add a Upgrade database option to the tools tab. If clicked it will do a forced DB upgrade. 2018-11-15 12:03:12 +02:00
Gerhard 77309a86c3 When dynamic choosing API class, the comparison should be !== as the lastest version has no v3 in the class name. 2018-11-15 11:15:42 +02:00
Claudiu Lodromanean c3c84d2573
Merge pull request #21849 from woocommerce/fix/21832
Pay pending order, do not check stock when not managing stock
2018-11-14 14:07:04 -05:00
Claudiu Lodromanean 81be4f4795
Merge pull request #21738 from Prospress/issue_21736
Add SSL check to dashboard SSL notice
2018-11-14 12:51:50 -05:00
Claudiu Lodromanean 32afd82cfa
Merge pull request #21838 from woocommerce/update/preview
Reintroduce Preview button on products
2018-11-14 12:38:29 -05:00
Ron Rennick 5b486a1e2f allow export and display of attribute labels containing html special characters 2018-11-09 09:17:18 -04:00
Ron Rennick 91ddf1f7c1 make logic consistent with `woocommerce_formatted_address_force_country_display` filter name 2018-11-08 16:35:57 -04:00
Claudiu Lodromanean f39b006264
Merge pull request #21856 from woocommerce/fix/21763
Apply field priority sorting on additional filters
2018-11-08 10:08:14 -05:00
Gerhard 879139d81e Apply priority filtering on additional filters to accomodate pages like my account edit address. 2018-11-07 14:16:05 -05:00
Refael Iliaguyev d8648f8aa7 Use correct return types 2018-11-07 16:49:41 +02:00
Gerhard aabae5d21f On form-pay, do not check for stock if not managing stock or allowing backorders. 2018-11-07 08:54:41 -05:00
Claudiu Lodromanean 452e8bc065
Merge pull request #21831 from jvanderveen/master
Fix for: WooCommerce Tax Rates (CSV) import does not work when entered path to file #21826
2018-11-06 16:08:54 -05:00
Claudiu Lodromanean f4cd63963e
Merge pull request #21821 from woocommerce/fix/21798
Display notices in order pay page.
2018-11-06 16:00:13 -05:00
Claudiu Lodromanean cae710c294
Merge pull request #21810 from ghettifish/master
added an error for variation using variation for parent in import and…
2018-11-06 15:56:27 -05:00
Claudiu Lodromanean 5fc9879e1c
Merge pull request #21801 from woocommerce/fix/priority
Check priority index before comparing
2018-11-06 15:55:01 -05:00
claudiulodro 0488bcd324 fix typo 2018-11-06 15:53:11 -05:00
Claudiu Lodromanean 900d3bad93
Merge pull request #21778 from woocommerce/fix/21426
Make get_on_sale_products not include non published parent results
2018-11-06 15:50:31 -05:00
Ron Rennick e3f00a6fbd use multisite blog prefix in `fk_wc_download_log_permission_id` constraint name 2018-11-06 16:43:46 -04:00
claudiulodro 510d3a756f Reintroduce Preview button on products 2018-11-06 15:28:23 -05:00
jvanderveen c205cab470
Update class-wc-tax-rate-importer.php 2018-11-06 15:01:44 +01:00
Nicolas Bovee b7ef951ac0 Revised error message and set is_type method on . 2018-11-05 23:19:10 -07:00
Claudio Sanches c9d62e506a Use hook instead 2018-11-05 18:40:00 -02:00
Claudio Sanches 0da8f23253 Display notices in order pay page.
Closes #21798
2018-11-05 18:35:23 -02:00
Claudiu Lodromanean b551f57173
Merge pull request #21769 from nishitlangaliya/issue-21765
fix: Manually adding fee on order generate html code
2018-11-05 15:27:33 -05:00
Nico Mollet 0dcf6e2796
"account erasure request" text is not translatable
`esc_html__` should be used instead of `esc_html`
2018-11-05 14:47:28 +01:00
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
Jeremy Madison 17c43ffa5d Add woocommerce_hold_stock_minutes check back to calculation 2018-11-02 12:25:58 -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