budzanowski
0a10d64394
Update code to the new server setup.
2020-07-20 17:16:18 +02:00
Mike Dent
541f68363e
Test code updated, with thanks to @ObliviousHarmony
2020-07-20 15:45:13 +01:00
Mahdi Yazdani
c3c15a4f2a
Removed dot "." from the generated password string
...
There is an extra dot "." right after the generated password string which is not part of the actual password and creates confusion for the users who want to login. It would be great if we can remove it.
2020-07-19 13:45:46 +03:00
Ron Rennick
d3ab19b7cf
eliminate internal use of deprecated functions
...
- remove deprecation of offsetGet as it is used throught abstract order
- eliminate use of offsetGet in unit tests, structured data, order functions
-
2020-07-17 17:14:26 -03:00
Julia Amosova
10bfb679eb
Scroll home screen tasks list into view for the click to work
2020-07-17 12:44:46 -04:00
Brian
78b2141bf5
Update class-wc-countries.php
2020-07-17 13:39:26 +02:00
Brian
e27fc1a8fe
Update class-wc-countries.php
2020-07-17 13:38:47 +02:00
Brian
a1e0959e09
Update class-wc-countries.php
2020-07-17 13:37:56 +02:00
Brian
d330d98431
Update states.php
2020-07-17 13:36:45 +02:00
Damir Ha
5e2bae2a7d
Update currency_pos fix
2020-07-17 13:06:40 +02:00
Damir Ha
d37a82fec8
Add Locale info and Hide state
2020-07-17 13:04:20 +02:00
Brian
bf92d07442
add postcode validation for liechtenstein
...
added the postcode validation for liechtenstein.
max. 4 digits
has to start with 94**
second * can only be a 8 or a 9
2020-07-17 11:50:51 +02:00
Brian
601c7263b8
hide state for liechtenstein
...
hide the state field for liechtenstein
2020-07-17 10:26:48 +02:00
Brian
eefd29e40a
add empty states array for liechtenstein
...
add empty states array for country liechtenstein
2020-07-17 10:22:44 +02:00
Christopher Allford
b21c3fb55a
Updated minified files
2020-07-16 21:44:49 -07:00
Ron Rennick
5ee0eccb7b
add/update correct deprecated notices on existing deprecations
2020-07-16 17:13:08 -03:00
Claudio Sanches
86311a9903
Merge pull request #27046 from woocommerce/fix/26860
...
[Importer/Exporter] Fixed the value display of "Published" for children of draft variable products
2020-07-16 13:15:31 -03:00
Ron Rennick
dbf3e99292
Merge pull request #26964 from woocommerce/fix/24604
...
add rating count to order by rating clause
2020-07-16 10:51:20 -03:00
Damir Ha
161eb4a320
Add test postcode validation for Bosnia and Herzegovina
2020-07-16 13:57:44 +02:00
Damir Ha
9a5d920bdb
Add postcode validation for Bosnia and Herzegovina
2020-07-16 13:52:01 +02:00
Néstor Soriano
24bd19c517
Merge pull request #27038 from woocommerce/add/26192
...
Add existing meta keys to woocommerce_duplicate_product_exclude_meta filter
2020-07-16 11:02:09 +02:00
Claudio Sanches
156b061602
Added unit tests for importer and exporter
2020-07-15 21:49:26 -03:00
Claudio Sanches
37777432d4
[Importer/Exporter] Fix "Published" column values
...
While variations only uses "published" and "private" statuses when
exporting we should display the variations as "draft" in case the parent
product it's also a draft.
2020-07-15 21:45:51 -03:00
Christopher Allford
b71ddd35f1
Added sniffs to enforce PSR-4 in the `src` and `tests/php/src` directories
2020-07-15 16:09:00 -07:00
Christopher Allford
f72b8db576
Added some exceptions to the PHPCS standards for unit tests
...
The file comments and @throws tags are unnecessary in unit tests.
2020-07-15 14:29:13 -07:00
Christopher Allford
55385f6cec
Moved the orphaned unit test into the correct directory
2020-07-15 14:21:34 -07:00
Christopher Allford
13536bef5b
Corrected the WCInstallTest filename
...
It is in the `includes` test section and should have the same filename as the corresponding class.
2020-07-15 14:20:26 -07:00
Vedanshu Jain
a34835e489
Merge pull request #26932 from woocommerce/fix/25442
...
Show community forum link if wccom is not connected
2020-07-16 00:14:52 +05:30
Christopher Allford
fdee8dceaf
Moved test to correct directory
2020-07-15 07:08:09 -07:00
vedanshujain
aabf4bfe37
Add unit tests.
2020-07-15 15:27:34 +05:30
vedanshujain
4500e86198
Shorten class and method names to reduce redundancy in naming.
2020-07-15 15:20:18 +05:30
Christopher Allford
c9f754f5a3
Added the existing meta keys to the `woocommerce_duplicate_product_exclude_meta` filter
2020-07-14 13:57:21 -07:00
vedanshujain
af401a7d80
Add unit test
2020-07-14 23:32:12 +05:30
vedanshujain
1e68ce5dc9
Move function to src for better code architecture
2020-07-14 23:31:56 +05:30
Claudio Sanches
e340a20312
Merge pull request #26880 from wpdesk/bugfix/settings-changes-warning
...
Changed settings warning when leaving page
2020-07-14 13:40:05 -03:00
Claudio Sanches
6291315429
Merge pull request #27028 from woocommerce/fix/master-branch-protection-update
...
Removed wildcards from branch name match.
2020-07-14 13:37:39 -03:00
Christopher Allford
9c492853b5
Merge pull request #26998 from woocommerce/fix/is-tax-displayed-private
...
Fixed the accessibility of WC_Cart::is_tax_displayed()
2020-07-14 09:05:19 -07:00
Nestor Soriano
d2787818e3
Rename `quick-edit-warning` style with `wc-` prefix, and add styling.
2020-07-14 16:02:59 +02:00
Peter Fabian
ac1d4c010a
Merge pull request #26914 from woocommerce/renovate/lerna-monorepo
...
Update dependency lerna to v3.22.1
2020-07-14 13:05:47 +02:00
Peter Fabian
d3ff32aac1
Merge pull request #26912 from woocommerce/renovate/deasync-0.x
...
Update dependency deasync to v0.1.20
2020-07-14 13:04:20 +02:00
Peter Fabian
84266d5f38
Merge pull request #26910 from woocommerce/renovate/babel-monorepo
...
Update babel monorepo to v7.10.4
2020-07-14 13:02:59 +02:00
Peter Fabian
74c320575d
Add message to GUI clients.
2020-07-14 12:53:22 +02:00
Peter Fabian
8c25557bf5
Fixed the test to actually catch master.
2020-07-14 12:51:50 +02:00
Nestor Soriano
c53d6daed1
Fix error when `screen` not set in request, remove redundand `round`s.
2020-07-14 11:42:22 +02:00
Nestor Soriano
a33bcaf532
Remove unnecessary phpcs disabler in quick-edit.js
2020-07-14 11:42:22 +02:00
Nestor Soriano
a39e15f92b
Small adjustments in WC_Admin_Post_Types
...
- Remove no longer needed phpcs disablers.
- Rename method.
- Remove no longer needed logic.
- Simplify some logic.
2020-07-14 11:42:21 +02:00
Nestor Soriano
fc0be07e0f
Add unit test for WC_Admin_Post_Types::bulk_and_quick_edit_save_post.
...
The test added checks that the new regular or sale price is
appropriately set when bulk saving.
2020-07-14 11:42:21 +02:00
Nestor Soriano
320fa38c51
Improve WC_Helper_Product::create_simple_product.
...
Add a new optional $props parameter containing the properties
to be set in the newly created product.
2020-07-14 11:42:21 +02:00
Nestor Soriano
4531af3382
Small fix in WC_Tests_Admin_Post_Types::bulk_and_quick_edit_stock_status_for_variable_product.
...
At some point the 'change_stock' key is assumed to be present
in the request data, but it might not. Fixed to test for existence
before using the value.
2020-07-14 11:42:21 +02:00
Nestor Soriano
e05aa8a03a
Add unit test for WC_Admin_Post_Types::bulk_and_quick_edit_save_post.
...
The test added checks that stock status of variations when saving
a variable product is changed or not appropriately depending on
the request data supplied.
2020-07-14 11:42:21 +02:00