Max Rice
3befe1426f
Introduce WC_Product::get_id() method
2015-12-04 15:17:25 -05:00
Claudio Sanches
92582e21cb
Properly sanitize textarea field for widgets #9762
2015-12-04 17:14:42 -02:00
Claudio Sanches
0f5c70e33f
Merge pull request #9762 from shivapoudel/widget-textarea
...
Added textarea widget form field
2015-12-04 17:14:12 -02:00
Claudio Sanches
11ce0fb18c
[API] Added endpoint to allow delete product attribute terms
2015-12-04 17:01:49 -02:00
Claudio Sanches
4d57d6f4db
[API] Added endpoint to allow edit product attribute terms
2015-12-04 16:53:17 -02:00
Claudio Sanches
20efee8cd4
[API] Added endpoint to create product attribute terms
2015-12-04 16:38:17 -02:00
Claudio Sanches
1d0d2258d0
[API] Created method to get a single product attribute term
2015-12-04 16:14:57 -02:00
Claudio Sanches
b530449774
[API] Created method to get product attribute terms
2015-12-04 16:02:31 -02:00
Claudio Sanches
a7cfcddd95
Created wc_attribute_taxonomy_name_by_id() function
2015-12-04 16:02:07 -02:00
Shiva Poudel
b3cd28e323
Added textarea widget form field
2015-12-04 21:23:19 +05:45
Mike Jolley
1c364e79e4
Enforce min and max
...
Closes #9761
2015-12-04 14:53:25 +00:00
Claudio Sanches
d01f1eea3c
Fixed webhook "Delete Permanently" link
...
cc @mikejolley
2015-12-04 12:41:35 -02:00
Claudio Sanches
805ac71cf3
Merge branch 'master' of github.com:woothemes/woocommerce
2015-12-04 12:39:22 -02:00
Claudio Sanches
fe9320ffa3
[2.4] Fixed webhook trash link by allowing post type ui, closes #9759
2015-12-04 12:39:12 -02:00
Mike Jolley
1b5af9e188
Output the wp.template instead of passing in
2015-12-04 14:28:32 +00:00
Mike Jolley
6cb11d5cc0
Use wc_get_template_html
2015-12-04 13:39:57 +00:00
Mike Jolley
2c023a2847
Pass the wp.template to the script and append so its added to the page once when needed
2015-12-04 13:26:44 +00:00
Mike Jolley
885dab8efc
wc_get_template_html - New helper to get the html from a template file
2015-12-04 13:26:24 +00:00
Mike Jolley
bcdce81606
Ping webhook delivery URL on save and show errors
...
Closes #9751 @claudiosmweb
2015-12-04 12:47:30 +00:00
Mike Jolley
9f53a2bf25
Merge pull request #9754 from pmgarman/add-virtual-filter
...
Allow WC_Product::is_virtual() to be filtered
2015-12-04 11:54:16 +00:00
Mike Jolley
948a8f5c47
Filters for loop add to cart
...
Closes #9753
2015-12-04 11:50:37 +00:00
Patrick Garman
eb3dc97df9
Add filter to WC_Product::is_virtual()
2015-12-03 20:52:27 -05:00
Claudio Sanches
54f714e184
[API] Introduces expand filter for orders
...
Show full products, taxes and coupons data.
Usage: ?filter[expand]=products,taxes,coupons
Closes #9551
cc @mikejolley
2015-12-03 19:05:37 -02:00
Job Thomas
a16de4d334
Edit/add campaign parameters to all links in the help tab (and change the medium from Wizard to Help)
2015-12-03 17:37:41 +02:00
Job Thomas
396d18a799
Editing campaign parameters Onboarding Wizard
2015-12-03 17:24:23 +02:00
Mike Jolley
60a7d034b1
Sample addon data
2015-12-03 14:04:36 +00:00
Mike Jolley
10490d640c
No notices
2015-12-03 13:42:58 +00:00
Mike Jolley
177892b9c3
Refactored the addons screens to use new json files
2015-12-03 13:38:13 +00:00
Mike Jolley
4cf699ed0a
Update coupon label
...
Closes #9748
2015-12-03 12:02:04 +00:00
Mike Jolley
2b96721550
Merge branch 'pr/9743'
2015-12-03 10:52:00 +00:00
Mike Jolley
ef98a2d79c
Compare type
2015-12-03 10:51:07 +00:00
Mike Jolley
12db1d4637
Notify users of no variations but leave status as is.
...
Closes #9713
2015-12-03 10:14:00 +00:00
Mike Jolley
8f951d449a
Only fade in image if variation has children
2015-12-03 09:58:37 +00:00
Mike Jolley
d585e65e5a
Use cache and invalidation for taxes
...
Closes #9712
2015-12-02 15:53:54 +00:00
Mike Jolley
2fce99759a
[2.4] Ensure numeric
2015-12-02 15:53:54 +00:00
Claudio Sanches
112f3bfc32
Merge pull request #9723 from shivapoudel/widget-field-class
...
Added support for class in each widget fields
2015-12-02 13:40:41 -02:00
Claudio Sanches
aa5e928dc1
Fixed coding standards, code blocks and properly escape WC_Embed methods
2015-12-02 11:04:12 -02:00
Claudio Sanches
37d7dcb396
Prevent erros when unregister shipping methods, closes #9740
2015-12-02 10:46:14 -02:00
Mike Jolley
37fb4d435a
Merge remote-tracking branch 'origin/master'
2015-12-02 12:42:17 +00:00
Mike Jolley
350078b779
Merge branch 'pr/9708'
2015-12-02 12:42:09 +00:00
Mike Jolley
5fccf41771
Only show rating if rated
2015-12-02 12:37:43 +00:00
Mike Jolley
20afa89528
Add to cart for simple products only
2015-12-02 12:36:56 +00:00
Mike Jolley
1842f8e3b5
Basic styles and buttons, including functional cart button
2015-12-02 12:29:47 +00:00
Mike Jolley
1300307d40
Use full short description rather than excerpt
2015-12-02 12:03:04 +00:00
Claudio Sanches
f954886635
[2.4] Fix SKU slash madness in quick edit #9721
2015-12-02 09:52:16 -02:00
Mike Jolley
869dee2726
No need for rating HTML as we have no styling
2015-12-02 11:50:41 +00:00
Mike Jolley
328a84d278
Floatval to get rid of stray decimals
2015-12-02 11:46:51 +00:00
Mike Jolley
4b87b0fbdc
[2.4] Fix SKU slash madness
...
Fixes #9721
2015-12-02 11:22:11 +00:00
Mike Jolley
520192e6a9
[2.4] Sanity check for min/max quantity
...
Fixes #9733
2015-12-02 10:44:41 +00:00
Shiva Poudel
2881587c44
Don't use key as default class
2015-12-02 15:47:57 +05:45
Claudio Sanches
2529bd2a4c
[API] Allow query endpoints with all status, closes #9738
2015-12-01 22:35:25 -02:00
Claudio Sanches
0b789ed216
[2.4] [API] Fixed early order status change
...
Closes #9672
2015-12-01 20:04:17 -02:00
Claudio Sanches
3e355ef538
[2.4] [API] Delete product parent transients
...
Closes #9595
2015-12-01 19:26:35 -02:00
Claudio Sanches
c68501f666
[2.4] [API] Fixed backorders edit for variations
...
closes #9618
2015-12-01 19:14:41 -02:00
Claudio Sanches
89d177a48b
[2.4] [API] Fixed status when have an invalid timestamp
...
Change status from 200 to 401
Closes #9737
2015-12-01 18:30:53 -02:00
Claudio Sanches
4aee3da335
Merge pull request #9731 from mitogh/master
...
Update conditionals in order to follow WP Standards
2015-12-01 16:36:59 -02:00
Claudio Sanches
497cde1a96
Merge pull request #9732 from WPprodigy/breadcrumbs-fix
...
Fix breadcrumbs for taxonomies
2015-12-01 16:05:33 -02:00
Job Thomas
e91b5362ed
Replacing support.woothemes.com by woothemes.com/my-account/tickets to decrease attention to support.woothemes.com and get people to the right place in one go
2015-12-01 17:46:03 +02:00
Caleb Burks
f53b9924c6
Fix breadcrumbs for taxonomies
2015-12-01 01:31:11 -06:00
mitogh
52a37b3a1f
Update conditionals to follow Yoda style
2015-11-30 22:18:58 -06:00
mitogh
44dabb9d73
Update conditionals to use:
...
- Yoda conditional style:
https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#yoda-conditions
- And use of strict comparisons
2015-11-30 22:02:00 -06:00
Patrick Rauland
56d06d868e
removing comments entirely & replacing with product rating - for product embeds
2015-11-30 15:58:23 -07:00
Patrick Rauland
e65d2a3376
removing unused get_product call in embed class
2015-11-30 14:37:01 -07:00
Patrick Rauland
d36828c38c
adding correct version numbers to embed class
2015-11-30 14:35:11 -07:00
Patrick Rauland
169dbb192c
removing methods preventing cloning or otherwise manipulating the class since the whole class is static
2015-11-30 14:33:18 -07:00
Mike Jolley
2e553cf220
Show order refunds in totals
...
Fixes #9589 @claudiosmweb
2015-11-30 15:25:48 +00:00
Mike Jolley
b5a2c2a9d5
Unify all order email tables to use a single template
...
Closes #9587
@claudiosmweb @jameskoster
2015-11-30 15:16:23 +00:00
Mike Jolley
fd9dac0f20
Revised get_cart_contents_weight and get_cart_contents_count
...
Closes #9656
2015-11-30 13:12:12 +00:00
Mike Jolley
3b409f1bbf
For coupons with category restrictions, respect the category hierarchy.
...
Closes #9704
2015-11-30 12:29:16 +00:00
Mike Jolley
7fef09dd87
Fix notice in flat rate
2015-11-30 12:15:49 +00:00
Mike Jolley
5f940f7877
Send status headers to prevent 404s on wc-ajax
...
Fixes #9703
2015-11-30 12:10:31 +00:00
Mike Jolley
77a54fdd68
Use ids for flat rate shipping class costs and handle bw compat
...
Closes #9715
2015-11-30 11:15:19 +00:00
Shiva Poudel
532c1f9474
Added support for class in each widget fields
2015-11-30 12:11:29 +05:45
Claudio Sanches
eeafb202aa
[API] Save variation description, closes #9663
2015-11-29 19:57:08 -02:00
roykho
887d37583c
Seperate variation description field from shipping div container
2015-11-28 07:20:47 -08:00
Lee Willis
adb4a7aa0b
Avoid fatal error due to duplicate params
2015-11-27 22:49:01 +00:00
Mike Jolley
35f9a89012
Fix attribute creation on import
...
Closes #9697
2015-11-27 14:28:20 +00:00
Mike Jolley
f408dcdabc
RAW escape return URLs in PayPal Standard
...
Tested with default and pretty permalinks. Fixes #9638
2015-11-27 14:00:14 +00:00
Mike Jolley
00f5317621
Merge pull request #9581 from shivapoudel/validation
...
Add Js Validation for price and dimension field in product quick edit…
2015-11-27 13:07:38 +00:00
Mike Jolley
be6d3c6627
Merge branch 'pr/9706'
2015-11-27 13:04:31 +00:00
Mike Jolley
d03020d7c6
escape and add to both notifications
2015-11-27 13:04:24 +00:00
Mike Jolley
73f763bb64
Merge branch 'pr/9680'
2015-11-27 13:02:06 +00:00
Mike Jolley
3d7a40e41f
spacing
2015-11-27 13:01:58 +00:00
Mike Jolley
75529edbe5
Merge branch 'pr/9628'
2015-11-27 13:00:39 +00:00
Mike Jolley
03d9239f40
Correct variable name
2015-11-27 13:00:08 +00:00
Mike Jolley
fd5dd4cfb7
h2 > h1
2015-11-27 12:27:27 +00:00
Mike Jolley
615c262f6f
Function exists for wp_get_attachment_image_srcset and sizes
...
Sizes #9714
2015-11-27 11:30:47 +00:00
Patrick Rauland
79f6ff347f
removing copy pasta
2015-11-25 17:24:48 -07:00
Patrick Rauland
8284bb3319
changing how WooCommerce products display when theyre embedded
2015-11-25 17:03:37 -07:00
David Anderson
febaeb8b63
Include link to order in PayPal refund email, for convenience
...
Includes a link to the relevant order in the PayPal refund email, so that the shop owner doesn't have to manually bring up the dashboard, search the for order, and click through.
2015-11-25 22:07:52 +00:00
Mike Jolley
f9756b29f1
WP_MEMORY_LIMIT defaults to 40MB, but only sets that value if more than system memory.
2015-11-25 18:53:20 +00:00
Mike Jolley
28dcb9ddbc
Tweak how sale and regular prices are handled
...
Prevents issue with PHP 5.6 and Suhosin sending NULL values. Fixes #9698
2015-11-25 18:40:49 +00:00
Claudio Sanches
5f46968f8c
Hide style attribute add_to_cart shortcode when is empty
...
closes #9694
2015-11-25 12:26:58 -02:00
Tiago Noronha
3fdec7f4a8
Init added variables if product doesnt have featured image.
2015-11-24 23:00:25 +00:00
Claudio Sanches
8c805eccf0
Merge pull request #9632 from woothemes/issue-9584/fix-price-ordering
...
Fix invalid orderby key name for orderby pricing closes #9584
2015-11-24 19:11:52 -02:00
roykho
aa7d583656
Fix lingering product gallery attachment ids when delete from media fixes #9681
2015-11-23 22:01:30 -08:00
Claudio Sanches
7945857b2e
Merge pull request #9684 from justinshreve/bulk-edit-price-product-types
...
Add filter to set which product types can have their "simple prices" updated by bulk edit
2015-11-23 17:59:23 -02:00
Mike Jolley
557ce96842
Merge pull request #9685 from tiagonoronha/9624-variation-image-srcset-sizes
...
[2.4] Adds support for srcset and sizes attributes in variation images. @claudiosmweb
2015-11-23 18:52:58 +00:00
Mike Jolley
4b47f98132
Merge pull request #9682 from iamtakashi/twentysixteen
...
[2.4] Edit for Twnety Sixteen
2015-11-23 18:50:45 +00:00
Mike Jolley
8684ea0543
Merge pull request #9667 from krautnerds/fix-variation-modified-date
...
Bump modified date of variations on update
2015-11-23 18:48:33 +00:00
Mike Jolley
7b5bd7d4b8
Merge pull request #9669 from ymazuz/email-from-filters
...
Add filters for From name/address to WC_Email (#9653 )
2015-11-23 18:47:52 +00:00
Tiago Noronha
105105db06
Adds support for srcset and sizes attributes in variation images.
2015-11-23 16:35:11 +00:00
Justin Shreve
aa04a9dffb
Add a filter to set which products can have their "simple prices" updated by the bulk edit code.
2015-11-23 07:47:41 -08:00
Takashi Irie
d88ba80f84
Edits for Twnety Sixteen
2015-11-23 11:55:50 +00:00
Mauro Mascia
5a95bcf185
Check if the endpoints array key is set and not empty.
...
For some reasons in a client's website, I've found that "order-pay" is set but is empty (even if in the backoffice the variable is written in the endpoint's form). So, it is better to check with !empty, doesn't it?
2015-11-22 20:00:59 +01:00
Claudio Sanches
753014da5a
Merge pull request #9631 from woothemes/transient-tweaks
...
Transient tweaks
2015-11-21 22:48:14 -02:00
Yoni Mazuz
9e5098627c
Fix woocommerce_email_from_* filtering
...
- apply filters before sanitizing
- send entire $this as argument so hooked functions can access any properties of the WC_Email (subclass) instance
2015-11-20 13:00:37 -05:00
Florian Ludwig
1d87c0c827
Bugfix: Used wrong date format for database
2015-11-20 18:09:47 +01:00
Florian Ludwig
787ebb0ef5
Bugfix: use "post_modified" instead of "post_date"; Moved modified_date update to woocommerce_update_product_variation code path
...
We should only set „post_modified“ if we are updating the variation
2015-11-20 18:00:10 +01:00
Claudio Sanches
d941d5e325
Improved add_query_arg() use in WC_Admin_Addons::output_storefront_button()
2015-11-20 13:27:52 -02:00
Florian Ludwig
477da091db
Bump modified date of variation on update
2015-11-20 16:26:33 +01:00
Claudio Sanches
784975bc31
Merge pull request #9649 from woothemes/contextual-storefront-button
...
Makes the "Try Storefront" button more contextual
2015-11-20 13:23:10 -02:00
Matty
2b601167f5
Removes unnecessary passing of when calling the output_storefront_button() method.
2015-11-20 09:33:51 +02:00
Yoni Mazuz
afb19228a9
Add filters for From name/address to WC_Email ( #9653 )
...
- add woocommerce_email_from_name filter that accepts name, email ID,
and object
- add woocommerce_email_from_name filter that accepts name, email ID,
and object
- these allow return address info to be set conditionally, unlike
wp_mail_from and wp_mail_from_name, which don’t pass any context to
hooked functions
2015-11-19 14:37:50 -05:00
Illimar Tambek
d91dfb6fe6
Introduce woocommerce_recorded_sales action hook
2015-11-19 18:07:04 +02:00
Matty
5a0a8ef2f2
Adds Google campaign tags for tracking the various states of the 'Try Storefront' button.
2015-11-19 16:44:04 +02:00
Matty
94da31ef01
Adjusts the default 'Try Storefront' button to direct to the Storefront listing on WooThemes.com, even if Storefront and a child theme are in use.
2015-11-19 14:35:20 +02:00
Matty
4fc1023d0a
Adjusts the 'try Storefront' button on the 'Addons' screen to be more contextual, depending on the current theme/child theme combination activated.
2015-11-19 14:27:34 +02:00
roykho
9078e30ea4
Fix acronym zip to be all capitals fixes #9641
2015-11-18 15:32:23 -08:00
roykho
c7aed861cd
Fix invalid orderby key name for orderby pricing closes #9584
2015-11-17 07:59:53 -08:00
Mike Jolley
4595befb76
Pass product type with variation bulk edit
...
Closes #9570
2015-11-17 15:25:48 +00:00
Claudio Sanches
caa69304c9
Merge pull request #9626 from mitogh/master
...
Remove unnecessary lines of code and update code style for conditionals.
2015-11-17 12:33:22 -02:00
Mehdi Esmaeili
101c7f47e1
Better Documentation: Put throws tag
2015-11-17 16:21:42 +03:30
Dominic
5ef59c511b
Optimize filter loop
...
The current method loops through every defined hook in the WordPress
environment (over 400 on one of my tests). This method only checks the 3
filters in question.
2015-11-17 00:27:44 -08:00
mitogh
fb7de12235
Remove unnecessary use of ternary operator.
...
Since the operations are going to return the same values of true or
false after the evaluation of each statment it's easier just returing
the result of evaluation of those statements.
2015-11-17 00:08:06 -06:00
mitogh
85ea9c27ae
Update conditionals to follow the Yoda conditional style
2015-11-17 00:04:59 -06:00
mitogh
e8de40f6b0
Remove empty blank spaces
2015-11-17 00:04:48 -06:00
Mike Jolley
aeb48e35a7
[2.4] Removes Switzerland from VAT definition
...
Confirmed outside of EU and not applicable to things such as EU VAT
@hussong
2015-11-16 16:00:51 +00:00
Mike Jolley
e94c2b86ca
Remove shipping/tax estimation notice and show in context when needed.
...
Avoids needing complex logic for something which could easily be typed
onto the page by store owner if needed.
Also adjusts line height and padding in cart collaterals
Closes #9578
2015-11-16 15:59:47 +00:00
Mike Jolley
1a59d14868
Point to correct element and make trigger manual
...
Closes #9609
2015-11-16 14:21:53 +00:00
Claudio Sanches
a62ea22d9c
[2.4] Fix auth endpoint urls, closes #9614
2015-11-16 10:01:20 -02:00
Mehdi Esmaeili
588ff1029a
Remove duplicate array key
2015-11-15 02:42:47 +03:30
Claudio Sanches
d931405156
Fixed the type returned when get_stock_quantity() is empty
...
Since expect return an integer value, we can't return an empty string.
This can generate some kinds of errors like:
'' >= 1 returns false
'' >= -1 returns true
This can be a problem comparing stock quantity like we do in
WC_Product::has_enough_stock()
But using null we have:
null >= 1 returns false
null >= -1 returns false
cc @mikejolley
ref #9598
2015-11-14 15:53:36 -02:00
Mike Jolley
b59ec6de76
Move var definition to abstract
2015-11-14 16:39:53 +00:00
Mike Jolley
3a096b3b64
Remove transient from get_total_stock and combine into abstract
...
Grouped and variable methods were identical. Caching benefit comes from
get_children
2015-11-14 16:34:47 +00:00
Mike Jolley
6892d73ea9
Store product ids for terms in term meta rather than transient
...
Data is kept in sync by looking at when terms are set for an object and
then clearing the meta for old and new terms.
2015-11-14 16:25:09 +00:00
Mike Jolley
28b02fd3dd
Clean up woocommerce_products_will_display
2015-11-14 15:44:15 +00:00
Mike Jolley
7b45525dc5
Clear coupon cache on save
2015-11-13 23:15:29 +00:00
Mike Jolley
b474dcb879
Use WC_Cache_Helper for session class prefixes
2015-11-13 23:12:44 +00:00
Mike Jolley
851fc2a442
Use get_cache_prefix in orders class
2015-11-13 23:11:05 +00:00
Mike Jolley
e6859dc0f4
Change get_coupon_id_from_code to use wp_cache instead of transient
...
Persistent caching is more relevant here. Smaller stores won’t see much
gain from using the transient.
This commit also removes the woocommerce_coupon_code_query filter due
to limitations of it being within a prepare() call. Checked github and
no plugins appear to use this filter so should have minimal impact.
woocommerce_get_coupon_id_from_code filter added in place.
2015-11-13 23:09:35 +00:00
Mike Jolley
78ec168429
Use transient name directly
2015-11-13 23:06:51 +00:00
Mike Jolley
9ba5b7ee26
Add helpers to get and increment cache prefixes
...
Allows wp_cache to be invalidated with 1 call
2015-11-13 23:06:38 +00:00
Mike Jolley
bc6fedd000
Space missing
2015-11-13 21:20:30 +00:00
Mike Jolley
3082c5bba6
wc_related_ and get_related method tweaks
...
Remove use of multiple expiring transients. See function docblock for
explanation.
2015-11-13 21:14:42 +00:00
Mike Jolley
18e98d8b20
Store shipping rates in session
...
Rather than use a session which is independent of customer sessions,
store the rates in the session itself to avoid multiple transients.
2015-11-13 20:53:44 +00:00
Mike Jolley
3ceed757bd
Store rating and reviews in postmeta rather than transients
...
These don’t change often, and as long as we listen for comment count
update events will be kept in sync.
2015-11-13 20:41:20 +00:00
Mike Jolley
70d9f58811
Version not needed for wc_var_prices
...
This transient doesn’t need to expire often because the hashes will be
unique if taxes change.
This change means a variable product will only use 1 transient rather
than many.
2015-11-13 20:01:42 +00:00
roykho
e5ca21f1e3
Change to WP convenience function
2015-11-12 13:19:57 -08:00
roykho
5cd3150c94
Fix order item name escaping apostrophe closes #9583
2015-11-12 08:04:21 -08:00
Claudio Sanches
bb24369119
Merge pull request #9582 from shivapoudel/currency-symbol
...
Fixed rupee sign for currency in product data sale and regular price
2015-11-12 10:23:00 -02:00
Shiva Poudel
7934d6fd29
Add Js Validation for price and dimension field in product quick edit panel
2015-11-12 04:50:57 +05:45
Shiva Poudel
853530cece
Fixed rupee sign for currency in product data sale and regular price
2015-11-12 03:00:54 +05:45
Fredrik Forsmo
3440985a8a
Check so `product_base` exists before using it
...
`product_base` index in `$permalinks` array in `prepend_shop_page` method don't always exists for a new WooCommerce site, doing a isset check before will solve `Notice: Undefined index: product_base` error.
2015-11-11 19:44:23 +01:00
Claudio Sanches
84ac454c3e
Fixed settings messages location in WP 4.4, closes #9575
2015-11-11 12:18:31 -02:00
Claudio Sanches
555ef9abdf
Merge pull request #9573 from shivapoudel/shipping-class-fix
...
Shipping class fix
2015-11-11 11:30:07 -02:00
Shiva Poudel
3a52125b93
Updated admin menu docblock version
2015-11-11 18:29:00 +05:45
Shiva Poudel
c0c587103c
Fix - Shipping classes menu highlight, Closes #9538
2015-11-11 15:12:31 +05:45
Shiva Poudel
d92dcfaba0
Fix - Shipping classes admin page access, #9538
2015-11-11 15:07:43 +05:45
Claudio Sanches
57feb4ba9b
[API] Added woocommerce_api_uploaded_image_from_url action, closes #9568
2015-11-10 22:59:17 -02:00
Claudio Sanches
357254f928
Merge pull request #9567 from shivapoudel/rupee-sign
...
Rs. currency symbol can use rupee sign html entity
2015-11-10 22:50:34 -02:00
Claudio Sanches
e1bb5830c8
Merge pull request #9569 from shivapoudel/param
...
Tweak missing fallback param in geolocate_ip
2015-11-10 22:47:09 -02:00
Shiva Poudel
70496e5864
Tweak missing fallback param in geolocate_ip
2015-11-11 06:19:01 +05:45
Claudio Sanches
ebfe703d62
Merge pull request #9564 from shivapoudel/unused
...
Remove unused variable declaration
2015-11-10 19:16:50 -02:00
Shiva Poudel
6a268f003f
Rs. currency symbol can use rupee sign html entity
...
@see http://www.w3schools.com/charsets/ref_utf_currency.asp
2015-11-11 01:12:48 +05:45
Maxwell Morgan
da6eeebf81
Update class-wc-countries.php
...
Typo on ether -> either
2015-11-10 11:51:26 -05:00
Claudio Sanches
976f83c5be
Merge pull request #9555 from shivapoudel/minor-change
...
Improve docblock and coding standard
2015-11-10 12:49:15 -02:00
Shiva Poudel
d31859ab6c
Remove unused variable declaration
2015-11-10 16:53:45 +05:45
Shiva Poudel
f45d367d9f
Tweak docblocks in GeoIP class
2015-11-10 16:30:36 +05:45
Shiva Poudel
47489fb800
Use of single quotes
2015-11-10 16:10:19 +05:45
Ibrahim
e2903ef450
Added rupee symbol for INR
...
The rupee symbol (http://www.fileformat.info/info/unicode/char/20b9/index.htm ) has been adopted since 2010
2015-11-10 13:26:18 +05:30
Shiva Poudel
33ad23f371
Improve help tip docblock and remove space
2015-11-10 07:13:53 +05:45
Claudio Sanches
9a926aef4f
Updated wc_checkout_is_https() docblock
2015-11-09 23:08:10 -02:00
Claudio Sanches
c471a47910
Improved WC_Geo_IP logger
...
Removed not useful "GeoIP API: fseek failed" log messages
2015-11-09 22:58:22 -02:00
Claudio Sanches
1512d448c1
Removed name param from SimplifyCommerce.generateToken
2015-11-09 22:49:53 -02:00
Claudio Sanches
3959d4fe3e
Merge pull request #9553 from woothemes/issue/simplify-commerce-address-fields
...
Fix - address fields were not properly being passed to Simplify via t…
2015-11-09 22:43:11 -02:00
roykho
84436f4a11
Fix hosted payments address fields were not passing to simplify
2015-11-09 16:37:55 -08:00
Claudio Sanches
770f6793fc
Check if WC_Logger exists before try to use in WC_Geo_IP class
2015-11-09 22:08:22 -02:00
Claudio Sanches
98abbf0184
Fixed fseek check in WC_Geo_IP class
2015-11-09 22:03:22 -02:00
roykho
b49b0b0133
Fix - address fields were not properly being passed to Simplify via token
2015-11-09 15:36:52 -08:00
David Anderson
b022769c2a
Prevent PHP notice
...
Prevents this PHP notice (on my localhost/testing setup):
PHP Notice: Undefined offset: -16776960 in wp
-content/plugins/woocommerce/includes/class-wc-geo-ip.php on line 1608
Note that the geoip_country_code_by_addr() method, a few lines further down, already makes a similar check to this one which is being added for IPv6.
2015-11-09 12:17:55 +00:00
Claudio Sanches
89de396709
[2.4] Allow bulk edit sale_prices as 0
2015-11-06 14:42:51 -02:00
Nicola Mustone
c9da4f928a
check if ABSPATH is defined
2015-11-06 10:22:19 +01:00
Claudio Sanches
9adb04d612
[CLI] Created command to update tax rate
2015-11-06 02:50:07 -02:00
Claudio Sanches
394342c287
[API] Fixed action and removed transient functions from taxes PUT endpoint
2015-11-06 02:44:02 -02:00
Claudio Sanches
74d1492fe7
[CLI] Created command to get tax rate
2015-11-06 02:31:58 -02:00
Claudio Sanches
1b54117a8b
[API] Created commands to delete tax rates and tax classes and fixed the list_class command name
2015-11-06 02:19:47 -02:00
Claudio Sanches
18cf62ed66
[API] Created commands to create tax rates and tax classes
2015-11-06 01:58:08 -02:00
Claudio Sanches
647a2e7498
[API] Created commands to list tax rates and tax classes
2015-11-06 01:37:57 -02:00
Claudio Sanches
ef7046ea76
[CLI] Created initial tax command class
2015-11-06 00:23:46 -02:00
Claudio Sanches
af89582251
Merge pull request #9526 from shivapoudel/nepal-data
...
Update Nepali Districts with Zones
2015-11-05 19:42:40 -02:00
Mike Jolley
d0b7335e33
Merge pull request #9528 from shivapoudel/typo
...
Typo fix in tools for uninstall
2015-11-05 19:10:47 +00:00
Shiva Poudel
592c7aee02
Typo fix in tools for uninstall
2015-11-06 00:10:14 +05:45
Shiva Poudel
8300192bf7
Zone and postal code updated
2015-11-05 23:25:30 +05:45
Shiva Poudel
a1550fab77
Updated Nepal local settings
2015-11-05 23:06:15 +05:45
Scrutinizer Auto-Fixer
08efaf84df
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-11-05 16:05:03 +00:00
Mike Jolley
4f0cc137cc
Enable SQL_BIG_SELECTS in reports
...
@claudiosmweb
2015-11-05 15:45:19 +00:00
Mike Jolley
4e5baf23aa
Cache get_item_meta_array for better performance
...
Closes #8810 @claudiosmweb
2015-11-05 15:21:28 +00:00
Mike Jolley
cb0e61bd4e
Set prefix_num first time
2015-11-05 15:21:06 +00:00
Mike Jolley
5e62143767
Update tools text Closes #9512
2015-11-05 14:44:05 +00:00
James Collins
45972cf92b
Fix duplicate key errors during db upgrade/install
...
Running phpunit tests currently outputs the following errors/warnings:
WordPress database error Duplicate key name 'session_id' for query ALTER TABLE wptests_woocommerce_sessions ADD UNIQUE KEY session_id (session_id) made by PHPUnit_TextUI_Command::main, PHPUnit_TextUI_Command->run, PHPUnit_TextUI_Command->handleArguments, PHPUnit_TextUI_Command->handleBootstrap, PHPUnit_Util_Fileloader::checkAndLoad, PHPUnit_Util_Fileloader::load, include_once('/srv/www/woocommerce/htdocs/wp-content/plugins/woocommerce/tests/bootstrap.php'), WC_Unit_Tests_Bootstrap::instance, WC_Unit_Tests_Bootstrap->__construct, require_once('/srv/www/wordpress-develop/tests/phpunit/includes/bootstrap.php'), require_once('wp-settings.php'), do_action('setup_theme'), call_user_func_array, WC_Unit_Tests_Bootstrap->install_wc, WC_Install::install, WC_Install::create_tables, dbDelta
WordPress database error Multiple primary key defined for query ALTER TABLE wptests_woocommerce_sessions ADD PRIMARY KEY session_key (session_key) made by PHPUnit_TextUI_Command::main, PHPUnit_TextUI_Command->run, PHPUnit_TextUI_Command->handleArguments, PHPUnit_TextUI_Command->handleBootstrap, PHPUnit_Util_Fileloader::checkAndLoad, PHPUnit_Util_Fileloader::load, include_once('/srv/www/woocommerce/htdocs/wp-content/plugins/woocommerce/tests/bootstrap.php'), WC_Unit_Tests_Bootstrap::instance, WC_Unit_Tests_Bootstrap->__construct, require_once('/srv/www/wordpress-develop/tests/phpunit/includes/bootstrap.php'), require_once('wp-settings.php'), do_action('setup_theme'), call_user_func_array, WC_Unit_Tests_Bootstrap->install_wc, WC_Install::install, WC_Install::create_tables, dbDelta
WordPress database error Duplicate key name 'session_id' for query ALTER TABLE wptests_woocommerce_sessions ADD UNIQUE KEY session_id (session_id) made by PHPUnit_TextUI_Command::main, PHPUnit_TextUI_Command->run, PHPUnit_TextUI_TestRunner->doRun, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestCase->run, PHPUnit_Framework_TestResult->run, PHPUnit_Framework_TestCase->runBare, PHPUnit_Framework_TestCase->runTest, ReflectionMethod->invokeArgs, WooCommerce\Tests\Util\WC_Tests_Install->test_check_version, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta
WordPress database error Multiple primary key defined for query ALTER TABLE wptests_woocommerce_sessions ADD PRIMARY KEY session_key (session_key) made by PHPUnit_TextUI_Command::main, PHPUnit_TextUI_Command->run, PHPUnit_TextUI_TestRunner->doRun, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestCase->run, PHPUnit_Framework_TestResult->run, PHPUnit_Framework_TestCase->runBare, PHPUnit_Framework_TestCase->runTest, ReflectionMethod->invokeArgs, WooCommerce\Tests\Util\WC_Tests_Install->test_check_version, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta
.WordPress database error Duplicate key name 'session_id' for query ALTER TABLE wptests_woocommerce_sessions ADD UNIQUE KEY session_id (session_id) made by PHPUnit_TextUI_Command::main, PHPUnit_TextUI_Command->run, PHPUnit_TextUI_TestRunner->doRun, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestCase->run, PHPUnit_Framework_TestResult->run, PHPUnit_Framework_TestCase->runBare, PHPUnit_Framework_TestCase->runTest, ReflectionMethod->invokeArgs, WooCommerce\Tests\Util\WC_Tests_Install->test_install, WC_Install::install, WC_Install::create_tables, dbDelta
WordPress database error Multiple primary key defined for query ALTER TABLE wptests_woocommerce_sessions ADD PRIMARY KEY session_key (session_key) made by PHPUnit_TextUI_Command::main, PHPUnit_TextUI_Command->run, PHPUnit_TextUI_TestRunner->doRun, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestSuite->run, PHPUnit_Framework_TestCase->run, PHPUnit_Framework_TestResult->run, PHPUnit_Framework_TestCase->runBare, PHPUnit_Framework_TestCase->runTest, ReflectionMethod->invokeArgs, WooCommerce\Tests\Util\WC_Tests_Install->test_install, WC_Install::install, WC_Install::create_tables, dbDelta
dbDelta requires very specific syntax (as per http://codex.wordpress.org/Creating_Tables_with_Plugins ).
2015-11-05 13:43:56 +08:00
Mike Jolley
61e746730f
wc_transaction_query function
...
Only uses transactions if enabled, or read uncommitted is supported
#9279
2015-11-04 14:11:40 +00:00
Mike Jolley
48f8665e2d
Hide SQL errors during ajax requests
...
Avoids invalid JSON
2015-11-04 13:35:32 +00:00
Mike Jolley
7eb45ba16f
Added wc_array_cartesian function to generate variations in a logical order.
...
Fixes #9515 @claudiosmweb
2015-11-04 12:14:51 +00:00
Claudio Sanches
e1c2054b5c
Improved how geolocation js check for pages where shouldn't load
...
Simplified all checks in just one
Less PHP and JS conditionals
cc @mikejolley
2015-11-04 01:51:54 -02:00
Claudio Sanches
fde904b27a
[2.4] Fixed redirection loop on customizer screen
...
It's caused an redirection loop on the customizer page when
activated "Geolocate (with page caching support)" option
cc @mikejolley
2015-11-04 01:20:16 -02:00
Claudio Sanches
58468d8821
[CLI] Fixed sanitization for product attributes
2015-11-03 17:11:54 -02:00
Shiva Poudel
d9e8057df3
Tweak the dockblocks and periodic-ending fix
2015-11-04 00:05:08 +05:45
Mike Jolley
1756aa8fca
Use help tip function in email table.
2015-11-03 16:12:13 +00:00
Mike Jolley
1b38f380af
Merge remote-tracking branch 'origin/master'
...
Conflicts:
includes/emails/class-wc-email.php
2015-11-03 16:09:01 +00:00
Claudio Sanches
439141bbe3
Fixed undefined error on WC_Geo_IP
2015-11-03 13:55:26 -02:00
Mike Jolley
1e945026b3
Tweak screen description
2015-11-03 15:41:31 +00:00
Mike Jolley
8457dbb57d
Display if emails are manually sent
2015-11-03 15:40:10 +00:00
Mike Jolley
d95f863d79
Show descriptions inline
2015-11-03 15:04:29 +00:00
Mike Jolley
52553968c5
Use desc_tip for emails
2015-11-03 14:59:48 +00:00
Mike Jolley
3c6a870335
Email class tidyup
2015-11-03 14:57:39 +00:00
Claudio Sanches
c6ab828aa1
[2.4] Improved error handling in WC_Geo_IP
...
Implemented our log system to register in background any errors
Closes #9501
2015-11-03 12:30:33 -02:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00
Mike Jolley
5f65494e27
Restructure emails admin to avoid listing emails along the top
...
Moves emails to a table on the settings screen.
Also tweaks some section text and moves descriptions to tooltips for a
less cluttered interface.
2015-11-02 16:27:00 +00:00
Mike Jolley
48b93b937f
Added admin order/payment failed notification
...
Closes #8617
2015-11-02 14:45:24 +00:00
Mike Jolley
9ac43ec4d4
Cleanup
2015-11-02 13:02:23 +00:00
Mike Jolley
798cf9a50b
Merge pull request #9485 from helgatheviking/email-ids-on-hooks
...
pass email object to email templates and template hooks
2015-11-02 13:02:04 +00:00
Mike Jolley
7fdb93329c
Merge branch 'revised-single-variation-cart-template'
...
Conflicts:
includes/admin/views/html-admin-page-status-report.php
2015-11-02 11:26:49 +00:00
Mike Jolley
c29517e87e
Merge branch 'pr/9471'
2015-11-02 11:24:01 +00:00
Mike Jolley
aec0e0e327
supports() method which mirrors gateways
...
Closes #9471
2015-11-02 11:23:50 +00:00
Mike Jolley
3ca5022649
Added template files for the customer details list in emails. emails/email-customer-details.php
...
Closes #9253
2015-11-02 10:41:05 +00:00
Mike Jolley
dfc1e0a625
Merge remote-tracking branch 'origin/master'
...
Conflicts:
includes/admin/views/html-admin-page-status-report.php
2015-11-02 10:02:35 +00:00
Mike Jolley
781adc121c
Check parent theme version
...
Closes #9477
2015-11-02 10:01:42 +00:00
Mike Jolley
f4c24ee824
Make from name methods match
2015-11-02 09:11:25 +00:00
Claudio Sanches
494dd9dae2
Merge pull request #9482 from ahmadawais/patch-5
...
Better Documentation: Period Endings
2015-11-01 19:24:14 -02:00
Kathy Darling
f893d73af6
pass email object to email templates and template hooks
2015-10-31 23:04:59 -05:00
Ahmad Awais
d690e43345
Better Documentation: Period Endings
...
As per the [PHP documentation standards in the core handbook](https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/ ), this commit helps make the documentation better by adding:
- Period endings
2015-11-01 00:12:12 +05:00
Ahmad Awais
9954602229
Better Documentation: Period Endings
...
As per the [PHP documentation standards in the core handbook](https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/ ), this commit helps make the documentation better by adding:
- Period endings
- Short descriptions
- Long descriptions
2015-11-01 00:10:45 +05:00
Claudio Sanches
ecb3ca2ea3
Merge pull request #9480 from ahmadawais/patch-3
...
Better Documentation: Period Endings
2015-10-31 17:05:38 -02:00
Claudio Sanches
317aeb39f1
Merge pull request #9478 from WPprodigy/system-status-fix2
...
Typo in system status report
2015-10-31 17:03:48 -02:00
Ahmad Awais
b07854ed77
Better Documentation: Period Endings
2015-11-01 00:01:46 +05:00
Caleb Burks
46b43f4c7c
Typo in system status report
2015-10-31 12:00:51 -04:00
Caleb Burks
10bb2c6ca1
Check for child themes in the .org repo
2015-10-31 11:23:07 -04:00
Kathy Darling
856d192bff
Use generic `ajax_add_to_cart` class for adding items in the loop to the cart via ajax.
2015-10-30 12:54:49 -05:00
Mike Jolley
37ed73f5b4
Merge pull request #9469 from javorszky/fix-dockblock-ipnhandler
...
Fix docblock for validate_receiver_email
2015-10-30 15:26:03 +00:00
Gabor Javorszky
2fce596b25
Fix docblock for validate_receiver_email
2015-10-30 15:11:41 +00:00
Claudio Sanches
a8ddd8acf9
Disabled Jetpack for products
...
Implemented the new Jetpack jetpack_comment_form_enabled_for_* filter
Closes #9152
2015-10-30 13:08:44 -02:00
Mike Jolley
f5933bf9d9
Fix active state check
...
Closes #9467
2015-10-30 13:31:52 +00:00
Mike Jolley
ad38f6e34f
Add pay link to order screen
...
Closes #9428
2015-10-30 13:29:16 +00:00
Mike Jolley
92310feb98
Merge pull request #9457 from woothemes/9251-wc-cart-functions
...
Moving some methods from WC_Cart to new functions
2015-10-30 13:12:55 +00:00
Claudio Sanches
0ff88deb98
Improved wc_coupons_enabled() name and description
2015-10-29 17:23:10 -02:00
Mike Jolley
afca32a31b
Check item_meta_array exists
...
Fixes #9449
2015-10-29 16:06:23 +00:00
Mike Jolley
5b6e16682c
Handle partial/full refund for orders containing free items
...
Also adds helper method to determine if such as free item exists or
not. Closes #9460
2015-10-29 15:34:33 +00:00
Mike Jolley
871c8591f0
Number format the discount
...
Closes #9462
2015-10-29 15:23:34 +00:00
Claudio Sanches
4522b68a47
[2.4] [API] Avoid undefined $taxonomy warnings while save variable attributes, closes #9456
2015-10-28 16:31:05 -02:00
Claudio Sanches
f3b6870837
Sort get_woocommerce_currencies() items
2015-10-28 16:24:06 -02:00
Claudio Sanches
f64ea948f1
Replaced WC()->cart->ship_to_billing_address_only() to wc_ship_to_billing_address_only()
2015-10-28 16:03:24 -02:00
Claudio Sanches
29229ada45
Added deprecated description to WC_Cart methods
2015-10-28 16:01:03 -02:00
Claudio Sanches
3ab4e76cd0
Replaed old WC_Cart methods to the new functions
2015-10-28 15:56:31 -02:00
Claudio Sanches
1caaea7b33
Moved methods from WC_Cart to single functions
...
Changes:
- WC_Cart::coupons_enabled() to wc_is_coupons_enabled()
- WC_Cart::get_cart_url() to wc_get_cart_url()
- WC_Cart::get_checkout_url() to wc_get_checkout_url()
This methods can be used in any place, but WC_Cart() is present only on
the frontend.
2015-10-28 15:43:31 -02:00
Mike Jolley
327134e471
Merge pull request #9454 from apkoponen/master
...
WC_Product __get should check for False instead of empty
2015-10-28 09:48:12 -06:00
Mike Jolley
1ff6a27951
Split button from variation display
2015-10-28 13:09:34 +00:00
Mike Jolley
f050c804e1
Use wp.template for variation and variation button
2015-10-28 13:04:28 +00:00
Mohsin Rasool
6683baffaa
Add Currency Symbol for Pakistan, Issue #9453
2015-10-28 16:13:42 +05:00
Ari-Pekka Koponen
11ab216993
WC_Product __get should check for False instead of empty
2015-10-28 12:45:54 +02:00
Claudio Sanches
d6dbb4aec2
Added "Hide empty categories" option on Product Category Widget
...
Closes #9441
2015-10-27 14:10:32 -02:00
Claudio Sanches
454ffa4677
[2.4] Fixed bulk edit sale_price when empty
...
This avoid sale_price saved as "0" and update correct update _price
field, related issue: #8076
Closes #9437
2015-10-27 11:27:31 -02:00
Shohei Tanaka
94dc4e310b
Customer Name in admin Order list
...
In Japan we want to use full name order in admin order list.
2015-10-27 06:37:04 +09:00
Claudio Sanches
cf6fb76741
Created function to disable author archives for customers
...
cc @mikejolley
2015-10-26 15:38:44 -02:00
Mike Jolley
59dc92e113
Merge pull request #9417 from woothemes/9381-help-tip-icon-font
...
Use new "question" mark icon font for Help Tips
2015-10-26 08:45:10 -06:00
Claudio Sanches
4f9e4a87e8
Updated Simplify Commerce lib to version 1.2.0, closes #9420
2015-10-26 11:27:14 -02:00
Claudio Sanches
154dac6d14
[2.4] [API] Fixed attributes save when using non-latin letters
...
Changed sanitize_title() to wc_sanitize_term_text_based() since
wp_set_object_terms() is creating wrong terms
Closes #9421
2015-10-23 14:38:37 -02:00
Claudio Sanches
e91e0a9f5e
Changed <i> to <span> in wc_help_tip()
...
<span> is more semantically correct
2015-10-23 13:17:35 -02:00
Claudio Sanches
b85ae9056c
Rename wc_add_help_tip() function to wc_help_tip()
2015-10-23 13:09:08 -02:00
Mike Jolley
705fbef31a
[2.4] Default selections fix for methods with multiple rates
2015-10-23 13:49:27 +01:00
Mike Jolley
79010b634f
Cast grouped product children to int
...
Avoids invalid or empty data and fixes #9416
2015-10-23 12:52:52 +01:00
Mike Jolley
8279db6679
If redirection to setup wizard does not occur, do not redirect at all
2015-10-23 12:24:04 +01:00
Mike Jolley
12fe4e7a52
Use delimiter in hashing function
2015-10-23 12:02:29 +01:00
Mike Jolley
b81fc128ac
Use hash_equals when comparing hashes
...
PHP 5.6+ but WP has a fallback inside.
2015-10-23 12:00:56 +01:00
Claudio Sanches
2e95a68357
Use new "question" mark icon font
...
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]
We'll keep the old image and styles in order to maintain backwards
compatibility
Closes #9381
2015-10-23 01:40:52 -02:00
Claudio Sanches
c1b46113bc
[2.4] Make "Not right now" button on Setup Wizard go to the WP dashboard
...
closes #9392
2015-10-22 18:17:14 -02:00
Claudio Sanches
bfe98a283c
[2.4] [API] Fixed editing product variations
...
Fixed general variations edition and make sync again variations when just
edit a variable product and don't send any 'variations' data
closes #9406
2015-10-22 17:19:16 -02:00
Mike Jolley
d363e810d8
Default to first found gateway
...
Closes #9378
2015-10-22 16:39:15 +01:00
Mike Jolley
b3a3a998bb
Add trailing slash in get_page_uris to reduce likelihood of conflicts
...
Fixes #9386
2015-10-22 16:33:05 +01:00
Mike Jolley
63947376db
Merge pull request #9336 from woothemes/issue/9268-get-coupon-id-from-code-caching
...
Cache coupon id from code lookup in a transient.
2015-10-22 09:19:37 -06:00
Mike Jolley
2a651ce64b
Merge pull request #9332 from Biont/master
...
WC_AJAX::calc_line_taxes - Provide a filter after tax calculations are done
2015-10-22 09:17:57 -06:00
Mike Jolley
08365f4145
Merge pull request #9333 from roykho/onboard
...
[onboard wizard] Remove required attribute from currency_code form el…
2015-10-22 09:03:48 -06:00
Mike Jolley
d46e57d9d6
Merge pull request #9318 from woothemes/issue/8458-refactor-verified-purchase-review-meta
...
Refactor "verified owner" logic to reduce queries and transients.
2015-10-22 09:00:38 -06:00
Mike Jolley
509d59df3d
Merge pull request #9391 from krautnerds/fix-login-with-mail-and-whitespace
...
Fixed login form handling for whitespaces before/after mail address
2015-10-22 07:23:43 -06:00
Mike Jolley
db1ecae936
Merge pull request #9405 from javorszky/issue_9404
...
Shipping calculation results no longer bleed over
2015-10-22 06:57:45 -06:00
Mike Jolley
97e28d7f49
Added wc_checkout_is_https() function helper and added to simplify class
...
Closes #9408
2015-10-22 12:30:30 +01:00
Mike Jolley
4dbfe1551c
Settings API - don't save title fields
...
Closes #9401
2015-10-22 11:27:39 +01:00
Gabor Javorszky
852ab311e0
Shipping calculation results no longer bleed over
...
Fixes #9404
Before we decide whether to just return from shipping calculation or
actually calculate it, let's null the values.
Reason for this and not `reset` is because reset also wiped the chosen
shipping method, which might have unintended consequences.
Please test this extensively. You know WooCommerce a lot better than I
do, and I'd like to avoid side effects.
2015-10-21 21:35:58 +01:00
Jeff Stieler
d73ef76568
Remove generation of review verification comment meta from 2.5 upgrade routine.
2015-10-20 22:05:17 -06:00
Jeff Stieler
58ec17f76d
Use new review verification status retrieval method on single review template and in APIs.
2015-10-20 22:05:17 -06:00
Jeff Stieler
1b370bb64a
Helper method to retrieve review verification status from comment meta, generating it on the fly for existing reviews.
2015-10-20 22:05:17 -06:00
Jeff Stieler
e9bfa2553c
Return verification status in WC_Comments::add_comment_purchase_verification().
2015-10-20 22:03:30 -06:00
Jeff Stieler
a34d58c18f
Backfill existing reviews with “verified” comment meta on update to 2.5.
2015-10-20 22:03:29 -06:00
Jeff Stieler
95fe3d47c2
Use review comment meta for verification status in API calls and WP-CLI.
2015-10-20 22:03:29 -06:00
Jeff Stieler
71cfde70c9
Mark a comment as “verified” if the customer leaving it has purchased the product they’re reviewing.
2015-10-20 22:03:29 -06:00
Jeff Stieler
80628e9f97
Store all purchased product ids for a given customer in a single transient.
2015-10-20 22:03:29 -06:00
Jeff Stieler
883170e261
Cache coupon id from code lookup in a transient.
2015-10-20 21:42:46 -06:00
Florian Ludwig
b549c73dea
Fixed bug where customer couldn't log in because of whitespace after mail address
2015-10-20 21:20:50 +02:00