Commit Graph

27573 Commits

Author SHA1 Message Date
Mike Jolley df019cfe87
Merge pull request #19664 from woocommerce/fix/19621
Clear comment count transient when cleaning product transients
2018-04-10 12:00:23 +01:00
Mike Jolley 2983753809 Update action placement so all product types are consistent.
Also fixes phpcs.
2018-04-10 11:57:49 +01:00
Mike Jolley 6dff553548 Make markup in external product add to cart form mirror simple products with button/form elements. 2018-04-10 11:45:31 +01:00
Peter Fabian 8e8a1ca054 Clear comment count transient when cleaning product transients 2018-04-10 12:12:51 +02:00
Mike Jolley fcb2a3136e
Merge pull request #19660 from AnwerAR/fix/19600-visiblity-dropdown
Fix for #19600 - Visibility dropdown
2018-04-10 10:16:22 +01:00
Anwer AR b68e5743e8 Fix for #19600 - Visibility dropdown not responding in Quick Edit when Stock Management is disabled 2018-04-10 05:19:25 +05:00
Peter Fabian ac1883ee00 Included db update scripts in WC install 2018-04-09 23:24:26 +02:00
Peter Fabian a3d6dc1775 Changed county codes for Ireland according to ISO 2018-04-09 23:15:09 +02:00
Rodrigo Primo d6bfd22dfb Merge branch 'master' of github.com:woocommerce/woocommerce 2018-04-09 18:08:51 -03:00
Rodrigo Primo bf8e005467 Add missing 3.3.4 changes to CHANGELOG.txt 2018-04-09 18:08:15 -03:00
Peter Fabian f40480a3e4
Merge pull request #19642 from saimonh3/fix/19581
Product rating count doesn't update when ratings are edited by admin is fixed #19581
2018-04-09 22:50:40 +02:00
Peter Fabian d2efef5a1c Handling of PHP's automatic array key conversion to int 2018-04-09 16:39:14 +02:00
Gerhard Potgieter 72d078452c Add last order and gross functions 2018-04-09 14:54:50 +02: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
Claudio Sanches 60ad91266d Fixed wrong variable 2018-04-06 15:08:11 -03:00
Claudio Sanches 53b000cb87 Remove product after unit test 2018-04-06 14:49:20 -03:00
Claudio Sanches a10689ce40 Added unit tests for wc_get_product_class() 2018-04-06 14:47:18 -03:00
Claudio Sanches 1e58c3f2a0 Replaced post_class() to wc_product_class() 2018-04-06 14:03:38 -03:00
Claudio Sanches b3bf245929 Introduced new wc_get_product_class() and wc_product_class functions 2018-04-06 13:58:59 -03:00
Claudio Sanches 2698fdc7aa
Merge pull request #19632 from BrianHenryIE/patch-1
Documentation punctuation fixes: its = posessive
2018-04-06 13:15:31 -03:00
Mike Jolley 212a8a180f Back compat 2018-04-06 11:51:03 +01:00
Mike Jolley 3140a0fb62 More customistion options for terms and conditions. 2018-04-06 11:43:30 +01:00
Brian Henry b6f1f68a00
Documentation punctuation fixes: its = posessive 2018-04-05 19:45:14 -07:00
Mike Jolley 46815d1d01 Add controls to control if address 2, company, and phone fields are optional, required, or hidden. 2018-04-05 17:51:43 +01:00
Mike Jolley e30b8e8a5f Rename script so required label logic works 2018-04-05 17:02:06 +01:00
Mike Jolley 3bf567279b Improve default appearance of descriptions so they toggle on focus and support HTML. 2018-04-05 16:56:00 +01:00
Mike Jolley 3a6c3e002b Add option to choose if the checkout marks either required or optional fields, and style these options. 2018-04-05 14:12:59 +01:00
Mike Jolley 0091d7a18c Adds checkout section to the customizer under `woocommerce` 2018-04-05 13:55:15 +01:00
Daniel Bitzer 1f5d4050b3 Set created_via propery for orders created in admin area 2018-04-05 13:58:51 +02:00
Mike Jolley 3c35320f76
Merge pull request #19610 from woocommerce/fix/19569
Use nbsp to separate * denoting required fields.
2018-04-05 11:02:39 +01: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 cf517c50d1
Merge pull request #19618 from woocommerce/fix/19551
Increase orders table checkbox column size on small devices
2018-04-05 10:49:04 +01:00
Mike Jolley 5172694a3a
Merge pull request #19477 from woocommerce/fix/infinite-scroll
Infinite scroll compatibility
2018-04-05 10:46:44 +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
Tiago Noronha 711e1896f1 Increase orders table checkbox column size on small devices 2018-04-04 23:57:18 +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 80dc183880 Use nbsp to separate * denoting required fields. 2018-04-04 16:45:40 +02:00
Claudiu Lodromanean 4d04038372
Merge pull request #19599 from RamseyInHouse/suppressHelperConnectNotice
Add filter to suppress admin WordPress.com connection message.
2018-04-04 07:44:42 -07:00
Claudiu Lodromanean b97d578628
Merge pull request #19603 from woocommerce/fix/19589
Switched Georgian Lari to correct UTF symbol
2018-04-04 07:35:39 -07: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
Mike Jolley 95d3266bfc
Merge pull request #19598 from woocommerce/fix/19500
Handle manage_stock mixed content for variations
2018-04-04 11:28:24 +01: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