Rodrigo Primo
1d9ab63134
Revert "Punt to WC version 3.5.0"
...
This reverts commit ccf10f6ab2
.
2018-10-29 11:37:24 -03:00
Rodrigo Primo
f109008e0d
Revert "Update wc_customer_bought_product() and customers report to use post_author instead of _customer_user"
...
This reverts commit b97f2749d6
.
2018-10-29 11:15:22 -03:00
Ron Rennick
427d7df7fb
Introduce WC_Admin_Notices::is_ssl(), add SSL check to dashboard SSL notice
2018-10-29 11:10:09 -03:00
Kanishk
2c642f3880
Cleaned cache right after filters are added
2018-10-28 16:55:07 +05:30
Karolína Vyskočilová
6687633c92
fix PHP 7.2 travis build
2018-10-28 11:36:55 +01:00
Karolína Vyskočilová
1dec0264bc
custom settings on shipping section ( #13463 , #13461 )
2018-10-27 23:53:43 +02:00
Gerhard
86c15f24c1
Dont include the html tags in the translated string.
2018-10-26 13:33:40 +02:00
Gerhard
5285ea0dcc
Allow the strong tags to be used.
2018-10-26 13:29:56 +02:00
Gerhard
1af659e73b
comment_type should be review for the latest reviews dashboard widget.
2018-10-26 13:16:16 +02:00
Jeff Stieler
b9b9f191e9
Setup wizard: store shipping label opt-in in options table, use for “activate” step feature list.
2018-10-25 11:43:13 -04:00
Kanishk
9bd4a8957f
Purged plugin and theme cache so that the helper can detect locally installed plugins and themes
2018-10-25 15:27:04 +05:30
Emran Ahmed
5bceee62ad
Add extra filter param
...
Add `$attribute` to get more info about custom attribute types
2018-10-24 19:32:27 +06:00
Jeff Stieler
950f0c4688
Setup wizard: remove mention of live shipping rates from “activate” step.
2018-10-24 08:57:09 -04:00
Keith Light
f9cbcbece6
Amend `absint` to `esc_html` to allow for negative numbers in menu order
2018-10-23 20:51:14 +01:00
Reuven Karasik
a9afc72991
Updated html-variation-admin.php to comply with CS
...
Based on @ikraav 's proposals
2018-10-23 15:36:13 +03:00
Rodrigo Primo
8f04e09f26
Fix PHPCS violations automatically using phpcbf
2018-10-22 11:22:22 -03:00
claudiulodro
b49a9a5809
Tweaks to unsupported theme handling and hidden preview button handling
2018-10-19 10:49:58 -07:00
claudiulodro
ccdf6d0253
Simplified path check for CSV importer to cause less issues
2018-10-15 13:50:34 -07:00
Claudiu Lodromanean
df55670bf0
Merge pull request #21503 from woocommerce/fix/21497
...
Add support for sanitizing arrays used when saving order item data
2018-10-15 11:37:02 -07:00
Ron Rennick
1ea2d79dd6
Merge branch 'master' into issue_21515
2018-10-15 11:00:14 -03:00
Ron Rennick
ec44a36913
only include erasure tools link in erasure desc_tip when user has manage_privacy_options, escape the desc_tip
2018-10-12 21:49:05 -03:00
claudiulodro
87b81c94ae
Better way of doing it
2018-10-11 13:31:34 -07:00
claudiulodro
26b188569b
Add filter for disabling file path check
2018-10-11 13:31:27 -07:00
claudiulodro
acf8757636
Add path checking and fix bug
2018-10-11 13:31:27 -07:00
claudiulodro
7b19673dea
Extra file type checking
2018-10-11 13:31:27 -07:00
Reuven Karasik
86c4c56d44
Fixed version and removed $variation_data array
...
Fixed version and removed $variation_data array (since it's deprecated) from filter `woocommerce_variation_header`
2018-10-06 12:21:40 +03:00
claudiulodro
91d2411aa9
Use wc_check_utf8 function
2018-10-05 15:58:50 -04:00
claudiulodro
dfad1306de
Revert sanitization function used for order item data
2018-10-05 15:46:49 -04:00
claudiulodro
1716538617
Prevent duplicate actions from firing in shipping settings
2018-10-03 15:43:11 -04:00
Claudiu Lodromanean
c8bab001a9
Merge pull request #21410 from rnaby/fix/21395
...
Fix for issue #21395
2018-09-27 10:46:23 -07:00
Khan M Rashedun-Naby
f1f3eee195
discussion_r219948141 and discussion_r219949290 fix
2018-09-27 12:41:45 +06:00
Gerhard Potgieter
dd1d3b0c77
Make sure _stock is set and unslash value before using. Update PHPCS exclude rule to be more specific.
2018-09-27 08:02:12 +02:00
Gerhard Potgieter
9374e2e79a
PHPCS fixes
2018-09-26 12:43:04 +02:00
Gerhard Potgieter
0428ea4f1e
When quick edit saving stock, check for numeric value as empty returns true on 0 and you can set stock to 0.
2018-09-26 12:34:19 +02:00
Jeff Stieler
5fbbd38728
OBW: update to official ShipStation plugin slug.
2018-09-21 10:48:10 -06:00
Khan M Rashedun-Naby
f979b43b25
Fix for issue #21395
2018-09-21 14:36:04 +06:00
Reuven Karasik
37da7b6680
Added action 'woocommerce_variation_header' action
2018-09-13 12:17:51 +03:00
Claudiu Lodromanean
07351d5e11
Merge pull request #21288 from woocommerce/update/humanize-emails
...
Humanize emails
2018-09-12 07:51:07 -07:00
Claudiu Lodromanean
c60eb6a2f2
Merge pull request #21314 from woocommerce/add/20822
...
Add filter to control the restore refunded items chekbox default
2018-09-11 09:26:55 -07:00
Gerhard Potgieter
6ff90a1912
Cleaner code and correct apply_filters
2018-09-11 12:50:20 +02:00
Claudiu Lodromanean
ac24982e92
Merge pull request #21304 from woocommerce/fix/customer-list-query
...
Fix customer list query
2018-09-10 09:42:01 -07:00
Claudiu Lodromanean
f7028154a1
Merge pull request #21278 from woocommerce/fix/20989
...
Updated shipping class count and posts query to account for variations correctly.
2018-09-10 09:02:31 -07:00
Gerhard Potgieter
e3994348b3
Update checked functionality to use a filter, removed option from settings screen. Can use the woocommerce_restock_refunded_items filter to have the option checked or not, defaults to unchecked.
2018-09-10 11:31:24 +02:00
Ivete Tecedor
9b07180c7a
#20822 -- adding config for making the "restock refunded items" checkbox be UNchecked by default
2018-09-10 11:27:14 +02:00
Claudio Sanches
6d54a533ae
Fixed customer list query
2018-09-08 21:21:00 -03:00
Gerhard Potgieter
e2a83bb4e7
Update footer text to show on new line
2018-09-07 08:31:27 +02:00
Claudiu Lodromanean
5ee82ce9c0
Merge pull request #21270 from jessepearson/add/system-tools-action
...
Add action for when system tools are run
2018-09-06 13:17:09 -07:00
Jeff Stieler
1dc6a1c66d
OBW: fix PHPCS errors.
2018-09-06 09:13:58 -06:00
Jesse Pearson
fe7817163c
Moved action call
2018-09-05 07:34:52 -04:00
Peter Fabian
ab4630111b
Fixed posts query to include parent products if variations have the shipping class assigned.
2018-09-05 11:35:05 +02:00
Jesse Pearson
2faadce24f
Add action for when system tools are run
2018-09-04 09:33:16 -04:00
Jeff Stieler
412a3fb17f
OBW: render the product dimension and weight units selection inline in a sentence.
2018-08-30 15:36:08 -06:00
Jeff Stieler
b3532dc4de
OBW: hook up WCS / ShipStation install in shipping step save handler.
2018-08-30 15:36:08 -06:00
Jeff Stieler
c179f7c5c6
OBW: remove live rates method setup from shipping step save handler.
2018-08-30 15:36:08 -06:00
Jeff Stieler
fde57ab5d9
OBW: recommend either WCS or ShipStation (based on location) for label printing on shipping step.
2018-08-30 15:36:08 -06:00
Jeff Stieler
2a243915f1
OBW: remove now defunct WCS shipping carrier by country helper function.
2018-08-30 15:36:08 -06:00
Jeff Stieler
23e0174c19
OBW: add information about live rate extensions to shipping step.
...
This commit also refactors the script/style enqueueing in the wizard.
2018-08-30 15:36:08 -06:00
Jeff Stieler
934b6e1698
OBW: remove live rates from shipping step.
2018-08-30 15:35:16 -06:00
Hahn
6623db017b
#21229 Updated class attribute for shipping class meta box
2018-08-30 12:17:43 -06:00
Jeff Stieler
8a29945531
OBW: move Jetpack+WCS requirement description to plugin install info area at bottom of payment step.
2018-08-29 16:47:46 -06:00
Jeff Stieler
0028902eb2
OBW: change Stripe and PayPal account creation to opt-out and remove descriptions.
2018-08-29 16:44:47 -06:00
Peter Fabian
32d3ff76c5
Use simple quote.
2018-08-27 17:28:29 +02:00
Peter Fabian
058f14e7d3
Corrected wording of stock quantity description.
2018-08-27 17:20:46 +02:00
Gerhard Potgieter
679399b4b2
Humanize admin new order email
2018-08-23 09:04:24 +02:00
Claudiu Lodromanean
fe69a875e2
Merge pull request #20993 from woocommerce/fix/20959
...
Changed wc_clean to checking for valid utf8 for line items and password.
2018-08-22 10:12:48 -07:00
James Kemp
1ca1189f79
Add params to `woocommerce_variation_option_name` for admin variations
2018-08-22 11:49:17 +01:00
James Kemp
9fe201dd86
Add parameters to `woocommerce_variation_option_name` in admin view
2018-08-22 11:44:40 +01:00
Rodrigo Primo
b8354da6b1
Use refund currency when displaying refund amount
...
Use the refund currency when wc_price() is called to display the refund amount in the "Edit order" admin screen. Without this change, wc_price would use the store default currency which is a problem for stores that at some point changed their currency or stores using extensions which support multiple currencies.
2018-08-20 11:32:56 -03:00
Rodrigo Primo
aef5d3373c
phpcs fixes
2018-08-20 11:12:12 -03:00
Claudiu Lodromanean
7a0b15b9ec
Merge pull request #21072 from woocommerce/fix/21071
...
Hide activate step in wizard when you cannot install plugins
2018-08-16 12:55:41 -07:00
Gerhard Potgieter
1b98c1e22e
Hide activate step on wizard when the user does not have install_plugins capability, administrators on multisites cannot install plugins, only super admins are allowed.
2018-08-16 12:38:27 +02:00
David Marín
bc86676b7e
Update class-wc-meta-box-product-data.php
2018-08-16 09:28:48 +02:00
David Marín
6b3ef46f4e
Complete filter call
2018-08-16 09:28:03 +02:00
David Marín
97eddce025
Admin: New filter to customize variations count
...
Adding new filter to customize variations count, so internal-use variations can be hidden by plugins.
2018-08-16 08:37:25 +02:00
Peter Fabian
1c2f51ee86
Unslashed the SKU for variation.
2018-08-09 12:13:23 +02:00
Claudiu Lodromanean
11911aa2ea
Merge pull request #20870 from woocommerce/add/export-products-based-on-category
...
Add category filter to product export functionality.
2018-08-08 08:51:58 -07:00
Gerhard Potgieter
b9a28b7ec2
Allow for multiple category selections when exporting.
2018-08-07 16:58:39 +02:00
Peter Fabian
925002bc37
Changed wc_clean sanitization to checking for valid utf8 and the input is later sanitized by WordPress db layer.
...
It caused issues in 2 places: Order item name (product name) and user's password.
2018-08-06 20:49:27 +02:00
Rodrigo Primo
1274c61a7c
Hide "Stock status" field for grouped products
...
In the product admin page, the field "Stock status" should be hidden for grouped products as stock is controlled individually for each of the child products and setting a stock status in the parent product has no effect.
Fixes #20927
2018-08-01 10:30:21 -03:00
Rodrigo Primo
4f41f99cd2
phpcs fixes
2018-08-01 10:27:22 -03:00
Gerhard Potgieter
11832f937d
Use + instead of array_merge for appending to tax classes since it rewrites numeric keys which we allow in tax class names.
2018-07-27 11:18:16 +02:00
Gerhard Potgieter
75e462c448
Do not use array_merge for appending parent to tax classes rather +, array_merge will rewrite numeric keys which we allow for tax class names.
2018-07-27 11:16:28 +02:00
Gerhard Potgieter
20a6c40bdf
Merge pull request #20856 from woocommerce/fix/custom-menu-order
...
Allow custom menu ordering when set by another filter
2018-07-25 13:55:58 +02:00
Claudiu Lodromanean
87acfa731d
Merge pull request #20260 from leglesslizard/master
...
Set low stock notification threshold per product
2018-07-24 10:23:15 -07:00
Gerhard Potgieter
865f724187
Add category filter to product export functionality.
2018-07-23 11:59:01 +02:00
Alex Sanford
0e1ec203cd
Allow custom menu ordering when set by another filter
...
This fixes the case where another plugin sets custom menu ordering to be
true, but its filter runs before WooCommerce's filter. Otherwise
WooCommerce's filter will return false, and disallow the other plugin to
customize its menu items.
2018-07-19 17:39:41 -03:00
Keith Light
4144211754
Add class names to `edit_category_fields()` to be inline with other fields
...
Class names are added in `add_category_fields()` but not `edit_category_fields()`
2018-07-16 15:24:57 +01:00
Gerhard Potgieter
7fa802071e
Merge pull request #20490 from dezio1900/master
...
Allow items to be changed in wc_save_order_items function
2018-07-11 12:52:36 +02:00
Gerhard Potgieter
ac09473853
Escape sku input properly for quickedit
2018-07-10 10:56:49 +02:00
Claudiu Lodromanean
af98ef66e7
Merge pull request #20730 from woocommerce/fix/20716
...
Fix log file deletion
2018-07-09 11:35:45 -07:00
Claudiu Lodromanean
24a1ccf5fc
Merge pull request #20732 from woocommerce/update/20709
...
Outdated templates notice improvements
2018-07-09 11:27:46 -07:00
Gerhard Potgieter
56a9799e6d
Merge pull request #20654 from woocommerce/update/get-terms
...
Custom tables - remove get terms
2018-07-09 15:27:26 +02:00
Gerhard Potgieter
a4e3283b20
Update outdated templates notice
2018-07-09 15:10:49 +02:00
Gerhard Potgieter
1fdcf2a238
Fix log file deletion functionality.
2018-07-09 13:01:23 +02:00
Claudiu Lodromanean
9792f3399e
Merge pull request #20706 from woocommerce/fix/20705
...
Fixed Webhooks and REST API Keys list table and settings
2018-07-06 09:26:44 -07:00
Claudio Sanches
b044e4c46d
Fixed missing bulk action notices for REST API keys
2018-07-04 16:24:27 -03:00
Claudio Sanches
8f3af95004
Fixed revoke key bulk action
2018-07-04 16:09:04 -03:00
Claudio Sanches
44f081ac7e
Prevents save notice in keys table list
2018-07-04 16:07:17 -03:00
Claudio Sanches
1cf0c78beb
Prevents "Your settings have been saved." notices on the table list
2018-07-04 16:04:47 -03:00
Claudio Sanches
7e94f45f12
Custom search box
2018-07-04 15:43:31 -03:00
Claudio Sanches
3774a05077
Only use "post" in list table
2018-07-04 15:43:13 -03:00
Claudio Sanches
2a0a826be1
Fixed form parameters for webhooks and keys admin forms
...
Fixes #20705
2018-07-04 15:30:08 -03:00
Paul Dechov
adceaffaa2
OBW: Change name of PayPal Express Checkout gateway to match rebranding
2018-07-04 10:46:19 -04:00
Claudiu Lodromanean
7b56840f36
Merge pull request #20695 from woocommerce/fix/20684
...
Check if $_POST['store_state'] is set before using it
2018-07-03 11:11:16 -07:00
Claudiu Lodromanean
8cf0d9c2e8
Merge pull request #20687 from LiamMcArthur/patch-1
...
Disable autocomplete from report date inputs #20683
2018-07-03 10:52:37 -07:00
Claudiu Lodromanean
98b3b6305d
Merge pull request #20661 from woocommerce/fix/16620
...
Use view context so true is not returned if parent is stock managed and not the variation
2018-07-03 10:08:47 -07:00
Joey Gilham
58cdd7dad2
Merge branch 'master' into master
2018-07-03 15:41:15 +01:00
Rodrigo Primo
7cdcae5bff
Check if $_POST['store_state'] is set before using it
...
Fixes #20684
2018-07-03 09:48:35 -03:00
Rodrigo Primo
a106b324bf
Ignore specific PHPCS rules instead of all rules
2018-07-03 09:42:59 -03:00
Liam McArthur
0ddb61273c
Disable autocomplete from date inputs
...
Disabling autocomplete from these date inputs prevents browser autocomplete from overlaying datepicker.
2018-07-02 15:55:26 +01:00
Claudiu Lodromanean
5e1e8a36a5
Merge pull request #20650 from woocommerce/fix/20641
...
Hide preview button
2018-06-29 13:34:55 -07:00
Mike Jolley
b3b03755d7
update selector
2018-06-29 11:16:44 +01:00
Mike Jolley
4ac235a6e5
Use view context so true is not returned if parent is stock managed and not the variation.
2018-06-29 10:37:56 +01:00
Claudiu Lodromanean
920eb551a6
Merge pull request #20644 from woocommerce/update/dynamic-placeholders
...
Make placeholders resize based on aspect ratio settings
2018-06-28 12:01:28 -07:00
Mike Jolley
1852672761
Allow access to list table
2018-06-28 16:39:27 +01:00
Mike Jolley
46141595d4
Remove term usage
2018-06-28 16:39:07 +01:00
dezio1900
ac52ce4bad
Update wc-admin-functions.php
2018-06-28 16:31:03 +02:00
Mike Jolley
3174aff57f
Hide preview button
2018-06-28 14:59:04 +01:00
Mike Jolley
ff0e492a41
Setting
2018-06-27 18:38:36 +01:00
Claudiu Lodromanean
2a3cedddcd
Merge pull request #20520 from woocommerce/feature/product-custom-tables-supporting-changes
...
Product custom tables supporting changes
2018-06-27 08:57:50 -07:00
claudiulodro
9fa038e1ab
phpcs
2018-06-26 13:36:13 -07:00
claudiulodro
59356aa644
Make it easier to customize product filters
2018-06-26 13:31:57 -07:00
Claudiu Lodromanean
d0491072e8
Merge pull request #17895 from woocommerce/update/use-post-author-for-customer-id
...
Use post_author instead of the post meta '_customer_user'
2018-06-25 11:23:59 -07:00
GlennMartin1
fdbefd436a
fix typo
...
change: "Active" to "Activate"
2018-06-22 15:29:14 -04:00
Claudiu Lodromanean
4c998f06c4
Merge pull request #20550 from woocommerce/update/mailing-list-signup
...
Mailing list - update form action
2018-06-19 08:19:02 -07:00
Mike Jolley
f6519e3361
Merge pull request #20524 from woocommerce/add/wootenbergjitm
...
Wootenberg JITM
2018-06-19 15:20:16 +01:00
Joey
cd8416122f
removed low stock options for variations, and addressed changes
2018-06-19 12:40:27 +01:00
Mike Jolley
e0ccc64571
Merge pull request #20560 from shivapoudel/tweak/admin-bar-menu
...
Tweak - logged in user is also checked by is_admin_bar_showing
2018-06-19 10:58:42 +01:00
Rodrigo Primo
43d22a2349
Merge branch 'master' into update/use-post-author-for-customer-id
2018-06-18 15:17:19 -03:00
claudiulodro
1890ef788d
Persist wootenberg notice dismissal
2018-06-18 10:54:01 -07:00
claudiulodro
7148f8da2d
Install/activate the plugin from the notice
2018-06-18 10:42:52 -07:00
Shiva Poudel
dcc2e595f2
Tweak - logged in user is also checked by is_admin_bar_showing
2018-06-18 16:52:56 +05:45
Dan Wyman
f41b774dc2
Mailing list - update form action
...
Mailing list form now identifies itself to the mailing list server.
2018-06-15 14:27:43 -07:00
Rodrigo Primo
b6e73f528b
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-15 14:56:31 -03:00
Mike Jolley
5e6405b650
Merge branch 'master' into update/13359
2018-06-15 15:12:12 +01:00
Mike Jolley
04e304921a
Show stock based on querystring var
2018-06-15 15:11:07 +01:00
Mike Jolley
f633d9a0eb
Update remove item notice based on order status
2018-06-15 14:38:35 +01:00
Mike Jolley
a1bd9ab2ae
Input type number with correct width
2018-06-15 14:32:30 +01:00
Mike Jolley
4b1e08b9b9
Merge pull request #20445 from roshansameer/webhook-bulk-delete-bottom
...
Fix - on webhook bulk action footer delete selection
2018-06-14 17:00:57 +01:00
Roshan Sameer
384f54f951
Static call
2018-06-14 16:40:48 +05:45
claudiulodro
79551e9843
Wootenberg JITM
2018-06-13 11:36:36 -07:00
Mike Jolley
01a3e359c3
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-13 10:18:38 +01:00
Mike Jolley
cca7972d8f
Initialize payment gateways before running bulk actions
2018-06-12 13:14:09 +01:00
dezio1900
cb2980596c
Update wc-admin-functions.php
2018-06-11 20:56:40 +02:00
dezio1900
007fc6e0ca
Allow items to be changed in wc_save_order_items function
...
Allow other plugins to be able to change $item object, for example to adjust line subtotal/total before its saved.
My need for this change is because I have custom booking product item, and attached custom inputs for the item ( checkin / checkout dates etc ). So whenever those inputs are changed in order edit page and ajax save is triggered, I need to auto adjust booking item's line subtotal/total ( because of booking dates changed ) before item is saved.
2018-06-11 20:27:32 +02:00
Claudiu Lodromanean
c93a922876
Merge pull request #20486 from woocommerce/fix/20430
...
sanitize_special_column_name_regex trim
2018-06-11 10:28:41 -07:00
Mike Jolley
38be26e7a5
sanitize_special_column_name_regex trim
2018-06-11 14:55:36 +01:00
Rodrigo Primo
dd8bf8b522
Merge branch 'master' into update/use-post-author-for-customer-id
2018-06-11 10:44:14 -03:00
Mike Jolley
35db31db32
Add notice text, fix typos
2018-06-11 10:35:34 +01:00
Roshan Sameer
32b734a1c1
Implementation of current action check in list table
2018-06-11 15:05:13 +05:45
Claudiu Lodromanean
0c8b8e9dd7
Merge pull request #20429 from woocommerce/fix/add-nonce-to-update-url
...
Add nonces to WC update database and force update database URLs
2018-06-08 10:52:17 -07:00
Claudiu Lodromanean
327401e4ea
Merge pull request #20406 from unfulvio/20404-custom-webhook-topic-dropdown-bug
...
[#20404 ] Fix custom webhook topic selection in dropdown
2018-06-08 09:43:50 -07:00
Beka Rice
818c68fc83
Fix multisite dashboard widget to use proper order number
2018-06-08 11:59:27 -04:00
Mike Jolley
52854b7690
Add qty to order via modal, include stock qty in formatted name display for reference
2018-06-08 16:18:32 +01:00
Fulvio Notarstefano
468fb14c3c
[ #20404 ] Further indentation
2018-06-09 00:08:20 +09:00
Fulvio Notarstefano
38b1381fff
[ #20404 ] Code style standards
2018-06-09 00:07:20 +09:00
Mike Jolley
ce8eabc4a5
Include qty and reduce stock field on add item modal
2018-06-08 12:19:14 +01:00
Mike Jolley
6b8cd9661f
exclude new meta data from admin screens
2018-06-08 12:18:15 +01:00
Roshan Sameer
72c8e3b9cc
Fix - on webhook bulk action footer delete selection
2018-06-08 11:54:47 +05:45
Mike Jolley
8261cffaa7
Remove bulk actions
2018-06-07 18:01:21 +01:00
Claudiu Lodromanean
c8480b68f1
Merge pull request #20338 from Spreeuw/patch-5
...
apply bulk actions oldest to newest
2018-06-07 09:34:38 -07:00
Fulvio Notarstefano
e68aa7c027
[ #20404 ] Address code review feedback
2018-06-07 23:33:13 +09:00
Joey
98e44092e7
updating suggested changes
2018-06-07 14:37:06 +01:00
Rodrigo Primo
fc5aef8478
Add nonce to force update WC database URL
...
Doing this to check if the user has intention to perform a WC database update before starting the process.
2018-06-07 09:55:47 -03:00
Rodrigo Primo
467bd73ea9
phpcs fixes
2018-06-07 09:45:23 -03:00
Rodrigo Primo
a200686005
Add nonce to update WC database URL
...
Doing this to check if the user has intention to perform a WC database update before starting the process.
2018-06-07 09:45:18 -03:00
Rodrigo Primo
860e3e6d93
phpcs fixes
2018-06-07 08:57:57 -03:00
Mike Jolley
493060dcb6
Merge pull request #20424 from kravco/master
...
Fix: order billing fields do overwrite value, even if provided
2018-06-07 10:34:04 +01:00
Mike Jolley
86993a4f70
Merge branch 'master' into update/13624
2018-06-07 10:30:52 +01:00
Matej Kravjar
233ac4b313
order billing fields do not overwrite value, if provided
...
(overwriting introduced by 1fa36b5f15
)
2018-06-07 09:02:12 +02:00
Fulvio Notarstefano
264c83a166
[ #20404 ] Fix custom webhook topic selection in dropdown
2018-06-06 11:26:33 +09:00
Ewout Fernhout
5f57e3b524
add filter for bulk action IDs
2018-06-05 12:07:35 +02:00
Ewout Fernhout
2ab47706a7
apply bulk actions oldest to newest
2018-06-01 12:40:22 +02:00
Claudiu Lodromanean
a4b9346f66
Merge pull request #19969 from robertdevore/master
...
Add three new action hooks for admin shipping zone methods
2018-05-31 20:25:34 +01:00
Mike Jolley
25d025c01e
Show empty terms in admin dropdown
2018-05-31 11:24:23 +01:00
Robert DeVore
ecdf6c3be0
Removed two action hooks
2018-05-30 15:53:04 -04:00
Mike Jolley
814c62aaf2
merge master
2018-05-30 14:35:32 +01:00
Mike Jolley
e68e8e8273
Merge pull request #20244 from woocommerce/update/20025
...
Introduce is_paypal_supported_currency check in setup wizard
2018-05-30 14:07:34 +01:00
Mike Jolley
34e27fa930
Missed a json encode
2018-05-30 14:05:06 +01:00
Mike Jolley
2e56d79628
Merge pull request #20246 from boodaah/master
...
Add anchor tag example to email template preview
2018-05-30 14:03:30 +01:00
Mike Jolley
bcc1a350ce
Remove red styling for PHP notice if using > 5.6
2018-05-29 15:52:01 +01:00
Mike Jolley
5cfd2f0f7a
Merge pull request #20273 from woocommerce/fix/20268
...
Fix broken product import file uploads on windows
2018-05-29 15:27:40 +01:00
Mike Jolley
800701adb0
Pass varaible
2018-05-29 15:25:11 +01:00
Mike Jolley
b3023bec7d
Merge pull request #20289 from woocommerce/pr/20272
...
Pr/20272
2018-05-29 11:20:45 +01:00
Mike Jolley
9637ada4ee
Keep escape, pass link
2018-05-29 11:16:30 +01:00
Mike Jolley
daad19fc6c
Merge pull request #20256 from jamesckemp/patch-11
...
Echo attribute label for "empty" default option
2018-05-29 10:42:26 +01:00
Gerhard Potgieter
e3a37f81ee
Changes based on feedback, no need for sanitasion since wp_handle_upload alread checks
2018-05-29 07:37:25 +02:00
Remi Corson
b64182162e
remove wp_kses() and esc_html()
2018-05-28 12:29:26 +02:00
Gerhard Potgieter
4e40d79f84
Use wc_clean and not wp_unslash when cleaning the file path, strips out slashed on windows machines
2018-05-28 11:50:04 +02:00
Remi Corson
61b9461375
Add wp_kses() authorized tag
2018-05-28 11:44:05 +02:00
Remi Corson
4743dba7d0
Make sample tax rate URL clickable
2018-05-28 11:23:32 +02:00
Joey
e5800b66b0
updated low_stock_amount fields to use global value if no value is entered
2018-05-27 06:43:23 +01:00
Joey
d815f7bad5
updated import/export functions for low_stock_amount
2018-05-27 06:00:20 +01:00
Joey
b08b55a651
added changes for low stock notifications per product
2018-05-27 05:40:58 +01:00
Chris Montgomery
5c37551128
Fix infinite loop with importing tax rates ( #20253 ).
2018-05-26 22:42:37 +00:00
James Kemp
0eeb7834cd
Echo attribute label
2018-05-26 13:10:09 +01:00
James Kemp
1c99022600
Echo attribute label for "empty" default option
...
The empty option for the default attribute value selectors was not echoed.
2018-05-26 12:59:40 +01:00
boodaah
14f090f82e
Add anchor tag example to email template preview
2018-05-25 14:41:20 -04:00
Mike Jolley
e1ba7f4b93
Introduce is_paypal_supported_currency check in setup wizard
2018-05-25 17:28:56 +01:00
Mike Jolley
296de85c17
Merge pull request #20235 from woocommerce/fix/20224
...
add missing wp_unslash calls to product data meta box
2018-05-25 13:05:32 +01:00
Mike Jolley
40ac62eea9
Merge pull request #20236 from woocommerce/fix/20220
...
Fix webhook filtering URLs
2018-05-25 13:04:38 +01:00
Mike Jolley
58b9be29b9
Merge pull request #20191 from woocommerce/fix/20186
...
Product import from file on server
2018-05-25 12:29:27 +01:00
Mike Jolley
34949d3971
Fix webhook filtering URLs
2018-05-25 12:21:31 +01:00
Mike Jolley
81b65f1783
add missing wp_unslash calls to product data meta box
2018-05-25 12:15:59 +01:00
Gerhard Potgieter
5b1180d81a
Server files always need to be relative to ABSPATH, and use wc_clean as esc_url_raw will mess up file paths.
2018-05-25 12:57:01 +02:00
Mike Jolley
0bfd675238
Wrapper function to get full mysql version string with mariadb handling
2018-05-25 11:15:30 +01:00
Mike Jolley
54357733bd
Merge pull request #20202 from jamesckemp/patch-10
...
Allow HTML when using `wc_attribute_label()`
2018-05-24 20:45:45 +01:00
Tom Hopcraft
daf301e83c
[menu] - change title to capitalized to match wp core
2018-05-24 15:56:13 +01:00
James Kemp
16785b33ab
Do not escape HTML for attribute label
2018-05-24 15:29:53 +01:00
Gerhard Potgieter
b1739dd21d
Add functionality to handle import files hosted on server
2018-05-24 07:34:40 +02:00
Mike Jolley
03dfd9b262
Remove . from strings
2018-05-21 17:02:33 +01:00
Gerhard Potgieter
7302d21a55
Merge pull request #20094 from woocommerce/fix/20051
...
When cleaning up CSV import, only remove product taxonomies
2018-05-18 14:30:45 +01:00
Gerhard Potgieter
d3d36de567
Merge pull request #20091 from jconroy/status_table_row_fix
...
Fix incorrectly closed system status table row
2018-05-18 14:29:42 +01:00
Gerhard Potgieter
5141e69339
Merge pull request #20084 from woocommerce/fix/20044
...
Fix tooltip styling when outside label
2018-05-18 12:29:40 +01:00
Mike Jolley
c4e1f8cd76
When cleaning up CSV import, only remove product taxonomies
2018-05-16 08:57:37 +01:00
Jason Conroy
e8e438704b
Fix incorrectly closed table row
...
Introduced with 23b69eba53 (diff-1b33d607bfa554752b46fad3269637deR806)
2018-05-16 11:36:02 +10:00
Mike Jolley
d136926d0c
Fix tooltip styling when outside label
2018-05-15 15:59:49 +01:00
Mike Jolley
7ee933dd18
When duplicating variation, set the date to null
2018-05-15 15:37:17 +01:00
Khan M Rashedun-Naby
7d889b472a
Approach Cleaned
2018-05-13 23:40:07 +06:00
claudiulodro
2ee7c62499
Add default empty step class to html-csv-import-steps.php
2018-05-10 11:59:17 -07:00
Mike Jolley
1ff5520512
Pass through JSON context when getting zones for JSON responses and scripts
2018-05-09 17:41:33 +01:00
Rodrigo Primo
c49059ce7a
Merge branch 'master' into update/use-post-author-for-customer-id
2018-05-08 17:34:09 -03:00
Mike Jolley
8531b2677e
Update quick edit logic to handle external products
2018-05-08 16:58:51 +01:00
Rodrigo Primo
3644f8c220
Merge pull request #19992 from woocommerce/fix/phpcs-class-wc-report-customers
...
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:57:57 -03:00
Rodrigo Primo
b97f2749d6
Update wc_customer_bought_product() and customers report to use post_author instead of _customer_user
2018-05-07 17:25:58 -03:00
Rodrigo Primo
14287bdcf3
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:12:26 -03:00
Rodrigo Primo
c1dabf0196
Fix PHPCS violations in includes/admin/reports/class-wc-report-customers.php
2018-05-07 17:08:56 -03:00
Claudiu Lodromanean
9c8dbbedc2
Merge pull request #19988 from woocommerce/update/obw-recommended-stylized-checkboxes
...
OBW: stylized checkboxes in "Recommended" step
2018-05-07 11:45:08 -07:00
Robert DeVore
a3c4f42729
Updated tab spacing for action hook
2018-05-07 14:42:05 -04:00
Claudiu Lodromanean
bda8732c6f
Merge pull request #19974 from woocommerce/update/payment-method-columns
...
Updates table styling and columns
2018-05-07 11:23:49 -07:00
Paul Dechov
a611c1e329
Adjust recommended item to used stylized checkbox
2018-05-07 09:39:44 -04:00
Mike Jolley
cf9fa5b3ff
Updates table styling and columns
2018-05-04 18:48:41 +01:00
pierrebuet
3850f4f13a
Diverse typos
2018-05-04 16:57:01 +02:00
Robert DeVore
79b710cca1
📦 NEW: Three action hooks for admin shipping zone methods
2018-05-04 09:16:36 -04:00
Claudiu Lodromanean
594641c32f
Merge pull request #19952 from woocommerce/add/obw-plugin-install-info-message
...
OBW: List all plugins to be installed upon continuing to next step
2018-05-03 09:23:45 -07:00
Claudiu Lodromanean
4357feef98
Merge pull request #19957 from woocommerce/fix/blank-state-cta
...
Fixes blank state call to action styling
2018-05-03 08:26:59 -07:00
Mike Jolley
9069357a84
Fixes blank state call to action styling
2018-05-03 16:09:35 +01:00
Claudiu Lodromanean
9dfd62dd67
Merge pull request #19938 from woocommerce/fix/update-obw-payfast-repo-slug
...
Updating repo slug for PayFast in the onboarding wizard
2018-05-03 08:01:17 -07:00
Mike Jolley
2f8f30cd29
Make some strings easier to translate for translators
2018-05-03 14:50:39 +01:00
Paul Dechov
44cf10e8cc
Fix phpcs issues
2018-05-03 09:35:09 -04:00
Paul Dechov
099e4b9703
Refactor: move code around for more logical grouping
2018-05-03 04:45:01 -04:00
Paul Dechov
64a47cd7cd
Show WCS and Jetpack only if they are not aleady active
2018-05-02 23:49:58 -04:00
Paul Dechov
9cd72562a8
Update plugin list on shipping zone toggle
2018-05-02 23:35:42 -04:00
Paul Dechov
2cfbe0a1f0
Remove 'will be installed and activated' messaging in other places
2018-05-02 22:36:47 -04:00
Paul Dechov
bdf6188ed6
Change payment gateway names to plugin name
2018-05-02 17:28:09 -04:00
Paul Dechov
fb0943bb89
Show plugins to install in 'Recommended' step
2018-05-02 17:24:11 -04:00
Paul Dechov
801667324a
Show plugins to install in shipping step
2018-05-02 17:23:36 -04:00
Paul Dechov
57ad34451b
Add payment step service settings plugins to list
2018-05-02 17:00:29 -04:00
Paul Dechov
9b524d7d77
List payment step service plugins to install
2018-05-02 16:58:56 -04:00
Lauren Smith
80835e3aca
Updating repo slug for PayFast in the onboarding wizard
2018-05-02 15:38:16 -05:00
Claudio Sanches
a55ae32530
Merge pull request #19935 from woocommerce/update/19815
...
Hook doc update
2018-05-02 13:29:23 -03:00
Eitan Shaked
032ed8a3d4
Add new class to order note
2018-05-02 17:14:24 +03:00
Mike Jolley
06ef8c8589
Hook doc update
2018-05-02 14:28:53 +01:00
Mike Jolley
e807c6151f
Merge branch 'master' into update/erasure-requests
2018-05-02 14:06:47 +01:00
Claudiu Lodromanean
390288e283
Merge pull request #19914 from woocommerce/update/gdpr-log-audit
...
GDPR - log audit
2018-05-01 09:57:36 -07:00
Mike Jolley
d85dd36195
Use new methods and fix phpcs
2018-05-01 16:37:44 +01:00
Claudiu Lodromanean
78f454fea3
Merge pull request #19918 from woocommerce/update/query-reduction-tweaks
...
Query reduction tweaks
2018-05-01 08:37:25 -07:00
Mike Jolley
43f6a5114c
Typos and unused variables
2018-05-01 13:54:18 +01:00
Mike Jolley
f59acf1350
Merge branch 'master' into update/erasure-requests
2018-05-01 13:46:53 +01:00
Mike Jolley
4487463bb4
PHPCS
2018-05-01 13:00:49 +01:00
Mike Jolley
3c34394296
Set more defaults to reduce query count
2018-05-01 12:15:57 +01:00
Mike Jolley
9d23ebf4e3
This setting should be autoloaded as it's used in the catalog.
2018-05-01 11:56:22 +01:00
Mike Jolley
dbd7f2d2e4
Pass autoload when saving options
2018-05-01 11:54:20 +01:00
Norcross
a9cd0d9bd8
including `isset` check for nonce variable.
2018-04-30 11:55:03 -04:00
Mike Jolley
cdec3321ac
Broken log due to variable
2018-04-30 16:23:49 +01:00
Mike Jolley
6f6f15d22a
Link to erasure page
2018-04-30 15:41:38 +01:00
Mike Jolley
c765ce644d
Inactive account handling
2018-04-30 15:38:45 +01:00
Gerhard Potgieter
a48fababe2
Merge pull request #19842 from woocommerce/fix/19831
...
Extensions helper caching fixes
2018-04-30 14:18:40 +02:00
Claudiu Lodromanean
3b24aa9791
Merge pull request #19877 from woocommerce/fix/19863
...
Fix CSV import cleanup methods
2018-04-26 13:05:27 -07:00
claudiulodro
0b51ad006e
Spelling fix
2018-04-26 13:04:09 -07:00
Claudiu Lodromanean
88a13b02db
Merge pull request #19876 from woocommerce/fix/product-type-filter
...
Fix: product type filter should show selected product type
2018-04-26 11:56:04 -07:00
Claudiu Lodromanean
0bf2dfbca8
Merge pull request #19872 from woocommerce/update/email-restrictions-text
...
Updates email restrictions label so it's clear this is a whitelist
2018-04-26 11:49:54 -07:00
Mike Jolley
90c5cf67fa
Fixed data cleanup after failed import
2018-04-26 16:05:12 +01:00
Rodrigo Primo
49855b4676
Fix: product type filter should show selected product type
...
Since admin lists were refactored in 8f37ea33ed
, a bug was introduced that prevented the "Filter by product type" select box in the products list page in the admin from showing the selected product type when filtering by "Downloadable" products. Before marking this option as selected, the code was checking if `$wp_query->query['product_type']` is set. This check made sense before the refactor (see 8f37ea33ed (diff-a116210e8adc50b0853846ba935daaadL1544)
) but it doesn't make sense anymore. In the new method, `$wp_query` is not even used.
2018-04-26 10:02:44 -03:00
Mike Jolley
ef69c27f25
Updates email restrictions label so it's clear this is a whitelist
2018-04-26 12:58:08 +01:00
Mike Jolley
e6eaa4f83c
Fix colorpicker styling
2018-04-26 12:21:17 +01:00
Mike Jolley
e15a4f63a0
Update defaults so account creation is disabled until setup by admin
2018-04-26 11:50:15 +01:00
Mike Jolley
2f6d2b857b
Merge pull request #19833 from rnaby/240418-091920-wc-admin-log-table-list
...
Inverted the condition based returns.
2018-04-25 12:00:34 +01:00
Mike Jolley
30a8785ff4
Add up/down buttons
2018-04-24 19:26:17 +01:00
Mike Jolley
7be62795db
Add wp-util script and strings for localisation
2018-04-24 19:26:00 +01:00
Rodrigo Primo
597033ca6f
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-04-24 13:47:22 -03:00
Mike Jolley
c8005a8c00
Wording updates
2018-04-24 16:47:55 +01:00
Mike Jolley
f9c3ed14e4
Fix transient clearing
2018-04-24 15:44:30 +01:00
Mike Jolley
d6a6356d53
After activating a subscription, caches for updates must be purged
2018-04-24 15:43:52 +01:00
Gerhard Potgieter
07dcf77f6f
Deffer first tracker send to a cron instead of direct calling it.
2018-04-24 14:16:41 +02:00
Khan M Rashedun-Naby
845097f42a
Inverted the condition based returns.
2018-04-24 09:21:33 +06:00
GlennMartin1
da6000a633
Update class-wc-admin-help.php
2018-04-20 14:25:11 -04:00
GlennMartin1
ab929c5ae3
correct two links in Help tab
2018-04-20 14:20:39 -04:00
Mike Jolley
f71ffb5f5e
Added erasure code and moved into separate classes.
2018-04-20 16:47:58 +01:00
Claudio Sanches
00bc21135c
Fixed admin attributes page inline docs
2018-04-18 15:32:46 -03:00
claudiulodro
3547df00d9
Use min of 1 for number
2018-04-18 09:48:42 -07:00
claudiulodro
c15cb09700
Resolve merge conflicts
2018-04-18 09:46:15 -07:00
claudiulodro
754031ce6d
Add min to date number
2018-04-18 09:42:32 -07:00
claudiulodro
63972447cb
Fix nonexistent function calls
2018-04-18 09:40:23 -07:00
Beka Rice
7bd9cdacaa
Filter the used coupon URL in 'edit order' screen
2018-04-18 11:49:35 -04:00
Claudio Sanches
9679e7be1f
Merge pull request #19772 from woocommerce/update/notice-display
...
Only show notices on specific screens
2018-04-18 12:23:11 -03:00
Mike Jolley
d381330a91
Merge pull request #19705 from woocommerce/fix/19619
...
Handling of PHP's automatic array key conversion to int
2018-04-18 15:40:31 +01:00
Claudiu Lodromanean
48eb13d602
Merge pull request #19747 from woocommerce/update/19734
...
Add privacy policy to account pages
2018-04-18 07:26:06 -07:00
Peter Fabian
4538f3fa8f
Moved wc_selected to core functions.
2018-04-18 15:54:57 +02:00
GlennMartin1
256a4d96e2
grammar fix...
2018-04-18 09:11:32 -04:00
Mike Jolley
fc8e7be3ab
Only show notices on specific screens
2018-04-18 14:08:31 +01:00
Mike Jolley
e201b74832
Merge pull request #19756 from woocommerce/feature/19735
...
Notice about HTTPS as a requirement
2018-04-18 13:53:54 +01:00
Mike Jolley
5455e7049b
Update notice text
2018-04-18 13:52:59 +01:00
Mike Jolley
30ba25d535
Remove defaults
2018-04-18 11:24:07 +01:00
Mike Jolley
9dfb91835e
Merge branch 'master' into update/gdpr-order-cleanup
2018-04-18 11:21:43 +01:00
Mike Jolley
8a05930cba
Merge pull request #19761 from woocommerce/update/obw-save-locales-measurement-units-when-saving-address
...
OBW: Save locale-specific measurement units upon saving address
2018-04-18 11:09:48 +01:00
Mike Jolley
b05ac76303
Merge pull request #19762 from woocommerce/update/obw-store-state-control-in-store-setup-form-layout
...
OBW: Position State select between City and Zip inputs
2018-04-18 11:04:41 +01:00
Peter Fabian
b770e0baed
Used the selected function to take care of markup and simple case.
2018-04-18 09:57:19 +02:00
Paul Dechov
c1211e5f03
OBW: Move store State dropdown between City and Zip
2018-04-17 23:16:59 -04:00
Paul Dechov
8c8e18d25b
OBW: Save locale-specific measurement units upon saving address
2018-04-17 22:52:42 -04:00
Jeff Stieler
e2d6656124
OBW: show PayFast payment gateway to merchants in South Africa.
2018-04-17 17:45:43 -06:00
Claudiu Lodromanean
59d967c859
Merge pull request #19754 from woocommerce/add/obw-eway-payment-gateway
...
OBW: Show eWAY payment gateway to merchants in AUS/NZ.
2018-04-17 16:33:41 -07:00
Jeff Stieler
098115006e
OBW: prevent MailChimp from redirecting after activation.
2018-04-17 17:15:14 -06:00
Claudio Sanches
5dda3496fc
Display message once per user
2018-04-17 18:26:08 -03:00
Claudio Sanches
c4d099fe87
Included missing doc link
2018-04-17 18:10:36 -03:00
Jeff Stieler
baa2180221
OBW: Show eWAY payment gateway to merchants in AUS/NZ.
2018-04-17 15:05:34 -06:00
claudiulodro
6d8946048f
Add skip link to recommended step and make skip links darker
2018-04-17 13:55:23 -07:00
Claudio Sanches
b270bd2c5b
Fixed PHPCS violations
2018-04-17 17:44:11 -03:00
Claudio Sanches
8350f88f57
Introduced message about secure connection
2018-04-17 17:39:18 -03:00
Claudiu Lodromanean
624e8d5cb0
Merge pull request #19723 from woocommerce/update/extras-obw-tab
...
OBW: Replace Extras step with Recommended
2018-04-17 13:32:14 -07:00
claudiulodro
f9e45bea91
Bring up-to-date with master and resolve merge conflicts
2018-04-17 13:27:39 -07:00
Valerie
43ab4b25ae
OBW: Update Recommended step description
2018-04-17 13:51:49 -04:00
Valerie
551db8246e
OBW: Add MailChimp to recommended step
2018-04-17 13:51:49 -04:00
Valerie
c1e55cd6a5
OBW: Update automated taxes option
2018-04-17 13:51:48 -04:00
Valerie
452491d12d
OBW: Update Storefront description and style
2018-04-17 13:51:46 -04:00
Mike Jolley
6c5d4c7cda
Add privacy settings
2018-04-17 18:32:31 +01:00
Valerie
cadcd562d8
OBW: Rename Extras Step as Recommended
2018-04-17 13:14:27 -04:00
Claudiu Lodromanean
90dfbf0ccd
Merge pull request #19728 from woocommerce/fix/plugin-installer-non-slug-filenames
...
Setup wizard: Bug fix and support for non-slug filenames in plugin installer
2018-04-17 08:39:16 -07:00
Mike Jolley
fc05f8adb2
Merge pull request #19625 from danielbitzer/master
...
Set the order created_via property for orders created via admin area
2018-04-17 16:26:20 +01:00
Mike Jolley
bce3c7e94c
Disable anon for now
2018-04-17 15:33:40 +01:00
Mike Jolley
314d949d2c
Background process to cleanup
2018-04-17 15:21:03 +01:00
Rodrigo Primo
ccf10f6ab2
Punt to WC version 3.5.0
2018-04-17 11:12:46 -03:00
Peter Fabian
7861d7b95f
Changed usage of selected with in_array to wc_selected.
2018-04-17 13:24:39 +02:00
Mike Jolley
d8814f9381
tip alignment
2018-04-17 12:19:01 +01:00
Mike Jolley
27cf41bbf0
Added personal data cleanup settings
2018-04-17 11:45:24 +01:00
Peter Fabian
49529e0912
Added wc_selected function.
...
- Added unit test for the wc_selected function.
2018-04-17 12:13:46 +02:00
Mike Jolley
094fc1bf3a
Merge pull request #19703 from woocommerce/update/settings-tabs-for-privacy
...
Moved around settings tabs to allow for a privacy page
2018-04-16 16:45:19 +01:00
Mike Jolley
78f96fcd40
Hook mapping/bw compat
2018-04-16 14:27:03 +01:00
Paul Dechov
73884400f1
Remove unnecessary 'file' value for existing plugins
2018-04-16 07:21:04 -04:00
Paul Dechov
2b118c8ba8
Always check for active plugin in wizard before scheduling install
...
Check for active plugin independent of whether 'file' is present. Also omits directory from 'file' string and prepends [slug]/ to it.
2018-04-16 07:20:42 -04:00
Peter Fabian
93a0808887
Specified input parameters more precisely.
2018-04-13 16:35:14 +02:00
Peter Fabian
8cb1490d55
Added wc prefix to function name.
2018-04-13 16:29:16 +02:00
Peter Fabian
62f9b129dc
Converted all input values to selected to strings
...
Extracted conversions and compare logic to a separate function to improve readability.
2018-04-13 14:23:32 +02:00
Gabor Javorszky
d569920825
Cast coupon's $post->ID to int
2018-04-13 11:25:58 +01:00
Peter Fabian
0fc6d4e20c
Fix strict comparison for normal select, too.
2018-04-13 10:26:37 +02:00
Peter Fabian
e17e6d0b0f
Improved the comment
2018-04-12 19:34:49 +02:00
Mike Jolley
1b34cd4745
Moved settings tabs around to allow for privacy page.
2018-04-12 16:59:42 +01:00
Mike Jolley
7080989081
Move coupon settings to general settings
2018-04-12 11:13:15 +01:00
Mike Jolley
eb886c924e
Rename option tabs
2018-04-12 11:13:01 +01:00
Rodrigo Primo
36ca6ef901
Merge branch 'master' into update/use-post-author-for-customer-id
2018-04-11 15:19:58 -03:00