Rodrigo Primo
d067a2bd12
Fix PHP docblock for WC_Plugin_Updates::get_untested_plugins()
...
The documentation of the method
WC_Plugin_Updates::get_untested_plugins() said that it only considers
active plugins when getting the list of untested plugins, but it
actually considers all installed plugins. This commit simply updates the
documentation to reflect the method behavior.
2020-03-12 11:01:36 -03:00
Rodrigo Primo
b9165c66a8
Refactor code that lists plugins to avoid duplication
...
This commit creates a new method called
WC_Admin_Status::output_plugins_info() that is used to display the
plugins that are installed on the site in the system status report page.
It is used to display both the active and inactive plugins sections and
it was created to remove code duplication.
I don't think that adding this code as a method to WC_Admin_Status is
an ideal solution but it is the best that I could think and it is better
than duplicating code. Suggestions of other places are welcome.
2020-03-12 10:47:54 -03:00
vedanshujain
7dad11dfc2
Also used add_query_args for better compatibility
2020-03-12 16:30:08 +05:30
Vedanshu Jain
0a351fb2aa
Merge pull request #25880 from woocommerce/bump-to-next-version
...
Bump WooCommerce version since 4.1.0 development has begun
2020-03-12 14:51:28 +05:30
Steve Grunwell
5855931542
Define the polyfill before attempting to call it
2020-03-11 16:53:25 +00:00
Steve Grunwell
86d44e74bb
Make WC_Tests_CRUD_Data::onNotSuccessfulTest() compatible with its parent declaration
2020-03-11 16:35:36 +00:00
Steve Grunwell
0a3c5186fa
The WP core test suite didn't introduce includes/listener-loader.php until WordPress 5.1, so we need to polyfill the behavior when testing against WordPress 5.0
2020-03-11 16:34:52 +00:00
vedanshujain
75c3583ff5
Use admin_url instead of using absolute url to support subfolder installs
2020-03-11 21:30:35 +05:30
Steve Grunwell
70e7a8ed08
Add a Travis CI build using the minimum WooCommerce requirements
...
The current build matrix is always testing against the latest version of WordPress, but WooCommerce officially supports WordPress 5.0 and newer.
2020-03-11 15:42:40 +00:00
vedanshujain
a2418156d4
Add tests
2020-03-11 20:47:24 +05:30
vedanshujain
509b2c180d
Set usage count as its required by usages query
2020-03-11 20:44:52 +05:30
Rodrigo Primo
83691541c2
Bump WooCommerce version since 4.1.0 development has begun
2020-03-11 11:37:35 -03:00
Rodrigo Primo
66da2c83da
4.0 changelog
2020-03-11 11:22:05 -03:00
Rodrigo Primo
77fbf9d332
Update readme.txt tags to include 'woo'
...
As discussed in p6q8Tx-1qz-p2, when users search for 'woo' on the WP.org plugin repository, WooCommerce does not appear in the list of results. This is happening because 'woo' is not mentioned in the content, excerpt, title, or the first five tags. It was suggested that we start using the tags fields for synonyms like 'woo'. Since WP.org only stores the first 5 tags, in this commit, I'm removing the tag ecommerce tag (which is a word that appears both in the excerpt and the content) and replacing it with 'woo'.
In the future, we might want to evaluate the other four tags that WP.org is considering: e-commerce, store, sales, sell.
2020-03-10 13:56:51 -03:00
Peter Fabian
bc4f246dc0
Merge pull request #25859 from woocommerce/fix/update-AS-to-3-1-2
...
Update Action Scheduler to version 3.1.2
2020-03-10 16:40:26 +01:00
Peter Fabian
968e9c6527
Update Action Scheduler to version 3.1.2
...
This is a trick to avoid function conflict with MailChimp 2.3.4 and how it hooks its own version of Action Scheduler during the autoloader function.
2020-03-10 16:02:37 +01:00
Denis Dvali
955bb2ca7e
Change "products" argument type from array to object.
2020-03-10 17:41:39 +03:00
Rodrigo Primo
f32c062739
The db update routine that updates the db version should be the last one
...
This commit simply changes the order of the database update callbacks
for WC 4.0 to make sure that wc_update_400_db_version is the last one.
2020-03-10 09:31:45 -03:00
Rodrigo Primo
cd75870267
Add the wc_update_400_ prefix to db update routine
...
The db update routine that resets action scheduler migration status was
missing the wc_update_400_ prefix. Doing this for the sake of
consistency.
2020-03-10 09:27:30 -03:00
Timmy Crawford
0c1f468692
Add filter for php-based tracks event properties.
2020-03-09 12:46:40 -07:00
Peter Fabian
cb90b4d3bc
Updated changelog date for 4.0 release.
2020-03-09 14:02:45 +01:00
Rodrigo Primo
d65cd6204e
Merge pull request #25823 from michaelignacio/fix/25781
...
Remove guided tour videos link on setup wizard
2020-03-09 09:34:16 -03:00
Peter Fabian
2eca326825
Improve translatability of version string.
2020-03-09 13:07:32 +01:00
vedanshujain
22392546f6
Add documentation links for settings
2020-03-09 10:47:32 +01:00
Michael Ignacio
d2a00bff04
Remove mention of guided tour videos on setup wizard
2020-03-08 19:33:28 +08:00
Julia Amosova
0a90489322
Remove legacy e2e test suite travis setup
2020-03-06 14:12:24 -05:00
Rodrigo Primo
fb1001b14a
Merge pull request #25825 from woocommerce/fix/etc-comma
...
Add comma before 'etc.' in address 2 placeholder
2020-03-06 14:50:14 -03:00
Rodrigo Primo
1910420896
Merge pull request #24776 from boghy933/feature/24754
...
Option for free shipping if should ignore discounts or not
2020-03-06 13:10:45 -03:00
Rodrigo Primo
709d3f64a3
Merge pull request #25835 from woocommerce/add-rtl-style-to-obw
...
Add RTL style to the onboarding wizard
2020-03-06 12:01:12 -03:00
Rodrigo Primo
b3724a38c7
Add RTL style to the setup wizard
...
Kudos to @kadimi who is the original author of this change (see #24623 ).
I'm doing this commit as we were not able to merge their PR due to a
conflict and we were also not able to cherry-pick their commit as GitHub
is reporting that the PR was created from a unknown repository.
2020-03-06 11:41:38 -03:00
Rodrigo Primo
9b6d66cf1f
Merge pull request #25609 from SamirMahmudzade/patch-3
...
Update KZT (₸) symbol wc-core-function.php
2020-03-06 11:36:11 -03:00
Rodrigo Primo
f413cad396
3.9.3 changelog
2020-03-06 09:50:32 -03:00
Rodrigo Primo
701f5bee3b
Update template version after #25668
2020-03-06 09:46:40 -03:00
Rodrigo Primo
9a0ce76ee4
Merge pull request #25668 from douglas-johnson/fix/form-row-class-name
...
Fix Class Name In Login Form: Change -FormRow to -form-row
2020-03-06 09:45:51 -03:00
Rodrigo Primo
46c21ec694
Merge pull request #25628 from jacobarriola/feature/up-sells-product-heading
...
Allow heading filter for up sells component
2020-03-06 09:30:31 -03:00
Rodrigo Primo
e1aaa6c63c
Merge pull request #25611 from tyrann0us/patch-1
...
Fix typo in DocBlock of `woocommerce_template_loop_product_link_close()`
2020-03-06 09:26:31 -03:00
Rodrigo Primo
5ef13786e4
Merge pull request #25830 from woocommerce/fix/wc-admin-system-status-logic
...
Update system status info about WC Admin.
2020-03-05 15:31:20 -03:00
Peter Fabian
a9e262cb38
Make inactive plugin more visually distinctive.
2020-03-05 19:19:20 +01:00
Peter Fabian
381386bdaf
Rename $path to prevent clashing with global variable.
2020-03-05 19:11:56 +01:00
grigorijurasov
06f44f386b
Update wc-core-functions.php
2020-03-05 18:41:14 +01:00
grigorijurasov
f69649884b
Merge pull request #1 from woocommerce/master
...
Pulling from WooCommerce
2020-03-05 18:36:23 +01:00
Rodrigo Primo
e39db20eca
Add woocommerce_emogrifier action ( #25829 )
...
* add woocommerce_emogrifier action
* fix formating issue
* fix formating, again :"
;
2020-03-05 14:02:29 -03:00
Rodrigo Primo
b53bde72d9
Merge pull request #25811 from adams-specialty-products/master
...
Fixes "screen-reader-text" label_class set as string
2020-03-05 13:59:41 -03:00
Rodrigo Primo
e12b2a0af7
Merge pull request #25728 from leanzafrancesco/add/can-restock-refunded-items-filter
...
Add woocommerce_can_restock_refunded_items filter
2020-03-05 13:53:53 -03:00
Peter Fabian
0bd518cf52
Update system status info about WC Admin.
...
The check now also tests whether wc admin is active to prevent notice about undefined constant when running on WP 5.2 and older, or with inactive WC Admin.
2020-03-05 17:50:55 +01:00
Rodrigo Primo
8e006a962f
Merge pull request #25826 from jobthomas/jobthomas-help-tab-review
...
"Help" tabs review
2020-03-05 13:48:56 -03:00
Rodrigo Primo
e40ddc5291
Merge pull request #25727 from leanzafrancesco/add/order-tax-location-filter
...
Add woocommerce_order_get_tax_location filter
2020-03-05 13:48:40 -03:00
Peter Fabian
9b42f6a4fc
Merge pull request #25828 from woocommerce/fix/admin-notices
...
Display only wc-admin notices when enabled to avoid duplicate notices
2020-03-05 16:47:09 +01:00
Christopher Allford
d165f91c71
Merge pull request #25682 from woocommerce/fix/25637
...
Escape MaxMind database URL
2020-03-05 07:44:50 -08:00
Claudio Sanches
85ca36919b
Use urlencode
2020-03-05 11:54:41 -03:00