Commit Graph

32636 Commits

Author SHA1 Message Date
Rodrigo Primo 1e0ff37d70
Merge pull request #24364 from woocommerce/remove-states-dir
Remove deprecated i18n/states directory
2019-08-30 13:47:10 -03:00
Rodrigo Primo b1c9243c1e
Merge pull request #24505 from webdados/patch-2
wc_mail returning the same as $mailer->send
2019-08-30 10:08:25 -03:00
Rodrigo Primo e7b8e3ed7b Fix typo in order note
PR #24501 fixed a typo in a order note string. This commit fix the same
problem in another place where the same string is used.
2019-08-30 10:01:55 -03:00
Claudio Sanches df887bccc8
Merge pull request #24518 from pinalj/master
Add new hook for add-order-item
2019-08-29 16:48:13 -03:00
Claudio Sanches 9bb72ecf34
Merge pull request #24529 from nikhil-webkul/patch-2
Update class-wc-admin-duplicate-product.php
2019-08-29 16:46:42 -03:00
Claudio Sanches c0edc7b9af
Merge pull request #24486 from woocommerce/renovate/woocommerce-woocommerce-sniffs-0.x
Update dependency woocommerce/woocommerce-sniffs to v0.0.7
2019-08-29 16:44:59 -03:00
Claudio Sanches 527a7261bd
Merge pull request #24530 from webdados/master
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() so that the woocommerce_get_cart_url is usable
2019-08-29 16:42:36 -03:00
Marco Almeida 231394967b
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() 2019-08-29 08:49:43 +01:00
Marco Almeida 1df96da7f8
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() 2019-08-29 08:49:11 +01:00
Marco Almeida 238e0f2337
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() 2019-08-29 08:47:31 +01:00
Marco Almeida 80c2ecd692
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() 2019-08-29 08:46:25 +01:00
Marco Almeida 4800fda66c
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() 2019-08-29 08:45:41 +01:00
Marco Almeida 7dc5f0d4c1
Replace wc_get_page_permalink( 'cart' ) with wc_get_cart_url() 2019-08-29 08:43:42 +01:00
Pinal 7418ed123f Hook name changes
Updated the hook name as suggested.
2019-08-29 12:42:33 +05:30
Nikhil Chaudhary f2f0db602b
Update class-wc-admin-duplicate-product.php
Add escaping where required.
2019-08-29 12:39:09 +05:30
Claudio Sanches 386e4e6e7a
Merge pull request #24485 from woocommerce/php-7.4
Remove call to get_magic_quotes_runtime() as it is deprecated as of PHP 7.4
2019-08-28 12:53:02 -03:00
Claudio Sanches 97082fb47a
Merge pull request #24525 from yash-webkul/patch-23
Update mini-cart.php
2019-08-28 12:52:37 -03:00
Claudio Sanches e545833c0a
Merge pull request #24524 from yash-webkul/patch-22
Update html-variation-admin.php
2019-08-28 12:51:58 -03:00
Claudio Sanches 866a48db00
Merge pull request #24523 from yash-webkul/patch-21
Update class-wc-admin-addons.php
2019-08-28 12:45:24 -03:00
Claudio Sanches ec1ba8db9c
Merge pull request #24522 from yash-webkul/patch-20
Update html-admin-page-addons.php
2019-08-28 12:45:06 -03:00
Claudio Sanches 0453cca9fd
Merge pull request #24521 from yash-webkul/patch-18
Update class-wc-admin-setup-wizard.php
2019-08-28 12:44:29 -03:00
Claudio Sanches e002a4f798
Merge pull request #24520 from yash-webkul/patch-19
Update html-admin-page-shipping-zone-methods.php
2019-08-28 12:44:09 -03:00
Yash Kapoor 09cbc61521
Update mini-cart.php
Fixed escaping function for attribute value.
2019-08-28 19:51:21 +05:30
Yash Kapoor be141f3231
Update html-variation-admin.php
Fixed escaping function for attribute value.
2019-08-28 19:43:02 +05:30
Yash Kapoor 84d2fb7df5
Update class-wc-admin-addons.php
Fixed escaping function for attribute value.
2019-08-28 19:31:58 +05:30
Yash Kapoor 18208163d6
Update html-admin-page-addons.php
Fixed escaping function for attribute value.
2019-08-28 19:26:36 +05:30
Yash Kapoor 83b5450ceb
Update html-admin-page-shipping-zone-methods.php
Fixed escaping function for attribute values.
2019-08-28 19:23:01 +05:30
Yash Kapoor 6443515064
Update class-wc-admin-setup-wizard.php
Fixed escaping function for attribute values.
2019-08-28 19:16:24 +05:30
Pinal e47f835f7a Add new hook for add-order-item
Added a new hook for validations in the add_order_item() called in
WC->Orders->Add/Edit Orders.

Allow plugins to perform validations/changes to the order before a
product is added the order.
2019-08-28 17:30:24 +05:30
Marco Almeida 788893bafa
Update wc-core-functions.php
Add docblock about @return
2019-08-27 22:33:32 +01:00
Claudio Sanches cdd03f5f48
Merge pull request #24478 from marccoup/master
Fixed incorrect page setting id
2019-08-27 17:52:18 -03:00
Claudio Sanches 06a341df65
Merge pull request #24474 from mohsinrasool/fix/24461
Fix/24461
2019-08-27 17:47:09 -03:00
Yash Kapoor 36bd34ec68 Update mini-cart.php (#24465)
* Update mini-cart.php

Fixed spelling of woocommerce_widget_shopping_cart_total

* Update mini-cart.php
2019-08-27 17:20:14 -03:00
Claudio Sanches 0ea70c095e
Merge pull request #24464 from yash-webkul/patch-3
Update wc-template-functions.php
2019-08-27 17:19:06 -03:00
Claudio Sanches 6f2b91ab8e
Merge pull request #24481 from yash-webkul/patch-17
Update html-product-csv-import-form.php
2019-08-27 17:16:40 -03:00
Claudio Sanches 2929797eaa
Merge pull request #24501 from mithublue/patch-1
Typo fix in line: 428
2019-08-27 17:13:29 -03:00
Rodrigo Primo 5724b65449
Merge pull request #24495 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9.2.5
2019-08-27 11:58:10 -03:00
Rodrigo Primo 15d6b81760
Merge pull request #24507 from woocommerce/renovate/chromedriver-76.x
Update dependency chromedriver to v76.0.1
2019-08-27 11:53:19 -03:00
Rodrigo Primo 0ab6640945
Merge pull request #24499 from woocommerce/renovate/babel-monorepo
Update dependency babel-eslint to v10.0.3
2019-08-27 11:49:08 -03:00
Rodrigo Primo 97f175c0f6
Merge pull request #24487 from woocommerce/renovate/eslint-6.x
Update dependency eslint to v6.2.2
2019-08-27 11:46:06 -03:00
Renovate Bot 7cc4870006
Update dependency lint-staged to v9.2.5 2019-08-27 06:43:29 +00:00
Renovate Bot 571a1f9467
Update dependency chromedriver to v76.0.1 2019-08-27 01:57:52 +00:00
Marco Almeida 14e3d762f7
wc_mail returning the same as $mailer->send
When using wc_mail, third-party developers should be able to get the value from $mailer->send so that can take measures if it returns false.

Closes #24504
2019-08-26 19:52:37 +01:00
Mithu A Quayium fa62be3fa1
Typo fix in line: 428
The string "Payment could not captured" in line:428 should be "Payment could not be captured" instead, since it is appropriate grammatically.
2019-08-26 11:32:40 +06:00
Renovate Bot 75f755273a
Update dependency babel-eslint to v10.0.3 2019-08-25 21:20:47 +00:00
Renovate Bot 8d01694999
Update dependency eslint to v6.2.2 2019-08-24 02:51:24 +00:00
Renovate Bot 2c8cb5bd2f
Update dependency woocommerce/woocommerce-sniffs to v0.0.7 2019-08-23 21:48:46 +00:00
Rodrigo Primo ce6014ad54 Bump WooCommerce version in package-lock.json 2019-08-23 16:07:34 -03:00
Rodrigo Primo 1f69fbcf33 get_magic_quotes_runtime() is deprecated as of PHP 7.4
Remove call to get_magic_quotes_runtime() as this function is deprecated
as of PHP 7.4 (see https://wiki.php.net/rfc/deprecations_php_7_4). This
part of the code was only needed for PHP <= 5.3 and this version is not
supported anymore by WooCommerce.
2019-08-23 15:58:13 -03:00
Rodrigo Primo 0128a0686b
Merge pull request #24396 from woocommerce/fix-implode-parameter-order
Use correct parameter order for implode.
2019-08-23 11:14:50 -03:00