Claudio Sanches
fdea6de347
Check for user meta data first
2020-05-04 22:12:24 -03:00
Claudio Sanches
54625f9712
Fixed check
2020-05-04 22:11:56 -03:00
Claudio Sanches
15f71015e6
Improved method naming
2020-05-04 22:11:02 -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
xristos3490
cb9dc9ed44
Add param doc comment
2020-04-30 11:34:01 +03:00
xristos3490
09b55f7390
fix CS on docblock
2020-04-30 11:04:40 +03:00
abhishek-pokhriyal
968fbe0228
Correct argument count for action hooked on `woocommerce_process_shop_order_meta`
2020-04-26 16:01:40 +05:30
xristos3490
f43426c46e
Fix typo
2020-04-23 01:19:27 +03:00
xristos3490
b6b6bba1a0
minor updates
2020-04-23 01:17:40 +03:00
xristos3490
dfee6ab2e4
Add body class and change styles
2020-04-22 23:32:26 +03:00
Denis Dvali
ee9e838918
Reset plugin cache before retrieving plugin list on Subscriptions tab.
2020-04-22 19:55:13 +03:00
Claudio Sanches
67a0a68689
Fixed uploads_directory_is_public trigger
2020-04-17 18:39:15 -03:00
Claudio Sanches
0eae470c0f
Added notice to check if uploads directoy is public
2020-04-17 18:21:29 -03:00
Fernando Marichal
134c0ea0db
The function '_prompt_helper_connect' was deleted
...
After removing the legacy code the method '_prompt_helper_connect' wasn't useful anymore so it was removed.
2020-04-15 13:35:56 -03:00
Fernando Marichal
f83e5d32a4
Removed legacy notification to connect with WooCommerce
...
Removed legacy JITM for connecting with WooCommerce.com
2020-04-12 13:49:38 -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
Yoav Farhi
af288e6ae1
make sure the woocommerce-helper rtl css file is loaded
2020-04-05 10:59:32 +03:00
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
Garrett Hyder
fadb5d0704
Merge branch 'privacy-policy-update' of github.com:garretthyder/woocommerce into privacy-policy-update
2020-04-02 13:11:24 -07:00
Garrett Hyder
a1ea941947
Updated CSS to use branch-5 instead of branch-5-0 after testing. Updated check to include privacy.css to account for core#43895 which reorganized the privacy files.
2020-04-02 13:10:50 -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
Garrett Hyder
99279211c5
Merge branch 'master' into privacy-policy-update
2020-04-01 16:37:41 -07:00
Garrett Hyder
89336488e9
Introduced privacy.scss with custom back-compat shim for handling the ul elements of WooCommerce privacy policy content and ensuring consistent styling with the default WordPress content.
2020-04-01 16:32:54 -07: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
Peter Fabian
4271eb94d7
Merge pull request #25736 from woocommerce/try/db-update-notice
...
Added the WC Admin enabled db update notice.
2020-02-25 20:19:38 +01:00
Ron Rennick
25ab5596a2
fix composer.lock conflict
2020-02-25 15:00:55 -04:00
Ron Rennick
4e43b27aed
update status report to correctly show active plugin
2020-02-25 14:51:22 -04:00
Ron Rennick
84c2c7fb00
move edited attribute message to location consistent with other edited messages
2020-02-25 11:28:11 -04:00
Peter Fabian
63486a1cb0
Force the saving of notices for the 'install' notice to prevent performance problems for all notices, while also making it less prone to race conditions during the installation.
2020-02-25 15:00:37 +01:00
Peter Fabian
992c6538dc
Force the saving of notices only for the 'update' notice to prevent performance problems.
2020-02-25 14:58:02 +01:00
Peter Fabian
f3dceae5df
Added more exclusions for the DB notice show_reminder method.
...
Also, moved `woocommerce_hide_update_notice` outside those exclusions in case
it would get triggered from cron or via AJAX.
2020-02-25 14:51:09 +01:00
vedanshujain
f5220383a5
Add defensive checks because `configure` is not present in older jetpack version
2020-02-25 15:03:15 +05:30
Peter Fabian
d4933d9a5d
Run configure for Jetpack plugin before attempting to try_registration.
...
This should prevent the fatal error otherwise occuring when connecting with Jetpack
during the OBW if Jetpack is inactive/not installed.
2020-02-24 17:47:07 +01:00
Peter Fabian
7ec65a1b35
Added the WC Admin enabled db update notice.
2020-02-23 21:59:03 +01:00
picocodes
91b01ccaff
fix typo
2020-02-12 17:13:13 +03:00
Remi Corson
89f07da20d
Replace {sitde_address} by {site_url} for consistency
...
Replace {sitde_address} by {site_url} for consistency in WooCommerce emails, for better consistency.
2020-02-11 10:46:32 +01:00
vedanshujain
ee0e94e909
Change how filter is implemented to help both 3PD and translators
2020-02-07 17:54:54 +05:30
vedanshujain
707a9bf9a0
Bump versions
2020-02-07 17:54:54 +05:30
vedanshujain
cc26fdb2e3
Updated docs link
2020-02-07 17:54:54 +05:30
vedanshujain
b29219969c
Addressed code review comments
2020-02-07 17:54:54 +05:30
vedanshujain
ca5fd12103
Add setting to configure hash appends
2020-02-07 17:54:54 +05:30
vedanshujain
56176e0479
Append unique hash to filename for added security
2020-02-07 17:54:54 +05:30
vedanshujain
dc060fe700
Add notice when "redirect only" download method is selected.
...
This download is insecure as it reveals the original file location. We will try to nudge user to use any of the other download method instead.
2020-02-07 17:54:54 +05:30
vedanshujain
d7bac6313c
Add suffix "Insecure" to indicate that this method is insecure
2020-02-07 17:54:54 +05:30
Peter Fabian
4f485a14de
Added explanation comments.
2020-02-07 12:58:31 +01:00
Peter Fabian
5fc2e8fba9
Only skip the store_notices during new install in AS.
2020-02-07 11:06:35 +01:00
Peter Fabian
4c4f9f1164
Don't save notices when running from AS.
2020-02-07 00:21:03 +01:00
Peter Fabian
06d0bbefc4
Don't run setup wizard redirects from AS.
2020-02-07 00:20:42 +01:00
Peter Fabian
ee865fe0b4
Merge pull request #25504 from woocommerce/update/order-detail-summary
...
Enhance order details and payment summary
2020-02-06 11:40:45 +01:00
Peter Fabian
5c23d013d7
Added info about packages to System Status Report.
2020-02-05 21:54:05 +01:00
Rodrigo Primo
44ecb0ec9e
Only display the "Paid by customer" section if the order has been paid
...
This commit changes the condition in the if the statement that decides
whether or not to display the "Paid by customer" section in the order admin
page. Before it, this section was displayed for all orders that
contained one of the following statuses: 'processing', 'completed' or 'refunded'.
The problem with this approach is that offline payment gateways, like
'Cash on Delivery', set the order status to processing when the order is
placed but before the customer pays for it. So the "Paid by customer"
section was being displayed in some cases where the order was not
actually paid yet creating a confusing experience to store managers.
To fix this, this commit also checks for the presence of the
`_date_paid` order meta. If this order meta is present and the order
status corresponds to one of the three statuses listed above, it means that
the order has been paid and we can display the "Paid by customer"
section. If this order meta is not present, we don't display the "Paid
by customer" section.
2020-02-05 16:08:13 -03:00
Christopher Allford
57734ca8ce
Merge branch 'master' into refactor/add-jetpack-constants
2020-02-04 14:36:35 -08:00
Christopher Allford
4ae1e1f5fc
Extracted the repetitive Constants::get_constant( 'WC_VERSION' ) calls where possible
2020-02-04 14:02:57 -08:00
Peter Fabian
147266f44f
Updates to reflect PR feedback.
2020-02-04 21:43:29 +01:00
Peter Fabian
5001e14086
Renamed Discounts to Coupons.
2020-02-04 18:27:53 +01:00
Claudio Sanches
f021a6559f
Merge pull request #25562 from woocommerce/fix/25560
...
Removed WC Admin from the Setup Wizard if it's already active.
2020-02-04 14:03:55 -03:00
Peter Fabian
e5e5d5997e
Better name for the new function.
2020-02-04 17:53:28 +01:00
Claudio Sanches
6f37df1961
Merge pull request #25502 from woocommerce/fix/25488
...
[4.0] Remove wc-admin install nudge.
2020-02-04 13:19:57 -03:00
Claudio Sanches
3fa9c79d94
Remove old notice file
2020-02-04 13:17:36 -03:00
Claudio Sanches
94d1b742ad
Merge pull request #25545 from woocommerce/prep/after-3.9
...
Bumped versions for the upcoming release.
2020-02-04 13:05:27 -03:00
Claudio Sanches
ab147f7a71
Merge pull request #25532 from woocommerce/update/wccom-helper-api-authentication
...
Add query params as fallback for passing authentication data to WC Helper API
2020-02-04 13:04:11 -03:00
Peter Fabian
4a506ebcf7
Merge pull request #25530 from woocommerce/fix/country-region-label
...
Fix/country region label
2020-02-04 13:54:22 +01:00
vedanshujain
ee274be95a
Modified "Country" to "country / Region" for more inclusiveness
2020-02-04 13:46:13 +05:30
Peter Fabian
d588218eb6
PHPCS
2020-02-03 23:18:12 +01:00