Commit Graph

32731 Commits

Author SHA1 Message Date
Yash Kapoor b6e0c0308b
Update class-wc-shipping.php
Fixed spelling of WooCommerce.
2019-08-22 11:57:27 +05:30
David Stone 7a7151bd44 Use brackets s instead of braces to avoid deprecation notice in PHP 7.4 2019-08-21 16:32:23 -06:00
Rodrigo Primo 58618caeb9
Merge pull request #24375 from itzmekhokan/add/woocommerce_shipping_show_shipping_calculator
Added a filter for reposition shipping calculator
2019-08-21 17:08:48 -03:00
Rodrigo Primo 524fe5a4d5
Merge pull request #24384 from woocommerce/fix/24368
Check if order exists before create downloads hash
2019-08-21 16:56:14 -03:00
Rodrigo Primo c3262eea3e
Merge pull request #24385 from woocommerce/fix/24356
Ensure WC_Product_Data_Store_CPT::is_existing_sku() return boolean
2019-08-21 16:52:13 -03:00
Rodrigo Primo 9914ac5030
Merge pull request #24388 from woocommerce/fix/ug-states
Moved UG states to new i18n/states.php
2019-08-21 16:45:25 -03:00
Rodrigo Primo 66f63149b8
Merge pull request #24403 from woocommerce/renovate/grunt-sass-3.x
Update dependency grunt-sass to v3.1.0
2019-08-21 16:40:26 -03:00
Rodrigo Primo 4b2bcec39c
Merge pull request #24426 from woocommerce/renovate/eslint-6.x
Update dependency eslint to v6.2.1
2019-08-21 16:29:58 -03:00
Rodrigo Primo 9c9715ac8d
Merge pull request #24435 from strayobject/fix-show-error-in-myaccount-when-order-missing
fix: show error message in myaccount if order does not exist.
2019-08-21 16:29:10 -03:00
Rodrigo Primo 5392463dd2
Merge pull request #24438 from woocommerce/fix/24431
Fixed Namibian currency symbol
2019-08-21 16:27:21 -03:00
Rodrigo Primo fdca2b8323
Merge pull request #24437 from woocommerce/tweak/load-order-twice
Prevent load order twice
2019-08-21 16:26:40 -03:00
Rodrigo Primo bfc469123f
Merge pull request #24441 from woocommerce/fix/24416
[Tracker] Prevent PHP warning when order date is empty
2019-08-21 16:14:49 -03:00
Rodrigo Primo 557e9aae95 Remove myclabs/deep-copy from the list of Composer dev dependencies
myclabs/deep-copy was added to composer.json directly as a workaround an issue in
the Travis build when running PHP 5.6 (#24079). Removing it in this commit to
check if the issue in Travis has been fixed as we don't really use this
package for WooCommerce development.
2019-08-21 15:55:18 -03:00
Rodrigo Primo 147307f1e6
Merge pull request #24442 from woocommerce/fix-error-log-notice
Check if error_get_last() is not null
2019-08-21 15:36:55 -03:00
Rodrigo Primo 31cc407a88
Merge pull request #24455 from woocommerce/renovate/phpunit-phpunit-7.x
Update dependency phpunit/phpunit to v7.5.15
2019-08-21 15:34:48 -03:00
Renovate Bot 4a7bd9dee9
Update dependency phpunit/phpunit to v7.5.15 2019-08-21 07:37:52 +00:00
Claudio Sanches 649b97b7a9
Merge pull request #24443 from itowhid06/master
update npm package version to 3.7.0
2019-08-20 17:39:23 -03:00
Claudio Sanches 3722c04156
Merge pull request #24445 from Spaggel/patch-1
Fix typo webhopk -> webhook in WC_Webhook
2019-08-20 17:38:29 -03:00
Claudio Sanches 2c02d21277 Remove Emoji from default additional email content 2019-08-20 11:54:21 -03:00
Renovate Bot b867a6c05c
Update dependency eslint to v6.2.1 2019-08-20 11:33:50 +00:00
Daniël van der Linden 0c885b8c24
Fix typo webhopk -> webhook in WC_Webhook 2019-08-20 08:43:50 +02:00
Nico Hauser 5c84557984
Updated filter name 2019-08-20 08:05:19 +02:00
Towhidul Islam 3aa14d3e6d update npm package version to 3.7.0 2019-08-20 11:41:32 +06:00
David Stone 1c47315b89 Fix trying to access array offset on a boolean notice 2019-08-19 20:11:43 -06:00
Claudio Sanches 8a278d3d96 Fixed coding standards 2019-08-19 20:42:42 -03:00
Claudio Sanches 6bc080fef0 Prevent PHP warning when date is null 2019-08-19 20:41:30 -03:00
Claudio Sanches e50953bc24 Fixed Namibian currency symbol 2019-08-19 19:40:19 -03:00
Claudio Sanches 4b45905f18 Prevent load order twice 2019-08-19 18:19:36 -03:00
Claudio Sanches 500373f340
Merge pull request #24422 from woocommerce/renovate/husky-3.x
Update dependency husky to v3.0.4
2019-08-19 18:12:16 -03:00
Claudio Sanches 1845dab69a
Merge pull request #24423 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9.2.3
2019-08-19 18:11:59 -03:00
Michal Zdrojewski b2e9584a53 fix: show error message in myaccount if order does not exist. 2019-08-19 16:47:17 +01:00
Renovate Bot 41f618f716
Update dependency lint-staged to v9.2.3 2019-08-17 17:28:51 +00:00
Akeda Bagus 62b42893b2
Rename URL param from wccom-helper-nonce to wccom-connect-nonce. 2019-08-17 22:37:02 +07:00
Renovate Bot b109b76e94
Update dependency husky to v3.0.4 2019-08-17 13:34:10 +00:00
Akeda Bagus aae802f319
Add support to allow in-app purchase installation after connected. 2019-08-17 00:36:28 +07:00
Nico Hauser 5291767228
Add new filter in addition to existing action
Currently there is no way to change the data fed into the importer. An example use of it is the following filter:

    add_filter('woocommerce_product_import_before_process_item', "product_import_before_process_item", 10, 1);
    function product_import_before_process_item($data){
        //modify the data before importing e.g. prevent inserting an empty name!
        foreach($data as $key => $value){
            if(isset($data[$key]) && empty($value)){
                unset($data[$key]);
            }
        }
    return $data;
    }
2019-08-15 22:00:31 +02:00
Nico Hauser ee8f831909
Merge pull request #1 from woocommerce/master
Update to master
2019-08-15 21:56:07 +02:00
kolyasapphire fe3395cd6b Add 'applied_coupon' trigger to checkout.js
To check it’s working correctly:

add_action( 'woocommerce_after_checkout_form', 'alert_on_coupon');
add_action( 'woocommerce_after_cart', 'alert_on_coupon');

function alert_on_coupon() { ?>
<script type="text/javascript">
	jQuery(document).ready(function($) {
    $( document.body ).on( 'applied_coupon', function(event,code){
    	alert(code);
    });
});

$( document.body ).trigger( 'applied_coupon', [ data.coupon_code ] );
2019-08-14 19:09:18 +03:00
Renovate Bot 3fb1a2aef4
Update dependency grunt-sass to v3.1.0 2019-08-14 12:02:16 +00:00
Jonathan Moore d88fdb6adf
add $this param to woocommerce_email_additional_content_
add $this param to woocommerce_email_additional_content_ filter to be consistent with 'woocommerce_email_subject_' .  and 'woocommerce_email_heading_' .  filters.
2019-08-14 08:02:04 +01:00
Claudio Sanches 0adb229e96 Added ref link 2019-08-13 23:48:56 -03:00
David Stone d685964df6 Use correct parameter order for implode. Solves deprecation notice in PHP 7.4 2019-08-13 13:03:09 -06:00
David Stone 3a74d03705 Fix typo in function_exits check so function can be properly overridden 2019-08-12 16:55:08 -06:00
Claudio Sanches 5407c4bf75 Moved UG states to new i18n/states.php
i18n/states/ directory is deprecated since WooCommerce 3.6.
2019-08-12 19:08:29 -03:00
Gerhard 5a1615a152 PHPCS fix 2019-08-12 20:26:34 +02:00
Rodrigo Primo f687412acd
Merge pull request #24353 from woocommerce/fix/24334
Avoid PHP notice when getting order item type
2019-08-12 14:11:41 -03:00
Claudio Sanches 66dbb44100 Ensure WC_Product_Data_Store_CPT::is_existing_sku() return boolean 2019-08-12 12:45:43 -03:00
Claudio Sanches 8ef99cf1de Check if order exists before create downloads hash 2019-08-12 12:18:35 -03:00
Gerhard 3d2d50f0fa Update grunt contributors command to take a branch input 2019-08-12 17:13:31 +02:00
Yash Kapoor 5b9b67ace1 Make matched shipping zone notice translatable (#24366)
* Update class-wc-shipping.php

Added translation.

* Update class-wc-shipping.php

Added translation.

* Update class-wc-shipping.php

Fixed phpcs error.

* Update class-wc-shipping.php
2019-08-12 10:32:44 -03:00