Commit Graph

4510 Commits

Author SHA1 Message Date
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
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
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