Claudio Sanches
283c82b6b4
Fixed coding standards
2020-07-27 22:42:15 -03:00
Claudio Sanches
134ab5c184
Fixed coding standards
2020-07-27 20:21:41 -03:00
Claudio Sanches
4f90307e2e
Fixed "Paid By Customer" data when the orders contains refunds
2020-07-27 20:18:33 -03:00
Ron Rennick
d8edcb4551
update from review feedback
2020-07-27 16:48:39 -03:00
Christopher Allford
c84f2b987b
Merge pull request #26750 from woocommerce/implement/core-language-packs-updates
...
Add language packs automatic delivery code.
2020-07-27 12:45:58 -07:00
Claudio Sanches
7bd34e3545
Merge branch 'master' into fix/25843
2020-07-24 17:04:28 -03:00
vedanshujain
cd09e91817
Applied coding standards
2020-07-24 19:12:25 +05:30
vedanshujain
853539df12
Remove wc_round_tax_total from shipping item because shipping price are never inclusive of taxes
2020-07-24 19:12:24 +05:30
Peter Fabian
03230ecf01
Merge pull request #26642 from woocommerce/fix/26607
...
Limit stock changes for order items to status methods for consistency.
2020-07-24 13:23:53 +02:00
budzanowski
7bc30512a4
Remove extra tab.
2020-07-23 23:22:16 +02:00
budzanowski
623363ba50
Check for if new locale has language pack installed.
2020-07-23 22:52:59 +02:00
budzanowski
70c65f60f2
Don't process if there are no plugins to check.
2020-07-22 12:16:20 +02:00
budzanowski
ed1a181eca
Update api url.
2020-07-22 10:56:04 +02:00
budzanowski
2d8f308a08
Remove redundant check.
2020-07-21 18:41:34 +02:00
budzanowski
0a10d64394
Update code to the new server setup.
2020-07-20 17:16:18 +02:00
Ron Rennick
5ee0eccb7b
add/update correct deprecated notices on existing deprecations
2020-07-16 17:13:08 -03:00
Claudio Sanches
2947700029
Removed Features settings and home screen option
2020-07-15 22:58:51 -03:00
Christopher Allford
c9f754f5a3
Added the existing meta keys to the `woocommerce_duplicate_product_exclude_meta` filter
2020-07-14 13:57:21 -07:00
Nestor Soriano
d2787818e3
Rename `quick-edit-warning` style with `wc-` prefix, and add styling.
2020-07-14 16:02:59 +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
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
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
b71a9c33b6
Extract $_REQUEST to a method in WC_Admin_Post_Types.
...
Create a new `request_data` method in WC_Admin_Post_Types that
just returns $_REQUEST. This is intended to ease unit testing,
as this method can be easily mocked to return test data.
2020-07-14 11:42:21 +02:00
Nestor Soriano
fd34cf76b2
Fix stock status setting for variable products on bulk & quick edits.
...
For bulk edit: even if stock status was left as "No change", the
status of all variations was being changed to whatever the status
of the product was before it was converted to variable. Now
no change is performed when "No change" is selected, and all
variations change to whatever is selected otherwise.
For quick edit: a new "No change" option is added that will be
preselected when the product is variable. Previously, whatever
status the product had before being converted to variable was being
shown, and that's the status that would be set when saving.
Also, a "This will change the stock status of all variations"
message is displayed before the selector.
2020-07-14 11:42:21 +02:00
Nestor Soriano
ae0d269128
Refactor duplicate code & add rounding to price calculations in WC_Admin_Post_Types.
...
Two methods have been created:
- update_stock_status, replaces code that was duplicated in the
quick_edit_save and bulk_edit_save methods.
- set_new_price, replaces code that was duplicated-ish in the
bulk_edit_save for setting the new regular and sales prices
(code was not identical but very similar).
Also, `round` is now used on sale price calculations that involve
multiplying by a percent, the same was as it was done already
to calculate the regular price.
2020-07-14 11:42:21 +02:00
Nestor Soriano
7d5b59953c
Fix code sniffer errors in WC_Admin_Post_Types.
2020-07-14 11:42:21 +02:00
Claudio Sanches
864f451775
Merge pull request #26338 from woocommerce/fix/25561
...
Fixed user cap required to view the order count indicator
2020-07-08 12:09:28 -03:00
Claudio Sanches
eeb08467af
Merge pull request #26877 from woocommerce/fix/26547
...
Fixed WooCommerce menu for users that can only manage orders on WooCommerce
2020-07-08 12:08:29 -03:00
Claudio Sanches
dec50429b4
Merge pull request #25240 from shamalisulakhe/issue-24266-solution
...
Issue 24266 solution - with rerf of
2020-07-01 13:00:58 -03:00
Claudio Sanches
cadbc759fe
Merge pull request #26680 from MihaiCraciun/master
...
Added missing closing select tag to the product exporter category select
2020-07-01 12:57:33 -03:00
Claudio Sanches
2874915339
Merge pull request #26553 from szepeviktor/patch-2
...
Fix PHPDoc in WC_Notes_Run_Db_Update
2020-07-01 12:46:48 -03:00
Claudio Sanches
4450d2239f
Merge pull request #26660 from woocommerce/add/status-tools-prompt
...
Adds a prompt to confirm if should run tools in the Status page.
2020-07-01 12:39:54 -03:00
vedanshujain
8ded6a3057
Applied coding standards
2020-07-01 19:09:50 +05:30
budzanowski
114ce81757
Use singular batch update endpoint.
2020-06-26 11:09:41 +02:00
Claudio Sanches
f5b9af8591
Keep WooCommerce menu structure if user can edit others shop orders
2020-06-25 20:01:12 -03:00
Claudio Sanches
f4d11c89f3
Merge branch 'master' into issue-24266-solution
2020-06-23 16:47:30 -03:00
Ron Rennick
aaae319a65
deprecate wc-setup
2020-06-23 15:29:58 -03:00
Ron Rennick
e56ef185b0
Merge pull request #26809 from woocommerce/fix/25606
...
remove privacy page dropdown
2020-06-23 13:34:33 -03:00
Claudio Sanches
3bb7f30c01
Merge branch 'master' into fix/25561
2020-06-23 11:23:29 -03:00
Ron Rennick
a88a708286
remove privacy page dropdown
2020-06-18 10:40:17 -03:00
Peter Fabian
14a26aca2c
Update min files and selectWoo
2020-06-16 17:15:12 +02:00
Peter Fabian
418d95298a
Merge branch 'master' into update/wc-admin-1.3.0-beta-1
...
# Conflicts:
# composer.lock
2020-06-16 14:58:43 +02:00
Peter Fabian
35ee21f837
Merge pull request #26754 from woocommerce/fix/25544
...
Encode HTML entities in product attributes
2020-06-16 14:29:19 +02:00
Peter Fabian
bb2cf2e8dc
Removed deprecated method call.
2020-06-16 13:18:05 +02:00
Peter Fabian
c35c4f1f08
Merge pull request #26395 from woocommerce/revert-26226-revert-25708-update/reserve-stock-for-checkout
...
Introduce a `reserved stock` class and database table to prevent race conditions during checkout
2020-06-16 11:38:10 +02:00
Peter Fabian
32037e37dd
Merge pull request #26625 from woocommerce/add/homescreen-option
...
Homescreen: Enable for new stores and add Features Setting section
2020-06-15 21:54:06 +02:00
Peter Fabian
0c96b1452d
Merge pull request #26685 from woocommerce/fix/26248
...
Removed the notice for untested minor version updates
2020-06-15 21:40:22 +02:00
vedanshujain
34e5d3daa3
Use single sentence for easier translations.
2020-06-15 19:09:52 +05:30
Paul Sealock
c7ad889f93
Homescreen: add option and setting
2020-06-15 13:38:02 +12:00
budzanowski
8f4e1a90c1
Typo fix.
2020-06-14 11:38:57 +02:00
budzanowski
bb7e5d1018
Connect the translations server.
2020-06-14 11:14:29 +02:00
Jonathan Sadowski
4d6aad4ecb
Encode HTML entities in product attributes
2020-06-11 14:10:05 -05:00
budzanowski
5277bf8b60
Add language packs automatic delivery code.
2020-06-11 14:31:55 +02:00
vedanshujain
e00f79417f
Alert in status report if base table is not present.
...
Also add a tool to rerun the check. This needs newer API version to work.
2020-06-05 18:26:49 +05:30
Vedanshu Jain
6564847802
Merge pull request #26454 from woocommerce/enhancement/verify-db
...
Add `verify_base_db` method to check if all base tables are present.
2020-06-05 15:15:39 +05:30
vedanshujain
4fce106f14
Use `_` instead of `-` as per convention.
2020-06-04 20:33:38 +05:30
Christopher Allford
ffe2257f2d
Removed the notice for untested minor version updates
...
With the increased cadence of releases it becomes necessary that we address the `WC tested up to` header's usefulness. It isn't practical to require everyone to update their extensions every month, especially given that we are only doing backwards compatible minor releases. The only case I can think of where we might want to check the minor version is if the Stable tag on Core is downgraded, but due to the naming of the header, this doesn't make any sense.
I considered making this a wildcard of some kind but I think most would bind to a full major version anyway and so this isn't worth the time to add it. As an aside, the tests in `plugin-updates.php` seem to indicate that a header of `WC tested up to: 4` would apply to the entire major version cycle, so wildcards already exist!
2020-06-03 14:36:06 -07:00
Claudio Sanches
bf042a428d
Merge pull request #25321 from grey-rsi/status_widget_stock_rows
...
Add filters for status_widget_stock_rows queries
2020-06-03 11:22:20 -03:00
MihaiCraciun
1df2ba2c7a
Added missing closing select tag
2020-06-03 13:40:05 +03:00
Julia Amosova
479cac4fc0
Add note to Products Importer that TXT files are also supported.
2020-06-02 12:55:06 -04:00
Claudio Sanches
5bf9a83e58
Fixed docblock
2020-06-02 12:17:59 -03:00
Claudio Sanches
2267dcfe7e
Updated since tags
2020-06-02 12:16:54 -03:00
Julia Amosova
f929bacfc6
Correct grammar mistake in the help tip of the `Connected to WooCommerce.com` field of SSR.
2020-06-02 11:12:47 -04:00
Sergey Ratushnuy
ec91a7c3fc
Small fix
2020-06-02 15:05:44 +03:00
Claudio Sanches
6afbed0c14
Fixed coding standards
2020-06-01 23:55:17 -03:00
Claudio Sanches
608cce5091
Fixed typo
2020-06-01 20:54:29 -03:00
Claudio Sanches
b4ab40ae34
Adds a prompt to confirm if should run tools in the Status page.
2020-06-01 18:56:38 -03:00
Claudio Sanches
2acc24f489
Added missing trailing slash
2020-05-26 17:23:37 -03:00
vedanshujain
e89ee25f36
Better option names to properly describe their intention.
...
Additionally, allow an option in `verify_base_tables` to call `create_table` method. This will be useful if someone wants to fix the their database.
2020-05-26 23:26:45 +05:30
Claudio Sanches
a240798362
Don't allow redirection while checking for uploads directory
2020-05-25 10:31:58 -03:00
vedanshujain
fafa44bde0
Modified notice to also handle when REST API does not have verify tool.
2020-05-22 18:32:03 +05:30
vedanshujain
f5afddd4c9
Add support for notices
2020-05-22 18:32:03 +05:30
vedanshujain
3acc03c804
Add `verify_base_db` method to check if all base tables are present.
...
Optionally, also adds a notice in case all db tables are not present. Returns list of tables.
Note that we only check missing tables and don't care about exact table structure because many time tables are modified by merchants to better suit their needs (indexes, collations etc).
2020-05-22 18:30:11 +05:30
Christopher Allford
93811e0a56
Merge pull request #25753 from woocommerce/fix/25752-wc_get_shipping_method_count-check-enabled
...
Add is_enabled=1 check in wc_get_shipping_method_count()
2020-05-21 11:44:36 -07:00
Viktor Szépe
90c34a26a0
Fix PHPDoc in WC_Notes_Run_Db_Update
...
and correct a newbie mistake
2020-05-19 19:21:57 +02:00
Vedanshu Jain
7fb1079137
Merge pull request #26399 from woocommerce/fix/uploads_htaccess
...
Disable directory listing for redirect download method
2020-05-19 15:56:37 +05:30
Claudio Sanches
eea062f9fa
Merge pull request #26519 from woocommerce/fix/csv-import-special-columns
...
Fixed the case conversion for meta key column mapping in product CSV imports
2020-05-18 11:33:50 -03:00
Peter Fabian
e3e72e0423
Merge pull request #26500 from woocommerce/fix/26443
...
Refresh db update nonce on the Thank you notice
2020-05-18 14:36:13 +02:00
Albert Juhé Lluveras
9a34c4fe75
Update WC shipping settings so no shipping zones banner appears when all are deactivated
2020-05-15 16:32:12 +02:00
Peter Fabian
0934f4a147
Merged should_show_notice and show_reminder and simplified logic.
...
Removed redundant calls to the same functions as this code runs on each admin pageload.
2020-05-15 10:24:30 +02:00
Peter Fabian
2f141eca77
PHPCS
2020-05-15 09:40:23 +02:00
Peter Fabian
50e386cbe8
Corrected the comment.
2020-05-15 09:26:17 +02:00
Christopher Allford
7bf9c31f64
Adjusted the column name normalization to avoid squashing meta key case sensitivity
...
Since we were converting the field to lowercase we ended up inserting meta in all lowercase, regardless of what it was in the CSV file. We should only be using the normalized field name when looking at the default columns, and should instead rely on a case-insensitive regex for the special columns.
One thing to note is that we're still defaulting the $headers array to the normalized field, as we don't want to change what is being passed to the filter for unmapped columns.
2020-05-14 21:20:55 -07:00
Claudio Sanches
c09a269589
Revert "Fix duplicated custom fields after import products from .csv file"
2020-05-14 14:06:01 -03:00
Peter Fabian
6b11451b88
Replaced repeated code from get_current_notice with the function call.
2020-05-13 16:36:09 +02:00
Peter Fabian
a2f985414e
Added freshness check also for 'done' notice.
2020-05-13 16:34:23 +02:00
Peter Fabian
ed64c0c731
Y U no nonce here?
2020-05-13 16:33:27 +02:00
Peter Fabian
eb0879cd1a
Extracted actions to the beginning of the function to allow usage in note_up_to_date check.
2020-05-13 16:32:42 +02:00
Peter Fabian
a7203ec4d0
Added clean up of duplicate notes, if there are any.
...
There has been some reports about duplicate notes in the db, so this should remove the duplicates and keep the first one.
2020-05-13 15:00:04 +02:00
Sergey Ratushnuy
9d711a6afa
Add filters for status_widget_stock_rows queries
2020-05-13 11:02:44 +03:00
Christopher Allford
a34bb53d9c
Merge pull request #26207 from woocommerce/feature/26186
...
Added notice to check if uploads directoy is public
2020-05-12 11:22:49 -07:00
Claudio Sanches
281459914b
Fixed space in URL
2020-05-12 15:16:36 -03:00
Claudio Sanches
8d6e13952a
New docs URL
2020-05-12 15:16:11 -03:00
Christopher Allford
7f45c56417
Merge pull request #26072 from garretthyder/privacy-policy-update
...
Privacy policy update
2020-05-12 09:33:28 -07:00
Christopher Allford
f41cb52e0c
Merge pull request #26251 from xristos3490/fix-wp-54-styles
...
[WC4.1 RC] WP 5.3 select2 css fixes broken in WP 5.4
2020-05-12 07:39:10 -07:00
Christopher Allford
278cadea67
Merge pull request #26080 from yoavf/fix/helper-toggle-rtl
...
Addons/Helper: fix toggles in RTL mode
2020-05-11 19:58:45 -07:00
Christopher Allford
71c49e9ef9
Merge pull request #26296 from abhishek-pokhriyal/fix/incorrect-argument-count
...
Correct argument count for action hooked on `woocommerce_process_shop…
2020-05-11 19:57:53 -07:00
Christopher Allford
7e2e9b8695
Merge pull request #26167 from woocommerce/fix/25889
...
Removed legacy notification to connect with WooCommerce
2020-05-11 19:56:46 -07:00
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
Claudio Sanches
224559e73f
Updated since tag and removed global variable
2020-05-07 18:57:53 -03:00
Claudio Sanches
7ee559004b
Change notice class to error
2020-05-07 16:05:45 -03:00
Claudio Sanches
16ec0007cf
Set "Options -Indexes" for redirect download method
...
Stop the .htaccess to get removed and stop directory listing
2020-05-06 23:42:33 -03:00
Claudio Sanches
16027eb33e
Updated the notice
2020-05-06 21:50:01 -03:00
Claudio Sanches
8fecbcf9bf
Make safe
2020-05-06 21:49:20 -03:00
Claudio Sanches
191bc7f134
Check if uploads/woocommerce_uploads is protected
2020-05-06 21:41:04 -03: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
Claudio Sanches
d6a17aad4e
Request is internal
2020-05-05 14:05:53 -03:00
Claudio Sanches
1208f79476
Included view
2020-05-05 14:04:42 -03:00
Claudio Sanches
d8b8601601
Updated uploads directory check and saved results on transients
2020-05-05 14:03:12 -03:00
Claudio Sanches
040944fda6
Updated notice
2020-05-04 22:20:03 -03:00
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
Claudio Sanches
3a987b3367
Fixed coding standards
2020-04-29 18:23:57 -03:00
Claudio Sanches
986c68c221
Fixed user cap required to view the order count indicator
2020-04-29 18:19:25 -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
Peter Fabian
12fe0e6815
Corrected tax amount displayed in the summary.
2020-02-03 23:09:59 +01:00
Peter Fabian
f9c9498e7c
Replaced deprecated call with a substitute function.
2020-02-03 23:09:19 +01:00
Christopher Allford
bf02776a3b
Corrected inconsistent uses of the Constants library
2020-02-03 13:15:12 -08:00
Christopher Allford
c5e1fc6c45
Merge remote-tracking branch 'origin/master' into refactor/add-jetpack-constants
2020-02-03 11:50:16 -08:00
Denis Dvali
e496d6ea3f
Adding doc comments to comply with coding standard.
2020-02-03 22:14:00 +03:00
Peter Fabian
04c4732e13
Unified the check for presence of WC Admin.
2020-02-03 18:04:18 +01:00
Peter Fabian
aa8e8992cc
Merge branch 'master' into fix/25560
...
# Conflicts:
# includes/admin/class-wc-admin-setup-wizard.php
2020-02-03 17:59:24 +01:00
Peter Fabian
670dbbc5e7
Removed WC Admin from the OBW if it's already active.
...
Also, removed info about plugin installation if the plugin is active.
2020-02-03 17:41:50 +01:00
Peter Fabian
152a5cd52c
Merge pull request #25527 from woocommerce/fix/25526
...
Use enable onboarding path instead of manually setting onboarding option
2020-02-03 17:18:02 +01:00
Christopher Allford
1d1413b4ee
Replaced direct access of many constants with the Constants library
2020-01-31 22:18:47 -08:00
Peter Fabian
132ced6039
Fixed test for 4.0.
2020-01-31 21:05:50 +01:00
Peter Fabian
331b953c0c
Harmonize aria-label with other labels.
2020-01-31 08:59:52 +01:00
Peter Fabian
e87cea8688
Merge pull request #25501 from woocommerce/fix/25487
...
[4.0] Increase Onboarding A/B Test to 50%
2020-01-31 08:54:14 +01:00
Joshua Flowers
236bae9b6a
Check for wc_admin_url function in onboarding redirect
2020-01-31 10:56:44 +08:00
Joshua Flowers
28af08a1cb
Move exit
2020-01-31 10:52:49 +08:00
Peter Fabian
248e69960b
Merge branch 'master' into update/order-detail-summary
2020-01-30 17:41:32 +01:00
Denis Dvali
9e25706467
Add query params as fallback for passing authentication data to WC Helper API.
2020-01-30 15:17:50 +03:00
Peter Fabian
7c07b192af
Changed country to country/region label.
2020-01-30 12:42:41 +01:00
Joshua Flowers
74917a1548
Use enable onboarding path instead of manually setting onboarding option
2020-01-30 12:52:05 +08:00
Christopher Allford
ceeba16014
Merge pull request #24919 from TimBHowe/fix/20921
...
Fix/20921 - Throw error for invalid character in flat rate cost.
2020-01-29 13:32:49 -08:00
Sergey Ratushnuy
c2f857a4d8
Fix duplicated custom fields after import products from .csv file
2020-01-29 13:09:27 +02:00
Christopher Allford
6ad091a9b7
Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages
2020-01-28 21:21:29 -08:00
TimBHowe
f488f46b37
remove the pattern constraint on the flatrate input in the setup wiz
2020-01-28 11:01:13 -05:00
TimBHowe
d377f002aa
Added pattern attribute to the flat rate cost input field to only allow US and EU currency formating
2020-01-28 10:44:37 -05:00
TimBHowe
8b71dc0abb
Updated the wc_setup_shipping_save() function to sanitize the flatrate cost input
2020-01-28 10:44:36 -05:00
David Levin
ee2c6b8096
Change net payment to net total
2020-01-27 21:10:11 -08:00
David Levin
3c92aacfcb
update shipping methods
2020-01-27 19:22:04 -08:00
Timmy Crawford
9bfc7db3fb
Remove wc-admin install nudge.
2020-01-27 09:24:46 -08:00
Timmy Crawford
081afa256c
Change a/b test size of new onboarding to 50 percent.
2020-01-27 09:01:27 -08:00
vedanshujain
d768fcb139
Apply rounding only if value is integer to display "-" when needed.
2020-01-23 17:36:49 +05:30
Rodrigo Primo
8489d1bd33
Merge branch 'master' into fix/25394
2020-01-16 16:35:43 -03:00