Commit Graph

27413 Commits

Author SHA1 Message Date
Gerhard Potgieter ff05df5dac
Merge pull request #20083 from woocommerce/fix/20058
When duplicating variation, set the date to null
2018-05-18 12:28:55 +01:00
Gerhard Potgieter 391d144fd3
Merge pull request #20082 from franticpsyx/js_order_items_reload
[3.4] Add JS listeners for reloading/reinitializing order items in edit-order page
2018-05-18 12:28:17 +01:00
Gerhard Potgieter ad24b9c9d9
Merge pull request #20041 from woocommerce/fix/20039
Wrap cell in ' rather than prepend
2018-05-18 12:27:26 +01:00
Gerhard Potgieter 7a501337b9
Merge pull request #20061 from saimonh3/fix/20060
fix(missing-country-code): add bahrain country code in the load_country_states method
2018-05-18 12:26:39 +01:00
Gerhard Potgieter b73cf49278 Update unit tests to conform to new escaping 2018-05-18 12:09:56 +01:00
Mike Jolley 7481c2c205 Remove legacy meta data from orders 2018-05-18 11:58:21 +01:00
Mike Jolley ddece6a53b Revert "Don't force default token gateway active by default"
This reverts commit 2ef13c3e72.
2018-05-18 11:32:49 +01:00
Mike Jolley 2ef13c3e72 Don't force default token gateway active by default 2018-05-18 11:30:56 +01:00
Gerhard Potgieter 92be60f3e4
Merge pull request #20045 from liquidweb/fix/table-ordering
Sort the results of WC_Install::get_tables()
2018-05-18 11:14:21 +01:00
Mike Jolley 20c184274b Prevent autofocus on checkout 2018-05-18 10:39:51 +01:00
Claudio Sanches 9e53ca2f0b
Merge pull request #20113 from rodrigoprimo/speedtrap
Use WordPress version of phpunit-speed-trap
2018-05-17 16:33:13 +01:00
Rodrigo Primo 3057ed0bd6 Use WordPress version of phpunit-speed-trap
This commit adds WordPress version of phpunit-speed-trap (https://github.com/WordPress/wordpress-develop/blob/master/tests/phpunit/includes/speed-trap-listener.php). First I tried to add it using composer but for some unknown reason it worked on my local environment but not on Travis (https://travis-ci.org/woocommerce/woocommerce/jobs/377286389#L673). I don't think it is worth spending too much time on this so it seems to me that it is just easy to use WordPress version instead since it works.
2018-05-17 15:04:32 +01:00
Rodrigo Primo fef08f6e16 Revert "Add phpunit-speedtrap"
This reverts commit 5cd7326881.
2018-05-17 14:52:07 +01:00
Mike Jolley c4e1f8cd76 When cleaning up CSV import, only remove product taxonomies 2018-05-16 08:57:37 +01:00
Jason Conroy e8e438704b Fix incorrectly closed table row
Introduced with 23b69eba53 (diff-1b33d607bfa554752b46fad3269637deR806)
2018-05-16 11:36:02 +10:00
Mike Jolley 6a1898455b Remove hardcoded border in email template 2018-05-16 00:14:29 +01:00
Claudio Sanches a14ad889df
Merge pull request #20087 from woocommerce/fix/20072
Remove full stop after action name
2018-05-16 00:03:20 +01:00
Mike Jolley faa00b7488 Remove full stop after action name 2018-05-15 23:26:18 +01:00
Mike Jolley d25bd2dd33 Fix rounding of line items for orders 2018-05-15 23:18:39 +01:00
Mike Jolley 58e4802f47 Set date created if null during update 2018-05-15 19:15:42 +01:00
Mike Jolley d136926d0c Fix tooltip styling when outside label 2018-05-15 15:59:49 +01:00
Mike Jolley 7ee933dd18 When duplicating variation, set the date to null 2018-05-15 15:37:17 +01:00
Manos Psychogyiopoulos ee3388762f Dry up code using 'reloaded_items' 2018-05-15 15:17:11 +03:00
Manos Psychogyiopoulos 285a86c3d4 Add 'wc_order_items_reload' and 'wc_order_items_reloaded' event listeners 2018-05-15 15:16:21 +03:00
Claudio Sanches 6c1234668a
Merge pull request #20066 from rnaby/140518-235030
Removed Else Condition Check
2018-05-15 01:20:30 +01:00
Claudio Sanches 46df086e58
Merge pull request #20069 from rnaby/150518-003232
Else Removed
2018-05-15 01:19:43 +01:00
Khan M Rashedun-Naby 80a1a64285 Else Removed 2018-05-15 00:33:22 +06:00
Khan M Rashedun-Naby f09fd925e7 Removed Else Condition Check 2018-05-15 00:01:15 +06:00
Claudio Sanches 85eaec1a8a
Merge pull request #20056 from rnaby/130518-233116-wc-admin-log-table-list
Code Cleaned Little Bit
2018-05-14 07:09:07 -03:00
Mohammed Saimon 0b4847d75d fix(missing-country-code): add bahrain country code in the load_country_states method 2018-05-14 13:26:25 +06:00
Khan M Rashedun-Naby 7d889b472a Approach Cleaned 2018-05-13 23:40:07 +06:00
Steve Grunwell 317e7ba29f Revert most of 74a3f1d6
As @claudiosanches pointed out, there isn't much real-world need for `WC_Install::get_tables()` to sort results. Instead, sort the returned value within the `WC_Tests_Install::test_get_tables()` method.
2018-05-11 22:46:46 +00:00
Steve Grunwell 226aedd4e2 Merge branch 'master' into fix/table-ordering 2018-05-11 17:11:02 +00:00
Steve Grunwell 74a3f1d6d8 Sort the results of WC_Install::get_tables()
Since custom tables can be registered within WooCommerce via the 'woocommerce_install_get_tables' filter, it's helpful to ensure that `WC_Install::get_tables()` automatically sorts the table names alphabetically.

This helps avoid false failures when testing a plugin that uses a custom table against the WooCommerce core test suite, as queries like `WC_Tests_Install::test_get_tables()` assumes that tables will be returned in alphabetical order.
2018-05-11 16:18:49 +00:00
Claudiu Lodromanean 5258e00bad
Merge pull request #20040 from woocommerce/fix/20036
Slideup during init to prevent jump on RTL sites
2018-05-11 08:35:32 -07:00
Mike Jolley b0b135dfb0
Merge pull request #20035 from woocommerce/add/phpunit-speedtrap
Add phpunit-speedtrap
2018-05-11 15:19:04 +01:00
Mike Jolley cf1bd6b5cd
Merge pull request #20037 from woocommerce/fix/steps
Add default empty step class to html-csv-import-steps.php
2018-05-11 15:17:06 +01:00
Mike Jolley e6ddc65c2a Wrap cell in ' rather than prepend 2018-05-11 12:16:02 +01:00
Mike Jolley 83edda2b1f min 2018-05-11 11:57:30 +01:00
Mike Jolley 9cb0d3c884 Slideup during init to prevent jump on RTL sites 2018-05-11 11:55:22 +01:00
claudiulodro 2ee7c62499 Add default empty step class to html-csv-import-steps.php 2018-05-10 11:59:17 -07:00
Rodrigo Primo 5cd7326881 Add phpunit-speedtrap
phpunit-speedtrap (https://github.com/johnkary/phpunit-speedtrap) includes a report of slow-running unit tests to the PHPUnit output and it will help identify WC core tests that need to be changed to run faster.
2018-05-10 10:39:26 -03:00
Mike Jolley 217fe4bd69
Update Feature_request.md 2018-05-09 20:54:38 +01:00
claudiulodro 4e046f2afe Recompile for RC1 2018-05-09 11:01:54 -07:00
Claudiu Lodromanean 89e86fc59d
Merge pull request #19990 from woocommerce/update/34readme
Rolling 3.4 readme
2018-05-09 10:58:28 -07:00
Claudiu Lodromanean 2dc1de8347
Update readme.txt 2018-05-09 10:10:40 -07:00
Claudiu Lodromanean 2dc1e042c9
Merge pull request #20024 from woocommerce/update/20022
Context for getting shipping methods for shipping zone.
2018-05-09 10:10:27 -07:00
Claudiu Lodromanean 7a6b0d8cf5
Merge pull request #19934 from woocommerce/fix/19819
Add protocol to URLs for thumbnails in cart.
2018-05-09 10:09:17 -07:00
Mike Jolley 1ff5520512 Pass through JSON context when getting zones for JSON responses and scripts 2018-05-09 17:41:33 +01:00
Claudiu Lodromanean 45bbdeff6a
Update readme.txt 2018-05-09 09:09:19 -07:00