Commit Graph

28507 Commits

Author SHA1 Message Date
Mike Jolley 660649e767 Don't force default token gateway active by default 2018-05-18 11:32:39 +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 8897fd99ad
Merge pull request #20115 from woocommerce/fix/wc-api-dev-6
Change image title to name in v3.
2018-05-17 16:40:34 +01:00
Peter Fabian dd9fe541f7 Updated schema for v3 API. 2018-05-17 16:38:47 +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
Claudio Sanches 2c476f60ce Included REST API feature plugin endpoints and changes 2018-05-17 16:14:38 +01:00
Peter Fabian e02989361c Change image title to name in v3. 2018-05-17 15:50:27 +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
Claudio Sanches b458b4339d Don't include reports endpoint while is empty 2018-05-17 12:16:03 +01:00
Claudio Sanches 1c31021eb4 Fixed typo 2018-05-17 12:15:38 +01:00
Claudio Sanches aa2b424c21 Fixed class hierarchy in REST API v2 2018-05-17 12:11:56 +01:00
Claudio Sanches 2c2861bdd0 Fixed REST API v2 file paths 2018-05-17 12:08:43 +01:00
Claudio Sanches 04c19bb035 Include new REST API files and classes 2018-05-17 11:48:48 +01:00
Claudio Sanches f02e4e3088 Initial REST API v3 files 2018-05-17 11:44:46 +01:00
Claudio Sanches de38097b16 Fixed docblock 2018-05-17 11:44:36 +01:00
Claudio Sanches 7f1679d994 Move REST API v2 to a new directory 2018-05-17 11:27:53 +01:00
Khan M Rashedun-Naby fd776d854c Removed Else 2018-05-16 20:44:11 +06:00
Mike Jolley c4e1f8cd76 When cleaning up CSV import, only remove product taxonomies 2018-05-16 08:57:37 +01:00
Khan M Rashedun-Naby 0c70ed69f3 Little clean up and fix 2018-05-16 09:08:49 +06:00
Khan M Rashedun-Naby 3f824ae000 wc_get_loop_class logic simplified 2018-05-16 08:47:35 +06: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
Claudio Sanches dbec84e0a9 Allow oAuth1.0a under SSL
Closes #20042
2018-05-15 23:51:59 +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
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