Commit Graph

5336 Commits

Author SHA1 Message Date
Christopher Allford 888a5c40cd
Merge pull request #26163 from abhishek-pokhriyal/fix/typo-though
Change "though" to "through"
2020-05-11 19:47:36 -07:00
Christopher Allford 452e53d8af
Merge pull request #25630 from woocommerce/fix-25603
Replace {site_address} by {site_url} for consistency
2020-05-11 19:43:08 -07:00
Christopher Allford f76be96af3
Merge pull request #25517 from grey-rsi/duplicated-custom-fields-after-import
Fix duplicated custom fields after import products from .csv file
2020-05-11 19:41:50 -07:00
Vedanshu Jain 31b648d479
Merge pull request #26358 from woocommerce/fix/26348
Clear only plugin cache if WC header are not present to load with WC headers.
2020-05-11 18:14:39 +05:30
Claudio Sanches 8b4e207f59
Merge pull request #26415 from jasonandmonte/patch-1
Fix variable name typo in class-wc-admin-addons.php file
2020-05-08 13:38:43 -03:00
Vedanshu Jain 276ab00d86
Merge pull request #26044 from woocommerce/add/menu-order-count-filter
Added new filter for modification of order processing count in menu
2020-05-08 18:13:55 +05:30
Jason 8ae5b4d5a6
Update class-wc-admin-addons.php
Fix variable name typo. `$parameters`
2020-05-07 16:19:31 -07:00
Joshua T Flowers 43ab840e1a
Add a put method to the WC_Helper_API (#26262)
* Merge wc api authorization headers with given headers

* Add put method to WC_Helper_API

* Add unit test coverage around WC_Helper_API request methods

* Add tests for WC_Helper_API url method
2020-05-06 19:25:23 +03:00
vedanshujain 62ef169940 Simplified logic for better readability. 2020-05-02 00:31:54 +05:30
vedanshujain e97fd683c6 Add extra comments 2020-05-01 21:19:25 +05:30
vedanshujain 57e2e82961 Clear plugin cache if WC header are not present to load with WC headers.
WC headers are added in filter `extra_plugin_headers`, however, in case when WooCommerce is activated/updated, `get_plugins` will be called and cache will be set before this filter can be cached.

Also, `get_plugins` call is expensive even with update cache present, so we should clear it very conservatively.
2020-05-01 21:14:21 +05:30
Denis Dvali ee9e838918 Reset plugin cache before retrieving plugin list on Subscriptions tab. 2020-04-22 19:55:13 +03:00
abhishek-pokhriyal b049d29a8a Change "though" to "through" 2020-04-11 19:35:13 +05:30
Vedanshu Jain 057b352de7
Merge pull request #26016 from woocommerce/fix/26010
Setup Wizard: Default 100% of users to new OBW.
2020-04-07 02:10:09 +05:30
Vedanshu Jain 5adb16e287
Merge pull request #25904 from woocommerce/fix/25073
Change string for untested WC extensions to avoid confusion
2020-04-06 23:18:42 +05:30
Christopher Allford e3c120c1d9
Merge pull request #26034 from woocommerce/fix/package-update-error
Corrected error messaging on update for expired WooCommerce.com subscriptions
2020-04-03 08:35:46 -07:00
Claudio Sanches 83609d4844 Improved escaping 2020-04-02 14:25:09 -03:00
Claudio Sanches f02780e764 Update theme update available message 2020-04-02 14:22:50 -03:00
Claudio Sanches 9345eb3624 Improved dependency and update message style 2020-04-02 14:17:38 -03:00
Claudio Sanches 5356fb1bf6 Removed undefined variable 2020-04-01 19:22:44 -03:00
Claudio Sanches 1f9c8069c9 Introduces woocommerce_menu_order_count filter 2020-03-31 17:43:50 -03:00
Claudio Sanches 8ae9df58ed
Merge pull request #25901 from woocommerce/fix-code-documentation
Fix PHP docblock for WC_Plugin_Updates::get_untested_plugins()
2020-03-31 15:20:54 -03:00
Christopher Allford 4b454a8b3d Replaced the default error text for upgrades of expired WooCommerce.com plugin subscriptions 2020-03-30 14:11:02 -07:00
Miguel Pinto 3def0534fe
fix typo in variable 2020-03-27 19:36:00 +00:00
Timmy Crawford 9edaffa632 Default 100% of users to new OBW. 2020-03-25 13:37:42 -07:00
Peter Fabian 692df536f7
Merge pull request #25884 from woocommerce/fix/25875
Use admin_url instead of using absolute url to support subfolder
2020-03-17 18:20:04 +01:00
vedanshujain cfed958bac Fix typo 2020-03-16 16:55:09 +05:30
vedanshujain 3ef491631f Better messaging to inform that remote files will not be affected 2020-03-16 16:52:35 +05:30
Rodrigo Primo e61e865a4a Change string for untested WC extensions to avoid confusions
This commit changes the string that is displayed to the users in the system status report page when an old version of a WC extension is installed and it doesn't declare support for the current WC core version.

The original message was:

"WooCommerce Min/Max Quantities - by WooCommerce - 2.4.11 - 2.4.12 is available - Not tested with the active version of WooCommerce"

The new message is:

"WooCommerce Min/Max Quantities - by WooCommerce - 2.4.11 - This version is not tested with the active version of WooCommerce (update is available)"

The problem with the original message is that it gives users the impression that even the newest version (2.4.12 in the example above) is not tested with the active version of WooCommerce.
2020-03-12 12:01:35 -03:00
Rodrigo Primo 4dde5ee453 Remove unused variable 2020-03-12 11:24:35 -03:00
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
vedanshujain 75c3583ff5 Use admin_url instead of using absolute url to support subfolder installs 2020-03-11 21:30:35 +05:30
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
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 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
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
vedanshujain 9ac9970a77 Also display on selected pages outside of wc-admin 2020-03-05 17:07:10 +05:30
vedanshujain 4b3977868b Display only wc-admin notices when enabled to avoid duplicate notices 2020-03-05 16:53:10 +05:30
Job 1cd3ae0088
Remove the "Education" tab from Help
We still had an education tab there, but we have no active agreements with any of the recommended resources. I think we can just delete thme from core.
2020-03-05 11:39:08 +02:00
Job 1bac3ae62c
Updated the Help & Support tab
The Help & Support tab didn't correspond in terminology to what we're using on WooCommerce.com. Notable changes:

* "Helpdesk" --> "WooCommerce.com Support"
* URL for getting help on WooCommerce.com updated
* More active voice in instructions
2020-03-05 11:35:13 +02:00
Peter Fabian 1edddebbde
Merge pull request #25701 from woocommerce/fix/25700
change the namespace of the WC Admin Package class
2020-02-26 12:10:14 +01:00
Peter Fabian d9c90dc873
Merge pull request #25757 from woocommerce/fix/25756
move edited attribute message to consistent location
2020-02-26 11:28:29 +01:00