Claudio Sanches
f4755de848
Fixed composer license syntax
2018-01-30 13:19:46 -02:00
Gerhard Potgieter
18600e1d2f
Add limit and expiry to get_downloads, cater for empty strings expiry and limit setters
2018-01-25 11:28:12 +02:00
Gerhard Potgieter
5ef6766654
Add limit and expiry to data array.
2018-01-25 11:04:45 +02:00
Gerhard Potgieter
2b44ddffc6
PHPCS fixes for WC_Product_Download class.
2018-01-25 11:03:02 +02:00
Gerhard Potgieter
bdda142d24
expiry and limit getters and setters for WC_Product_Download
2018-01-25 10:57:12 +02:00
Mike Jolley
e905a009d0
CRUD tests
2018-01-18 15:07:05 +00:00
Mike Jolley
6fd40d7e37
Remove transaction tests
2018-01-18 14:48:43 +00:00
Mike Jolley
778ccf0606
Update unit test helpers to use CRUD methods
2018-01-18 10:48:26 +00:00
Gerhard Potgieter
711bcf1cd7
Merge branch 'feature/product-custom-tables-supporting-changes' of github.com:woocommerce/woocommerce into feature/product-custom-tables-supporting-changes
2018-01-18 11:39:10 +02:00
Gerhard Potgieter
14af98e9c9
Add image gallery crud functionality for saving and reading using already defined crud helpers
2018-01-18 11:37:03 +02:00
Mike Jolley
672a31e7c6
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-01-16 10:40:19 +00:00
Claudiu Lodromanean
99f58c4c56
Merge pull request #18488 from woocommerce/fix/18474
...
Protocol-relative paths are absolute.
2018-01-15 08:28:42 -08:00
Claudiu Lodromanean
6fa23069a4
Merge pull request #18484 from woocommerce/fix/18481
...
Adding view_items string
2018-01-15 08:15:25 -08:00
Claudiu Lodromanean
1d2c27df6f
Merge pull request #18485 from ragulka/order-status-badge-styling
...
Gracefully handle order status text overflow
2018-01-15 08:13:50 -08:00
Mike Jolley
9a2b051d74
Relative paths are absolute.
2018-01-15 15:41:31 +00:00
Mike Jolley
0006d575a6
Merge pull request #18486 from woocommerce/update-japanese-prefectures-coy
...
Spelling correction
2018-01-15 15:37:46 +00:00
John Coy
0b0ce465f2
Spelling correction
...
Japanese prefecture Hokkai-do required hyphen to speparate prefecture from prefecture type.
2018-01-15 09:17:59 -06:00
ragulka
a8d8d7d27c
gracefully handle overly long order statuses
2018-01-15 16:55:26 +02:00
Mike Jolley
93bac7ce04
Adding view_items string
2018-01-15 14:53:26 +00:00
Mike Jolley
73b5b1c058
Merge pull request #18479 from shivapoudel/main-plugin-file
...
WooCommerce sniffs for main plugin file
2018-01-15 11:00:50 +00:00
Mike Jolley
4901caa729
Merge pull request #18478 from shivapoudel/cli
...
Use dirname rather than __DIR__ and use parenthesis for WC_CLI
2018-01-15 11:00:14 +00:00
Shiva Poudel
7a4debede6
WooCommerce sniffs for main plugin file
2018-01-15 11:13:59 +05:45
Shiva Poudel
e17d2819ea
Use dirname rather than __DIR__ and use parenthesis for WC_CLI
2018-01-15 11:06:53 +05:45
Claudio Sanches
dff5fefe73
Merge pull request #18460 from woocommerce/fix/18448
...
Revert RTL changes in price formatting
2018-01-12 14:28:36 -02:00
Claudiu Lodromanean
bb47315fdd
Merge pull request #18459 from woocommerce/fix/18451
...
Auth screen escaping
2018-01-12 07:26:54 -08:00
Claudiu Lodromanean
544d181538
Merge pull request #18458 from woocommerce/update/storefront-wizard
...
Update wizard wording
2018-01-12 07:24:42 -08:00
Mike Jolley
dbdc3af9e5
Tests
2018-01-12 14:20:39 +00:00
Mike Jolley
7a7995f697
Revert price formatting changes which break in RTL
2018-01-12 14:16:18 +00:00
Claudio Sanches
7290d6e42e
Fixed test string #18430
2018-01-12 11:59:17 -02:00
Mike Jolley
ac7bdd1a56
Fix escaping and PHPCS
2018-01-12 13:04:26 +00:00
Mike Jolley
4997e3f939
Merge pull request #18444 from woocommerce/update/readme-contributors
...
Updates the line inviting everyone to join
2018-01-12 12:32:54 +00:00
Mike Jolley
243c664030
Wording update
2018-01-12 12:29:22 +00:00
Mike Jolley
89c888d654
phpcs
2018-01-12 11:33:26 +00:00
Claudio Sanches
b2129b0c44
Merge pull request #18446 from woocommerce/update/readme-storefront-link
...
Update Storefront link to match other link
2018-01-11 22:32:50 -02:00
Claudio Sanches
1c6529cc83
Merge pull request #18442 from dougaitken/importer-link
...
add importer link
2018-01-11 22:32:15 -02:00
Claudio Sanches
81dc3cf9bb
Merge pull request #18450 from liquidweb/feature/remove-compat-check-for-tests-dir
...
Exclude the /tests/ directory from PHP Compatibility checks
2018-01-11 22:31:27 -02:00
Steve Grunwell
4cded5e9aa
Exclude the /tests/ directory from PHP Compatibility checks
...
The composer.json file in WooCommerce specifies PHPUnit version 6.2.3 as a development dependency; that version of PHPUnit sets PHP 7.0 as the minimum PHP version, effectively making the minimum development version for WooCommerce to be PHP 7.0 (hooray!).
With a more modern version of PHP as the minimum requirement for developers, the code that isn't distributed with the plugin (e.g. the /tests/ directory) doesn't necessarily need to adhere to PHP 5.2-compatible coding standards. This commit removes the /tests/ directory from the scope of the PHP Compatibility checks, enabling the test suite to leverage modern (relative to PHP 5.2, anyway) features like closures, short-array syntax, and namespaces. Embracing more modern PHP in the test suite also opens up the possibilities of using libraries like Faker to populate dummy data, rather than the hard-coded helpers that exist now.
An example test enabled by this change: developers can now use closures for filter callbacks.
add_filter( 'some_filter', function () {
return 'the filtered value';
}
$this->assertEquals( 'the filtered value', my_function() );
Without a closure, this test would need to either write a one-off method in the test class or hack around it with static properties to configure the expected filter response.
2018-01-11 23:17:22 +00:00
Jonathan Belcher
918b7a4bc2
Update Storefront link to match other link
...
Update Storefront link to match other link to match the other link in this document on line 135
2018-01-11 15:06:10 -05:00
Jonathan Belcher
42cdea1415
Updates the line inviting everyone to join
2018-01-11 13:55:15 -05:00
claudiulodro
1d7021bbaf
Bump version for RC
2018-01-11 09:13:07 -08:00
claudiulodro
32b85885b4
Recompile assets
2018-01-11 09:10:29 -08:00
Claudiu Lodromanean
16425f09aa
Merge pull request #18440 from woocommerce/fix/18437-1
...
Fixed number of args passed to woocommerce_order_item_meta
2018-01-11 09:08:17 -08:00
Doug Aitken
34242438f4
add importer link
2018-01-11 17:07:28 +00:00
Claudiu Lodromanean
c51f199c22
Merge pull request #18439 from ryanr14/master
...
Updates & renames all dummy data to sample data.
2018-01-11 08:56:11 -08:00
Claudio Sanches
cac9e0d872
Fixed number of args passed to woocommerce_order_item_meta
...
Part of #18437
2018-01-11 14:47:19 -02:00
Ryan Ray
b3af5c808d
Updates & renames all dummy data to sample data.
2018-01-11 11:39:51 -05:00
Claudiu Lodromanean
411dd50ce5
Merge pull request #18438 from woocommerce/fix/18437
...
Fixed number of args passsed to woocommerce_order_item_meta_start
2018-01-11 08:28:16 -08:00
Claudio Sanches
c96b5e77f1
Merge pull request #18435 from shivapoudel/cli/format
...
Fix undefined format in WC CLI
2018-01-11 14:23:49 -02:00
Claudio Sanches
452cc738cb
Fixed number of args passsed to woocommerce_order_item_meta_start
...
Closes #18437
2018-01-11 14:21:49 -02:00
Claudiu Lodromanean
466cf64db8
Merge pull request #18436 from woocommerce/fix/18288
...
[REST API] Handle unicode in variation attributes
2018-01-11 07:58:49 -08:00