Commit Graph

4162 Commits

Author SHA1 Message Date
Mike Jolley 30ba25d535 Remove defaults 2018-04-18 11:24:07 +01:00
Mike Jolley 9dfb91835e Merge branch 'master' into update/gdpr-order-cleanup 2018-04-18 11:21:43 +01:00
Mike Jolley 8a05930cba
Merge pull request #19761 from woocommerce/update/obw-save-locales-measurement-units-when-saving-address
OBW: Save locale-specific measurement units upon saving address
2018-04-18 11:09:48 +01:00
Mike Jolley b05ac76303
Merge pull request #19762 from woocommerce/update/obw-store-state-control-in-store-setup-form-layout
OBW: Position State select between City and Zip inputs
2018-04-18 11:04:41 +01:00
Paul Dechov c1211e5f03 OBW: Move store State dropdown between City and Zip 2018-04-17 23:16:59 -04:00
Paul Dechov 8c8e18d25b OBW: Save locale-specific measurement units upon saving address 2018-04-17 22:52:42 -04:00
Jeff Stieler e2d6656124 OBW: show PayFast payment gateway to merchants in South Africa. 2018-04-17 17:45:43 -06:00
Claudiu Lodromanean 59d967c859
Merge pull request #19754 from woocommerce/add/obw-eway-payment-gateway
OBW: Show eWAY payment gateway to merchants in AUS/NZ.
2018-04-17 16:33:41 -07:00
Jeff Stieler 098115006e OBW: prevent MailChimp from redirecting after activation. 2018-04-17 17:15:14 -06:00
Jeff Stieler baa2180221 OBW: Show eWAY payment gateway to merchants in AUS/NZ. 2018-04-17 15:05:34 -06:00
claudiulodro 6d8946048f Add skip link to recommended step and make skip links darker 2018-04-17 13:55:23 -07:00
Claudiu Lodromanean 624e8d5cb0
Merge pull request #19723 from woocommerce/update/extras-obw-tab
OBW: Replace Extras step with Recommended
2018-04-17 13:32:14 -07:00
claudiulodro f9e45bea91 Bring up-to-date with master and resolve merge conflicts 2018-04-17 13:27:39 -07:00
Valerie 43ab4b25ae OBW: Update Recommended step description 2018-04-17 13:51:49 -04:00
Valerie 551db8246e OBW: Add MailChimp to recommended step 2018-04-17 13:51:49 -04:00
Valerie c1e55cd6a5 OBW: Update automated taxes option 2018-04-17 13:51:48 -04:00
Valerie 452491d12d OBW: Update Storefront description and style 2018-04-17 13:51:46 -04:00
Valerie cadcd562d8 OBW: Rename Extras Step as Recommended 2018-04-17 13:14:27 -04:00
Claudiu Lodromanean 90dfbf0ccd
Merge pull request #19728 from woocommerce/fix/plugin-installer-non-slug-filenames
Setup wizard: Bug fix and support for non-slug filenames in plugin installer
2018-04-17 08:39:16 -07:00
Mike Jolley fc05f8adb2
Merge pull request #19625 from danielbitzer/master
Set the order created_via property for orders created via admin area
2018-04-17 16:26:20 +01:00
Mike Jolley bce3c7e94c Disable anon for now 2018-04-17 15:33:40 +01:00
Mike Jolley 314d949d2c Background process to cleanup 2018-04-17 15:21:03 +01:00
Mike Jolley d8814f9381 tip alignment 2018-04-17 12:19:01 +01:00
Mike Jolley 27cf41bbf0 Added personal data cleanup settings 2018-04-17 11:45:24 +01:00
Mike Jolley 094fc1bf3a
Merge pull request #19703 from woocommerce/update/settings-tabs-for-privacy
Moved around settings tabs to allow for a privacy page
2018-04-16 16:45:19 +01:00
Mike Jolley 78f96fcd40 Hook mapping/bw compat 2018-04-16 14:27:03 +01:00
Paul Dechov 73884400f1 Remove unnecessary 'file' value for existing plugins 2018-04-16 07:21:04 -04:00
Paul Dechov 2b118c8ba8 Always check for active plugin in wizard before scheduling install
Check for active plugin independent of whether 'file' is present. Also omits directory from 'file' string and prepends [slug]/ to it.
2018-04-16 07:20:42 -04:00
Gabor Javorszky d569920825 Cast coupon's $post->ID to int 2018-04-13 11:25:58 +01:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
Mike Jolley 7080989081 Move coupon settings to general settings 2018-04-12 11:13:15 +01:00
Mike Jolley eb886c924e Rename option tabs 2018-04-12 11:13:01 +01:00
Mike Jolley efe0d36eea Load meta box input values using CRUD and edit context 2018-04-10 13:01:52 +01:00
Mohammed Saimon eccd74b71d added checking for invalid ratings while saving 2018-04-09 18:13:13 +06:00
Mohammed Saimon 6d973b98b6 returned data early if nonce checking is failed 2018-04-07 15:13:35 +06:00
Mohammed Saimon 6f36133ed5 Product rating count doesn't update when ratings are edited by admin is fixed #19581 2018-04-07 12:50:14 +06:00
Claudio Sanches 900c8fc33f
Merge pull request #19380 from woocommerce/update/19302
Override supports for PayPal to see if credentials exist
2018-04-06 15:44:42 -03:00
Daniel Bitzer 1f5d4050b3 Set created_via propery for orders created in admin area 2018-04-05 13:58:51 +02:00
Mike Jolley 68c6c16a3b
Merge pull request #19611 from woocommerce/fix/wc_get_page_id-bug
Fixed bug when using asbint() with wc_get_page_id()
2018-04-05 10:55:43 +01:00
Mike Jolley b0d3f732d6
Merge pull request #19615 from woocommerce/fix/variable-passed-by-reference
Fixed PHP notice in WC_Product_CSV_Importer_Controller->handle_upload
2018-04-05 10:53:52 +01:00
Mike Jolley 086f07c47d
Merge pull request #19602 from woocommerce/fix/19431
Link product import/export to import/export capabilities
2018-04-05 10:45:29 +01:00
Claudio Sanches 0ac857f049 Fixed PHP notice in WC_Product_CSV_Importer_Controller->handle_upload
Fixed notice:

```
PHP Notice:  Only variables should be passed by reference in includes/admin/importers/class-wc-product-csv-importer-controller.php on line 298
```
2018-04-04 15:50:08 -03:00
Claudio Sanches 95edc882ea Fixed bug when using asbint() with wc_get_page_id()
When a page does not exists `wc_get_page_id()` returns `-1`, so applying
`absint()` should cause bugs when comparing with "Hello world!" page.
2018-04-04 12:12:05 -03:00
Claudio Sanches ac2e71f22f
Merge pull request #19607 from kouratoras/patch-1
Switch to intval when checking for the shop page
2018-04-04 12:02:56 -03:00
Peter Fabian ada11aa4e2 Hid import/export from menu when having insufficient capabilities
- Made AJAX reply more verbose in case of insufficient capabilities.
2018-04-04 15:06:13 +02:00
Konstantinos Kouratoras 7a9569a185
Switch to intval when checking for the shop page
When shop page is not set, shop page id is set to -1. Using absint when checking if the current page is the shop page, this was applied to post with ID 1. Using intval, this is prevented.

Fixes #19606
2018-04-04 15:15:36 +03:00
Peter Fabian 0e25f5840a Comment PHPCS fix. 2018-04-04 12:18:53 +02:00
Peter Fabian d920f3dcba PHPCS fixes. 2018-04-04 12:06:01 +02:00
Peter Fabian 1ef47120a8 Link product import/export to import/export capabilities
- show Import/Export Products buttons only if the user has import/export capability
- show Woo importer/exporter under Tools only if user has import/export capability
- require both edit_products and import/export to run those actions
-
2018-04-04 10:30:49 +02:00
Philip Downer 73ff850b82 Add filter to suppress WordPress.com connection message.
Allows developers to supress only the WordPress.com connection message, while still leaving other admin notices (eg., upgrade notice) in place.
2018-04-03 13:42:01 -05:00