Commit Graph

5742 Commits

Author SHA1 Message Date
Mike Jolley 6027b355ca Further get_variation_prices tweaks
For 2.5, I’ve adjusted the caching to store 1 transient per variable
product. The cache key etc is still needed, but its stored within a
single transient instead of several.

This should prevent exponential growth of transient data for users.

Thoughts?

@daigo75 @franticpsyx @claudiosmweb
2015-10-09 12:49:39 +01:00
Mike Jolley 68cb6b11ee Removed welcome page
2.5 release doesn’t have enough user-facing features to justify a
full-blown welcome page, and translation credits are no longer
obtainable after translate.wordpress switch. Removed the page to keep
things streamlined.
@claudiosmweb @mattyza
2015-10-09 11:56:13 +01:00
Mike Jolley 919f19b698 Remove transifex references 2015-10-09 11:31:42 +01:00
Mike Jolley b913555d54 Change customer role caps
Fixes #9309. @claudiosmweb
2015-10-09 11:00:25 +01:00
Mike Jolley 4399a3b48a Allow wc_clean to support arrays
Closes #9329 @claudiosmweb
2015-10-09 10:41:51 +01:00
nishitlangaliya f468f16e29 fixes: changes as per suggestion given by claudiosmweb ref #8938 2015-10-09 13:25:47 +05:30
Shiva Poudel 3763c416a9 Docblock for related products 2015-10-09 07:38:15 +05:45
Claudio Sanches 59303a1709 Merge pull request #9308 from woothemes/api-tax-endpoint
[API] Tax endpoint
2015-10-08 18:49:43 -03:00
Claudio Sanches 15e79820aa [API] Better naming for returned data on the taxes endpoint 2015-10-08 18:49:05 -03:00
Claudio Sanches e84fa58e35 [API] Created taxes bulk method 2015-10-08 18:44:26 -03:00
Claudio Sanches 860d292f4f [API] Added method to edit tax rates 2015-10-08 18:34:47 -03:00
Claudio Sanches 1a3b5f3a6f [API] Fixed the tax_rate key 2015-10-08 18:01:38 -03:00
Claudio Sanches 3200a1dc0c Removed error_log() 2015-10-08 17:35:34 -03:00
Claudio Sanches 6d485a2fed [API] Created woocommerce_api_create_tax_rate_data filter 2015-10-08 17:35:00 -03:00
Claudio Sanches 52bdc2c3a5 [API] Changed returned data name from tax to tax_rate 2015-10-08 17:34:39 -03:00
Claudio Sanches 47c3ba9d21 Created WC_Tax::_get_tax_rate() method 2015-10-08 17:24:37 -03:00
Claudio Sanches 1cded0e1a3 [API] Added method to create tax rates 2015-10-08 17:15:00 -03:00
nishitlangaliya a45ef9f814 fixes: done changes using dom operation. ref #8938 2015-10-08 20:14:53 +05:30
Mike Jolley dda0f0c2bd Check for existence of global attribute when you get_attributes() for a product
Fixes #9141
2015-10-08 13:55:01 +01:00
Claudio Sanches befda55262 Removed test 2015-10-08 09:40:20 -03:00
Mike Jolley d5409f5b5e Merge conflicts 2015-10-08 13:28:25 +01:00
Mike Jolley 0197a99065 Merge branch 'issue/8587'
Conflicts:
	assets/css/admin.css
	assets/css/woocommerce.css
	includes/admin/class-wc-admin-assets.php
	includes/admin/settings/views/html-settings-tax.php
2015-10-08 13:26:52 +01:00
Mike Jolley 8ee479afd7 Remove unused input 2015-10-08 13:25:01 +01:00
Mike Jolley ac02ec290a Improved styling and wording 2015-10-08 13:18:00 +01:00
Mike Jolley 81b4d5535d Merge pull request #9315 from wtom/validate_postcode_de
german postcode validation
2015-10-08 11:56:34 +01:00
Shiva Poudel af7b603690 Added new woocommerce_sessions table in system status 2015-10-08 16:26:16 +05:45
wtom 7368377e8d german postcode validation 2015-10-08 12:20:57 +02:00
Claudio Sanches 1081c2cbe6 [API] Added method to create tax classes 2015-10-07 22:52:45 -03:00
Claudio Sanches d4c1c4cca4 [API] Added endpoint to get total of tax classes 2015-10-07 22:35:34 -03:00
Claudio Sanches ef00fe5b2f [API] Added method for delete tax classes 2015-10-07 22:27:42 -03:00
Claudio Sanches 6cd57e2611 [API] Added method to delete tax rates 2015-10-07 22:10:33 -03:00
Claudio Sanches 34ef764477 [API] Included standard rate in get tax classes response 2015-10-07 19:12:31 -03:00
Claudio Sanches 4f45b04722 [API] Added endpoint to get taxes count 2015-10-07 19:07:45 -03:00
Claudio Sanches 40b210a144 [API] Get taxes method 2015-10-07 19:00:36 -03:00
Claudio Sanches e3d57ab70c [API] Created method to get tax rate by ID 2015-10-07 17:44:04 -03:00
Claudio Sanches 16b9f22706 [API] Created method to return tax classes 2015-10-07 17:02:06 -03:00
Claudio Sanches 07836ae277 [API] Include taxes endpoint 2015-10-07 16:37:53 -03:00
Claudio Sanches 1168adf8af [API] Created initial WC_API_Taxes class 2015-10-07 11:42:25 -03:00
Claudio Sanches 1889c66061 Fixed coding standards 2015-10-07 10:58:13 -03:00
Mike Jolley b27635409c New Session Handler
This merges and adapts
https://github.com/kloon/woocommerce-large-sessions for core. Closes
#6846.

Differences:
- Rather than delete each cache key individually, this invalidates all
at once (idea from https://core.trac.wordpress.org/ticket/4476)
- Removes ‘replace’ which increments session_id keys unnecessarily.
- Fixes remove/restore cart sessions from making it dirty each page load

Kudos to @kloon for the bulk of the work and testing on Woo.com.

cc @claudiosmweb
2015-10-07 14:47:29 +01:00
Claudio Sanches 3f0cb4763a [CLI] Stop round product prices 2015-10-06 11:16:03 -03:00
Claudio Sanches 76ef4cdb50 xD 2015-10-06 11:12:32 -03:00
Claudio Sanches 5b0a5d15a8 [API] Stop round product prices, closes #9271 2015-10-06 11:12:23 -03:00
Mike Jolley 9c6d524c95 Missing close bracket 2015-10-06 15:08:17 +01:00
Claudio Sanches eef347a5ad Added textdomain to PayPal refund error message 2015-10-06 11:03:49 -03:00
Mike Jolley f1c6b3628a Pass mimes when checking file type
#9207
2015-10-06 15:01:41 +01:00
Mike Jolley abaa8f47d8 Moved refund hooks to avoid emails after API refund failure 2015-10-06 14:43:36 +01:00
Mike Jolley 54d5fc20ab Improve refund error messages for PayPal
Fixes #8945
2015-10-06 14:43:36 +01:00
Claudio Sanches 9169458590 Updated recent reviews url escaping 2015-10-06 10:35:33 -03:00
Claudio Sanches c53fe24c20 Removed our own language packs manager 2015-10-06 10:27:17 -03:00
Mike Jolley d2d1330898 Show order by template on product search
Fixes #9285
2015-10-06 14:10:01 +01:00
Mike Jolley 92b5e79add Merge pull request #9260 from Spreeuw/issue/8793
add $display_refunded parameter to get_formatted_order_total
2015-10-06 12:55:03 +01:00
Mike Jolley d028e65748 Merge pull request #9163 from nvartolomei/downloadable-products-permissions-cleanup
Remove downloadable permissions on permanent order deletion
2015-10-06 12:41:56 +01:00
Mike Jolley 277dbeb029 Merge branch 'WPprodigy-patch-2' 2015-10-06 12:33:55 +01:00
Mike Jolley 5ec400e514 Validate terms and conditions and improve templates 2015-10-06 12:33:45 +01:00
Mike Jolley 5bc7de0d91 Merge pull request #9290 from woothemes/issue/9166-reset-order-customer-id-on-user-delete
When a WordPress user is deleted, turn any orders they have into Guest orders.
2015-10-06 10:49:15 +01:00
Mike Jolley 1404f6a37e Merge remote-tracking branch 'origin/master' 2015-10-06 10:39:58 +01:00
Mike Jolley 6cef38902b Merge branch 'pr/9282' 2015-10-06 10:39:41 +01:00
Mike Jolley 2093c06637 Merge pull request #9286 from woothemes/issue/9284-fix-potential-fatal-for-earlier-init-plugins
Avoid potential PHP Fatals by avoiding premature script enqueues.
2015-10-06 10:31:58 +01:00
Shiva Poudel f6f7646cb6 Escape using esc_url instead of esc_attr for link 2015-10-06 10:40:11 +05:45
Claudio Sanches f2b3364fc9 Fixed coding standards 2015-10-05 20:31:05 -03:00
Claudio Sanches db6f51216e Improved coupons status display in admin table 2015-10-05 20:30:03 -03:00
roykho f97eb5606e add onboarding wizard button to the contextual help so it can be accessed again closes #9134 2015-10-05 15:26:59 -07:00
Jeff Stieler aa86069e56 When a WordPress user is deleted, turn any orders they have into Guest orders. 2015-10-05 14:38:20 -06:00
Jeff Stieler a34c0578fb Avoid potential PHP Fatals by avoiding premature script enqueues. 2015-10-05 12:12:19 -06:00
Mike Jolley 1f6260a880 Use tax settings in backend and default to base country
Closes #9186
2015-10-05 15:31:58 +01:00
Mike Jolley 1ec3cb0ef6 [2.4] Default value should not apply if value of option is 0
Fixes #9270 @claudiosmweb
2015-10-05 15:07:46 +01:00
Mike Jolley 84f83e0bf4 Fix return value @roykho 2015-10-05 14:39:08 +01:00
Mike Jolley 6975335941 Coupon description is escaped
@claudiosmweb Closes #9273
2015-10-05 14:30:02 +01:00
Mike Jolley 42d90594af Fix password with & saving
@claudiosmweb
2015-10-05 14:09:11 +01:00
Mike Jolley 5ad38f8b65 Tweak and link product permalink settings to WordPress settings
Fixes #8442
2015-10-05 12:15:35 +01:00
Serg 98523c8dd4 Add woocommerce_is_price_filter_active filter to Query class 2015-10-05 11:53:24 +03:00
Mike Jolley 4fd987c165 Merge pull request #9266 from woothemes/issues/9125-report-does-not-match-with-chart
[2.4] Fixed wrong gross sales calculation on sales by date report.
2015-10-05 09:17:59 +01:00
Mike Jolley a3f3148cd0 Merge pull request #9277 from jackgregory/product-categories-show-count
Fix Product Categories Widget dropdown show count arg
2015-10-05 09:11:18 +01:00
Shiva Poudel 178df9cec9 Remove duplicated 'thumb' for product custom columns 2015-10-05 13:41:29 +05:45
Jack Gregory 0e3c46dd3b Fix Product Categories Widget dropdown show count arg 2015-10-03 13:46:14 +01:00
Akeda Bagus dc0d5362cd Fixed wrong gross sales calculation on sales by date report.
The order amounts should exclude refunds.

Fixes #9125.
2015-10-02 11:08:41 +02:00
Mike Jolley a7228e8305 search variation skus
Fixes #7926
2015-10-02 10:52:27 +02:00
Mike Jolley 3d10a1f671 Merge pull request #9263 from roykho/image-flicker2
fix variation image flicker issue when default variations are set clo…
2015-10-02 10:44:18 +02:00
Mike Jolley 96103724dc Display 2 averages on report
Closes #9144
2015-10-02 10:42:48 +02:00
roykho 52ec35cab6 tweak to use product class function instead of body class function 2015-10-02 10:26:53 +02:00
Mike Jolley 246804f9dd Merge pull request #9264 from shivapoudel/register-script
Remove the duplicated variable jquery_version ;)
2015-10-02 10:13:05 +02:00
Mike Jolley 069a3defad [2.4] Handle method ids with colon
Fixes #9247
2015-10-02 10:10:18 +02:00
Mike Jolley 4747e097e2 [2.4] Fix notice in wc_nav_menu_items when endpoint is not set
Fixes #9216
2015-10-02 10:04:18 +02:00
Mike Jolley 786c87523f Improve product search and use WPDB instead of several get_posts queries
Fixes #9203 @claudiosmweb
2015-10-02 10:00:29 +02:00
Shiva Poudel 836ac8ae79 Remove the duplicated variable jquery_version ;) 2015-10-02 11:30:05 +05:45
roykho 5ba6ff1dac fix variation image flicker issue when default variations are set closes #7904 2015-10-02 03:45:11 +02:00
James Koster 2c00927c0b Remove the product loop title template
Provides consistency with the product category template. This template
was really too simple to require it’s own file. It can be plugged or
unhooked to edit.
2015-10-01 17:58:33 +01:00
Mike Jolley 2816260388 Merge pull request #8807 from franticpsyx/get_formatted_variation_attributes
get_formatted_name() produces cryptic output for variations
2015-10-01 18:54:46 +02:00
Mike Jolley e5575361f2 Merge pull request #9252 from shivapoudel/unused-global
Removed unused global variable
2015-10-01 18:50:03 +02:00
Mike Jolley 948ba904de Merge pull request #9244 from franticpsyx/template_override_check_path
[2.4] System Report: Template version check path incorrect
2015-10-01 18:48:55 +02:00
Manos Psychogyiopoulos 4fc018a88b stray error_log 2015-10-01 19:27:43 +03:00
Mike Jolley d4fbe0e45c Use SKU for stock order notes
Fixes #9133
2015-10-01 18:13:37 +02:00
Mike Jolley 19db1a6b4f Add notes for manual email send
Closes #8902
2015-10-01 17:39:32 +02:00
Claudio Sanches 3a536ac8b7 Sanitize shipping method label/title, closes #9159 2015-10-01 17:17:45 +02:00
Mike Jolley 7b751dc622 Clean post cache after variation update
Closes #9173
2015-10-01 16:48:41 +02:00
Claudio Sanches 033f8636a7 Merge pull request #9258 from krautnerds/fix-status-update-order-comment
Add username on marking order status
2015-10-01 16:34:55 +02:00
Claudio Sanches 522a7f4c04 :P 2015-10-01 16:30:14 +02:00
Claudio Sanches 7c05671188 Added new actions to make easy add custom fields for variations, closes #8827 2015-10-01 16:30:02 +02:00
James Koster 018bcc9d2d hook the product category links in, instead of hard coding into the template. #8575 2015-10-01 15:28:57 +01:00