Commit Graph

27715 Commits

Author SHA1 Message Date
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
Khan M Rashedun-Naby 5c0d7292f3 wc_get_object_terms refactored 2018-05-15 15:44:32 +06:00
Khan M Rashedun-Naby 1ed6d7ce65 Unnecessary Else Removed 2018-05-15 15:01:41 +06:00
Khan M Rashedun-Naby f7baef9938 wc_list_pages function refactored 2018-05-15 08:08:18 +06: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 651de82769 ElseIf and Else Statement Removed 2018-05-15 00:07:29 +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
Claudio Sanches aa814c294b Allows manipulate cart shipping calculator data
Introduces woocommerce_cart_calculate_shipping_address and
woocommerce_shipping_calculator_enable_country to allow full control in
the cart shipping calculator fields
2018-05-11 13:26:34 -03: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
Claudiu Lodromanean 6f2c807f1c
Merge pull request #19984 from woocommerce/fix/19640
Basic range download handling for Force download.
2018-05-09 09:08:15 -07:00
Mike Jolley 14cbf7b0f0 Pass scheme without hyphen 2018-05-09 17:06:34 +01:00
Grzegorz Rola 5c9085de03 Context for getting shipping methods for shipping zone. 2018-05-09 16:35:49 +02:00
Peter Fabian e31420234a Skip download remainig check if doing ranged request.
This allows to finish listening/waching the file on iOS device if the remaining download count goes from 1 to 0.
2018-05-09 16:34:58 +02:00
Claudiu Lodromanean 88478673e6
Update readme.txt 2018-05-09 07:22:48 -07:00
Claudiu Lodromanean ec02a133a3
Merge pull request #20021 from woocommerce/fix/19967
Switch stock status when manage stock gets changed and qty is sufficient.
2018-05-09 07:21:59 -07:00
Peter Fabian 2b9a5a6330 Removed test to reflect changes in track download method. 2018-05-09 15:54:38 +02:00
Claudiu Lodromanean 706e9d4810
Update readme.txt 2018-05-09 06:54:12 -07:00
Claudiu Lodromanean f88a0d011d
Merge pull request #20020 from woocommerce/fix/20014
Prevent infinite loops when grouped products group each other
2018-05-09 06:53:29 -07:00
Peter Fabian e5dfa71e23 Moved check for download log to WC_Download_Handler. 2018-05-09 15:52:02 +02:00
Mike Jolley 2f259e33df
Merge pull request #20019 from woocommerce/fix/19985
ScrollIntoView excplicitly asked to scroll to center vertically.
2018-05-09 14:20:39 +01:00
Mike Jolley 2a90dcbc36 Prevent infinite loops when grouped products group each other 2018-05-09 14:05:05 +01:00
Peter Fabian fcad799606 ScrollIntoView excplicitly asked to scroll to center vertically.
Even though this should be the default, Firefox defaults to top.
2018-05-09 14:40:21 +02:00
Peter Fabian b920fb5786 Fixed bugs introduced by refactoring. 2018-05-09 14:29:52 +02:00
Mike Jolley cd7c3829ca
Update CONTRIBUTING.md 2018-05-09 12:20:46 +01:00
Peter Fabian 7c30b1fac5 Fixed PHPCS problems in test file. 2018-05-09 12:45:17 +02:00