Commit Graph

30338 Commits

Author SHA1 Message Date
Mike Jolley 2d5e834cf2 Merge branch 'pr/22822' 2019-02-27 11:56:08 +00:00
Mike Jolley c854e74471 Spacing 2019-02-27 11:56:00 +00:00
yaroslawww bb8bf5f749
Update class-wc-regenerate-images.php
Sometimes imagedata has not $imagedata['sizes']['full'] params. In my case, due to the fact that I am loading the SVG picture.
Therefore, an error is visible *Undefined index: height in class-wc-regenerate-images.php on line 222*
Therefore, a check for the emptiness of these parameters is added.
2019-02-27 13:53:32 +02:00
Gerhard 72ea7b05e7 Move tracking check to the if statement to avoid writing to the DB when it already has a value stored. 2019-02-27 13:38:36 +02:00
Mike Jolley f90daea1d5
Merge pull request #22799 from woocommerce/remove/cron-plugin-theme-installer
Remove old plugin/theme background installer hooks
2019-02-27 11:38:32 +00:00
Mike Jolley e3c474b563
Merge pull request #22868 from woocommerce/fix/22743
Get insert ID before running actions
2019-02-27 11:17:15 +00:00
Gerhard a1c3048318 Keep tracking enabled if already enabled when saving the wizard. 2019-02-27 12:55:49 +02:00
Mike Jolley d5ab20d1a5 get ID before running actions 2019-02-26 20:29:17 +00:00
Gerhard Potgieter 8722317956
Merge pull request #22775 from woocommerce/update/22525
Set no-transform cache header to opt out of weblight
2019-02-26 18:22:57 +02:00
Gerhard Potgieter dbe93b96c4
Merge pull request #22865 from woocommerce/fix/22863
Add alt text to gallery thumbnail
2019-02-26 18:20:35 +02:00
Mike Jolley 017f0e5e0d
Merge pull request #22834 from nishitlangaliya/issue-22757
feat: wc_product_stock_status_options filter added for stock status options
2019-02-26 14:06:02 +00:00
Mike Jolley 20eb503128 Add alt text to gallery thumbnail 2019-02-26 14:03:25 +00:00
Naveen giri 913b8e84bf Fix wpcs error and avoid unnecessary checks 2019-02-26 18:31:34 +05:30
Gerhard 3dde01570a Remove wp_clear_scheduled_hook for the plugin and theme background installer that does not run via cron anymore. 2019-02-26 12:44:27 +02:00
Gerhard 1e21ebe367 Remove the callbacks only 2019-02-26 12:25:12 +02:00
Mike Jolley 176965d139
Merge pull request #22825 from thatwasnotme/fix/data-stores-docs-param-type
Correct invalid param type from id to int
2019-02-26 10:24:58 +00:00
Gerhard ccbb8313b6 Revert "Remove old hooks for woocommerce_theme_background_installer and woocommerce_plugin_background_installer. There are no scheduled events for these anymore and the Wizard has it's own theme/plugin installer that uses the shutdown hook instead of cron."
This reverts commit 0f771bf4fe.
2019-02-26 12:24:56 +02:00
Mike Jolley 68c1ec6763
Merge pull request #22826 from woocommerce/fix/22708
Calculate shipping before totals during checkout update
2019-02-26 10:24:02 +00:00
Mike Jolley c4d83e19db
Merge pull request #22782 from woocommerce/fix/21767
Use total, not amount, when calculating fees
2019-02-26 10:19:31 +00:00
Mike Jolley 94d7d82423
Merge pull request #22845 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.4.9
2019-02-26 10:18:31 +00:00
Mike Jolley 42c819b64d
Merge pull request #22850 from woocommerce/renovate/mocha-6.x
Update dependency mocha to v6.0.2
2019-02-26 10:17:57 +00:00
Mike Jolley 6c35df1551 Return string 2019-02-25 22:01:22 +00:00
Mike Jolley 8792b53ecb shop_messages shortcode requires wc_print_notices 2019-02-25 22:01:07 +00:00
Krzysztof Grabania 946b1e2469 Remove whitespace characters from Select2 option title 2019-02-25 20:12:54 +01:00
Claudio Sanches 80aee99fee Prevent a few structured data warnings
This prevents warnings about 'image', 'description' and 'sku'.
'brand' included as empty fields just to register.

Note that warnings still comes for empty fields like 'sku' or 'brand'.
This is the message that should throw from Google Console:

> The brand field is recommended. Please provide a value if available.

Since is recommended, this PR should solve the max warnings as possible.

Fixes #22842
2019-02-25 15:49:14 -03:00
Renovate Bot 185270d696
Update dependency mocha to v6.0.2 2019-02-25 18:26:18 +00:00
nishitlangaliya ee621eec8a fix: filter prefix changed and unit test added for fn:wc_get_product_stock_status_options 2019-02-25 19:03:57 +05:30
Gabriel 8a9990f98d
[ADD] Do Action before cart is emptied 2019-02-25 06:01:38 +01:00
Renovate Bot 6aeaf90155
Update dependency autoprefixer to v9.4.9 2019-02-25 03:54:24 +00:00
Valerie 8a796138ef OBW: Add Facebook to recommended step
The end date for the Facebook recommendation
is October 8, 2019.

When the option is checked, this will install the extension
'Facebook for WooCommerce' on the user's site.
2019-02-23 17:40:37 -05:00
nishitlangaliya 53b5be7e83 feat: wc_product_stock_status_options filter added for stock status options for variable product 2019-02-23 11:10:22 +05:30
Valerie ca316d8933 OBW: Remove customized blurb on recommended step 2019-02-22 21:14:22 -05:00
Mike Jolley e21912294a calc shipping before totals 2019-02-22 16:43:42 +00:00
Tarik Causevic 5f87fa49e1 Correct invalid param type from id to int 2019-02-22 17:39:58 +01:00
Naveen giri f741d507ba Bugfix/#22821: Add Fix for Warning and Notices on save attribute button click 2019-02-22 19:27:16 +05:30
Mike Jolley 27ac2e1577 phpcs 2019-02-22 13:33:41 +00:00
Mike Jolley d07d1cf0b0 If taxes are enabled, make the refund box readonly 2019-02-22 13:30:49 +00:00
Claudio Sanches 8f2efbfef3
Merge pull request #22808 from woocommerce/renovate/mocha-6.x
Update dependency mocha to v6.0.1
2019-02-21 19:29:53 -03:00
Renovate Bot d30221b256
Update dependency mocha to v6.0.1 2019-02-21 20:15:06 +00:00
Mike Jolley e830bd739a Use taxable address when adding/removing coupons 2019-02-21 16:23:20 +00:00
Gerhard 0f771bf4fe Remove old hooks for woocommerce_theme_background_installer and woocommerce_plugin_background_installer. There are no scheduled events for these anymore and the Wizard has it's own theme/plugin installer that uses the shutdown hook instead of cron. 2019-02-21 12:50:12 +02:00
Claudio Sanches 271c48e3af
Merge pull request #22780 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.4.8
2019-02-20 16:40:44 -03:00
Claudio Sanches 79847ccb93 Fixed coding standards 2019-02-20 16:30:46 -03:00
Claudio Sanches 5302434057 Fill user first and last name during checkout 2019-02-20 16:29:34 -03:00
Claudio Sanches 3ac5f32a8b Updated tests for wc_create_new_customer 2019-02-20 16:29:10 -03:00
Claudio Sanches 8b8498a37a Included extra argument into wc_create_new_customer
Allows passing extra arguments to wp_insert_user() function
2019-02-20 16:18:43 -03:00
Mike Jolley fc1a274fcb Check for hover after timeout 2019-02-20 17:22:43 +00:00
Claudio Sanches efaa723a5b Only set user first and last names when those fields are empty 2019-02-20 13:55:51 -03:00
Mike Jolley 76b7a4facf cs 2019-02-20 16:37:40 +00:00
Mike Jolley 9529d6eee7 Use total, not amount, when calculating fees 2019-02-20 16:22:20 +00:00