Commit Graph

29218 Commits

Author SHA1 Message Date
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
Ron Rennick 60e3918953 fix coding standards in templates/single-product-reviews.php 2018-11-14 15:20:19 -04: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
Ron Rennick 177145b6a5 Introduce `woocommerce_reviews_title` filter 2018-11-14 14:41:56 -04: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
Ron Rennick d0672b68c6 Capitalize dashboard widget titles 2018-11-14 13:34:15 -04: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
Ron Rennick 8e7715088e allow limited html in `woocommerce_rating_filter_count` filter 2018-11-13 11:33:44 -04: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
Kanishk ebd08e72b3 Added action on '9' priority 2018-11-10 02:12:09 +05:30
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
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
Claudio Sanches 9cb219d92b Updated WooCommerce Sniffs to 0.0.3
- Now wp-coding-standards/wpcs and wimg/php-compatibility are dependencies of WooCommerce Sniffs.
- Updated wp-coding-standards/wpcs to 1.1.
- Updated wimg/php-compatibility to 9.0.
2018-11-06 20:58:50 -02:00
claudiulodro 3fc51354a4 Decode variation html dimensions 2018-11-06 17:10:20 -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
Claudio Sanches 1b12691d7a
Merge pull request #21840 from woocommerce/add/prettier
Add prettier
2018-11-06 19:06:25 -02:00
Claudio Sanches d3db535e94
Merge pull request #21841 from woocommerce/renovate/configure
Configure Renovate
2018-11-06 19:05:17 -02:00
Kanishk c7fc4a9521 Refactored code to add filters on plugins_loaded 2018-11-07 02:32:57 +05:30
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
Renovate Bot 3027113628
Add renovate.json 2018-11-06 21:00:00 +00:00
Jonathan Belcher 3d543b9ff2 Merge commit 2018-11-06 15:57:00 -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
Claudio Sanches 1f07d75068
Merge pull request #21839 from woocommerce/add/eslint-configuration
Adds eslint configuration
2018-11-06 18:55:16 -02: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
Claudio Sanches 33cfe6c506
Removed extra js fix command from package.json 2018-11-06 18:54:33 -02: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
Jonathan Belcher c67b539078 Add prettier 2018-11-06 15:45:03 -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
Jonathan Belcher 8e6807d99f Ignore vendor files 2018-11-06 15:31:12 -05:00
claudiulodro 510d3a756f Reintroduce Preview button on products 2018-11-06 15:28:23 -05:00
Kanishk b5b60c93b7 Merge branch 'master' into fix/helper-not-able-to-detect-local-woo-plugin 2018-11-07 01:46:31 +05:30
Jonathan Belcher 41932d3952 Ignore min files 2018-11-06 15:13:56 -05:00