Commit Graph

29083 Commits

Author SHA1 Message Date
Gerhard 9eb31f5d14 Add woocommerce_gallery_image_html_attachment_image_params filter so you can modify the params passed to wp_get_attachment_image for thumbnails. 2018-11-21 13:47:24 +02:00
Claudiu Lodromanean ac80e6683e
Merge pull request #21947 from franticpsyx/issue-21845
Refine new order-again logic
2018-11-20 10:53:40 -08:00
Claudiu Lodromanean 71a126e664
Merge pull request #21844 from woocommerce/fix/21813
Decode variation html dimensions when setting dimensions html on frontend
2018-11-20 10:29:44 -08:00
Rodrigo Primo c848bcda1b
Merge pull request #21984 from webdados/patch-1
Remove Postal Code for Angola
2018-11-20 11:02:57 -02:00
Marco Almeida 9282c1a619
Remove postal code for Angola
Angola still doesn't have a postcode system in place.
References:
https://pt.wikipedia.org/wiki/C%C3%B3digo_postal#_Angola
https://en.wikipedia.org/wiki/List_of_postal_codes
2018-11-20 12:36:45 +00:00
Claudiu Lodromanean 0cf264dc72
Merge pull request #21949 from franticpsyx/issue-21948
Parse query using '$wpdb->prepare' before querying
2018-11-19 13:13:53 -08:00
Claudiu Lodromanean b585553ee9
Merge pull request #21864 from Prospress/fix/21457
allow export and display of attribute labels containing html special characters
2018-11-19 12:20:41 -08:00
Claudiu Lodromanean 0ddfbbe1ac
Merge pull request #21954 from willgorham/fix/21793
Fix hardcoded db table name [Fixes #21793]
2018-11-19 12:10:55 -08:00
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
Claudiu Lodromanean cba4ccaf65
Merge pull request #21953 from woocommerce/fix/shipstation-obw-install
OBW: Fix ShipStation plugin info so install works
2018-11-19 11:47:02 -08:00
Rodrigo Primo 4520e88328
Merge pull request #21967 from woocommerce/fix/21888
Update translators comment to reflect true variable
2018-11-19 14:00:49 -02:00
Gerhard 097861605e Update translators comment to reflect true variable 2018-11-19 11:38:30 +02: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
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
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 936fcfbc80
Merge pull request #21929 from woocommerce/fix/21924
Revert parts of #20881
2018-11-15 10:14:06 -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
Claudiu Lodromanean ac2ec09704
Merge pull request #21921 from woocommerce/fix/21916
Load v3 API correctly when firing webhooks
2018-11-15 09:11:57 -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 2db7197d38 Revert parts of #20881. Passing html through wp_kses_post will strip out things like data attributes on allowed elements. 2018-11-15 15:04:37 +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 d3c67b675b
Merge pull request #21879 from mcary/fix-this-in-invoice
Fix error when rendering customer invoice email
2018-11-14 15:08:13 -05: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 29325898bb
Merge pull request #21829 from Prospress/issue_21828
update lost password filter name in password confirmation template
2018-11-14 12:39:07 -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
Rodrigo Primo 2fe3ba0bac
Merge pull request #21846 from woocommerce/update/phpcs
Updated WooCommerce Sniffs to 0.0.3
2018-11-14 11:39:09 -02:00
Marcel M. Cary a0cb6a9166 Fix error when rendering customer invoice email
When sending a customer their invoice on a non-pending order, I get this
error in the logs:

    PHP Fatal error: Uncaught Error: Using $this when not in object context in
    wp-content/plugins/woocommerce/templates/emails/plain/customer-invoice.php:37

    Stack trace:
    #0 wp-content/plugins/woocommerce/includes/wc-core-functions.php(208): include()
    #1 wp-content/plugins/woocommerce/includes/wc-core-functions.php(228): wc_get_template('emails/plain/cu...', Array, '', '')
    #2 wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(165): wc_get_template_html('emails/plain/cu...', Array)
    #3 wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(502): WC_Email_Customer_Invoice->get_content_plain()
    #4 wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(130): WC_Email->get_content()
    #5 wp-content/plugins/woocommerce/includes/class-wc-emails.php(338): WC_Email_Customer_Invoice->trigger(288402, Object(WC_Order))
    #6 wp-content/plugins/woocommerce/templates/emails/plain/customer-invoice.php on line 37
    referer: wp-admin/post.php?post=nnnnnn&action=edit

Change the "$this->object" reference to "$order" instead.
2018-11-10 14:07:55 -08:00
Ron Rennick 5b486a1e2f allow export and display of attribute labels containing html special characters 2018-11-09 09:17:18 -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
Claudio Sanches 7f12c4e436
Merge pull request #21852 from rellect/fix_return_types
Correct return types in class-wc-payment-tokens.php
2018-11-07 15:00:46 -02: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