Commit Graph

30751 Commits

Author SHA1 Message Date
Mike Jolley efb8704f05 If both dimensions are smaller, do not scale 2019-03-01 10:15:01 +00:00
Mike Jolley c655c2e38a
Merge pull request #22846 from teloconf/master
[ADD] Do Action before cart is emptied
2019-03-01 10:04:25 +00:00
Joshua T Flowers e53724832d
Tracks: Add tracking event when OBW is started (#22877)
* Check if current step matches event before firing

* Move step check to switch statement

* Track when the OBW has started

* Rename Jetpack activation tracking method

* Remove duplicate tracking optin check

* Track when option to track is udpated in OBW

* Check if tracking is actively being opted into in is_tracking_enabled()

* Move tracking start check into WC_Admin_Setup_Wizard_Tracking

* Clean up tracking opt-in check logic
2019-03-01 11:12:30 +08:00
Joshua T Flowers 234f3a1bb9
Tracks: Add tracking event for skipped step in OBW (#22879)
* Check if current step matches event before firing

* Move step check to switch statement

* Add ability to get steps from setup wizard

* Track last completed step in options

* Track skipped step name if bypassing the save process

* Track skipped step prior to current instead of step after last completed step
2019-03-01 10:58:11 +08:00
haszari 023579cc17 localise default CTA text + code-style improvements:
- else style, fix stale/presumptuous variable names
- localise default CTA text
- use `Learn More` for default, more in line with our latest content
- switch CTA default to button - link style is less common
2019-03-01 14:22:02 +13:00
Gabriel e442f46db3
Update class-wc-cart.php 2019-02-28 21:56:43 +01:00
haszari fb4e574511 remove unused function arg `slug` 2019-03-01 08:40:47 +13:00
Rua Haszard 57cb4b2beb
Merge pull request #22871 from woocommerce/add/marketplace-suggestions-wccom-endpoint
Add/marketplace suggestions wccom endpoint
2019-03-01 07:17:27 +13:00
Rodrigo Primo dc40e8e062
Merge pull request #22908 from woocommerce/fix/obsolete-code
remove some obsolete code
2019-02-28 14:01:03 -03:00
Mike Jolley caf3ff61e7
Merge pull request #22218 from woocommerce/add/fb-in-obw
Add Facebook to Recommended Step in OBW
2019-02-28 16:45:41 +00:00
Mike Jolley 250fcc96a3 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2019-02-28 16:32:54 +00:00
Mike Jolley a01ae4d0d6 Compress images 2019-02-28 16:32:50 +00:00
Mike Jolley a43a873a13 Update placeholders 2019-02-28 16:27:57 +00:00
Mike Jolley f9567583a7
Merge pull request #22901 from mihaigrigori/master
Change exception string to facilitate translating
2019-02-28 16:13:28 +00:00
Mike Jolley b2e15e8aee
Merge pull request #22902 from woocommerce/renovate/pin-dependencies
Pin dependency composer/installers to 1.6.0
2019-02-28 16:07:09 +00:00
Mike Jolley 81767385d6 Tidy up deprecated methods 2019-02-28 14:54:23 +00:00
Mike Jolley 55c49b661e Missing cache flush when updating sales 2019-02-28 14:51:55 +00:00
yaroslawww 5f9225a1cb
Update class-wc-regenerate-images.php
Fix coding styles and naming error
2019-02-28 16:48:18 +02:00
Mike Jolley a2606a3f1f Avoid updates on read - this is for legacy where meta was missing and shouldn't be ran for all products 2019-02-28 14:47:06 +00:00
Mike Jolley 4f7941b174 fix method name 2019-02-28 14:46:56 +00:00
Mike Jolley 1c7c6246e9 Comment rating functions should not update the object themselves 2019-02-28 14:46:11 +00:00
Mike Jolley b7f59b4596 wc_ln_count_ no longer exists 2019-02-28 14:41:07 +00:00
Mike Jolley 04b333484a These transient no longer exist 2019-02-28 14:38:40 +00:00
Mike Jolley 611bf3b1dd Price filter + stock widget requires lookup table 2019-02-28 14:24:05 +00:00
Mike Jolley d407581618 Update types of decimal fields 2019-02-28 14:01:13 +00:00
Renovate Bot 6937f231da
Pin dependency composer/installers to 1.6.0 2019-02-28 13:59:42 +00:00
Gerhard 36f0041673 PHPCS fixes 2019-02-28 15:37:37 +02:00
Gerhard b8a5a9ec55 Add update routine to add user_order_remaining_expires index and hook it up to the installer for 3.6.0 2019-02-28 15:36:55 +02:00
Gerhard 207a5ef4b3 Add user_order_remaining_expires index to woocommerce_downloadable_product_permissions create table statement. 2019-02-28 15:30:17 +02:00
Mike Jolley 4d0e1d1daa Merge branch 'experiment/product-sorting-index' of https://github.com/woocommerce/woocommerce into experiment/product-sorting-index 2019-02-28 13:12:16 +00:00
Mike Jolley 9948c63185 Revise index 2019-02-28 13:12:12 +00:00
Mike Jolley 25117aa77b
Merge pull request #22892 from woocommerce/fix/22886
PayPal: Add meta data, before changing order status
2019-02-28 12:10:03 +00:00
Mike Jolley 74ec47f2e1
Merge pull request #22893 from woocommerce/fix/22866
Add wrapper for is_plugin_active in WC_Admin_Notices
2019-02-28 12:09:34 +00:00
Mike Jolley 4e485b75c3
Merge pull request #22784 from woocommerce/fix/21959
Trigger zoom if moving cursor over image quickly in product gallery
2019-02-28 12:09:05 +00:00
Mike Jolley b903086251 Fix callbacks and remove logging 2019-02-28 11:52:56 +00:00
Mike Jolley 71afa5e590 Update notice wording 2019-02-28 11:16:09 +00:00
Mike Jolley d59b1c39d7 Remove force link - it can be done in AS 2019-02-28 11:15:58 +00:00
Mike Jolley dbcfd7dcdc Update functions may re-run - handle in CLI 2019-02-28 11:11:25 +00:00
Mike Jolley d990b5192f Switch to action scheduler 2019-02-28 11:11:08 +00:00
Mike Jolley f81791dab9 Update notice text + docs links 2019-02-28 10:45:38 +00:00
Joshua T Flowers 64b565465f
Tracks: Add tracking for Jetpack activation in OBW (#22875)
* Check if current step matches event before firing

* Move step check to switch statement

* Track when Jetpack is activated
2019-02-28 14:33:00 +08:00
Joshua T Flowers 53f1f5c095
Tracks: Add selected recommended plugins in OBW (#22874)
* Add tracking to store setup OBW

* Check if current step matches event before firing

* Move step check to switch statement

* Track selected plugins recommended for install
2019-02-28 14:27:05 +08:00
Joshua T Flowers f48ec6deec
Tracks: Add tracking for shipping units and labels (#22873)
* Check if current step matches event before firing

* Move step check to switch statement

* Track shipping units and labels
2019-02-28 14:22:13 +08:00
Mihai Grigori 8cf31c3c3d Change exception string to facilitate translating 2019-02-28 07:07:26 +02:00
Joshua T Flowers a91adfa087
Tracks: Add selected payment gateways in OBW (#22872)
* Check if current step matches event before firing

* Move step check to switch statement

* Track payment gateways in OBW

* Combine arrays into comma separate strings
2019-02-28 11:58:08 +08:00
Joshua T Flowers 9f1b111692
Tracks: Add store setup event in OBW (#22860)
* Add tracking to store setup OBW

* Check if current step matches event before firing

* Move step check to switch statement

* Extract save events into separate method
2019-02-28 11:28:07 +08:00
haszari 56ab6d231e improve margins & line-spacing in metabox copy 2019-02-28 11:08:25 +13:00
haszari 49aaa9f08b align product metabox `Get more options` with other tab image labels (regressed)
- fix css selector
- also removed redundant margin-top rule
2019-02-28 10:58:30 +13:00
haszari dbe80f826a fix margins & ensmallen heading in product table suggestion 2019-02-28 10:52:16 +13:00
haszari 3eaba598dc remove outer border in metabox suggestions, lighten separators 2019-02-28 10:14:00 +13:00