Commit Graph

155 Commits

Author SHA1 Message Date
Shiva Poudel e6e2a7ed42 Fix docblock for wc_back_link function 2016-02-21 10:10:33 +05:45
Justin Shreve c2d29e4884 Add a back button on the email notification management screens so you can easily get back to the main listing of emails. 2016-02-18 08:46:06 -08:00
Claudio Sanches 7ae806d16f Created new account functions file 2016-02-16 13:43:06 -02:00
Mike Jolley 116e70f6dd Missing functions from master 2016-02-10 14:40:46 +00:00
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley a71a4de1b8 Add hash check when resuming order to detect changes.
@claudiosmweb
2016-02-05 09:41:25 +00:00
Mike Jolley fd74d992ab When COOKIEPATH is an empty string, cookies won't work across pages.
@claudiosmweb Found a few multisite installs where COOKIEPATH was an
empty string which broke cookies. I don’t see any side affects of this
change. 2.5?
2016-02-01 13:05:36 +00:00
Almaz Mannanov 1cb65394a4 Update wc-core-functions.php
​Russian ruble has its own symbol.
2016-01-27 20:22:43 +03:00
Mike Jolley 7fb7120d8e [2.5] Move URL functions to core-functions file.
Closes #10170
2016-01-27 11:53:19 +00:00
Claudio Sanches 6110c8316e Added Saudi Riyal currency
Request from:
https://wordpress.org/support/topic/saudi-riyal-support?replies=1
2016-01-25 20:59:19 -02:00
Mike Jolley 2de38180d3 Remove isolation levels causing issue on some servers 2016-01-15 11:43:06 +00:00
Mike Jolley 1076854608 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/class-wc-shipping.php
#	includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
#	includes/shipping/flat-rate/includes/class-wc-eval-math.php
#	includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley 3c5520d18c Add filter on default location array
Closes #10017
2016-01-07 11:25:24 +00:00
Fredrik Forsmo 676525c2b7 Improve docblock comments in various functions
* Added missing param tags to functions
* Added comments to `wc_get_attachment_image_attributes` and
`wc_prepare_attachment_for_js`
* Fixed return type value for functions where it says bool but the code
returns array
* Renamed boolean to bool
2016-01-06 17:11:09 +01:00
Mike Jolley 62ca37f651 Merge branch 'master' into shipping-zones
# Conflicts:
#	includes/admin/class-wc-admin-assets.php
#	includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley 901db7b0f8 zone tweaks 2015-12-18 17:10:58 +00:00
Shiva Poudel 4146558fd6 Updated the currency code for 'Lao Kip'
See: https://en.wikipedia.org/wiki/ISO_4217
2015-12-17 11:52:38 +05:45
Claudio Sanches e097ff7b56 Oops 2015-12-16 14:25:11 -02:00
Claudio Sanches b2eadf0322 Better way to handle currency symbols
cc @mikejolley
2015-12-16 13:23:44 -02:00
Mike Jolley 992f1176bd wc_get_template_part filter should always run regardless of whether a matching template was found.
Closes #9851
2015-12-16 11:28:34 +00:00
Claudio Sanches 4b52c0d052 Added Kenyan shilling currency 2015-12-09 13:06:54 -02: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
Takashi Irie d88ba80f84 Edits for Twnety Sixteen 2015-11-23 11:55:50 +00:00
Shiva Poudel 853530cece Fixed rupee sign for currency in product data sale and regular price 2015-11-12 03:00:54 +05:45
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
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
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 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 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
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 f3b6870837 Sort get_woocommerce_currencies() items 2015-10-28 16:24:06 -02:00
Mohsin Rasool 6683baffaa Add Currency Symbol for Pakistan, Issue #9453 2015-10-28 16:13:42 +05:00
Claudio Sanches 3a536ac8b7 Sanitize shipping method label/title, closes #9159 2015-10-01 17:17:45 +02:00
Mike Jolley 27ac395496 Use geolocation class IP function
Fixes #9048
Closes #9050
2015-09-07 14:24:00 +01:00
Claudio Sanches 0361a10e26 Removed instances of WC_Order in favor to wc_get_order(), closes #8689 2015-07-30 15:07:34 -03:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Claudio Sanches 8d2a98eab1 Improved some docblocks 2015-07-16 16:29:01 -03:00
Claudio Sanches c13409150f Fixed tests for get_woocommerce_currencies()
@mikejolley
2015-06-29 15:13:42 -03:00
Claudio Sanches 22ac2f56bf Added Argentine currency and symbol 2015-06-25 12:58:58 -03:00
Mike Jolley 84bc6e1b1a Merge branch 'geolocate-cache'
Conflicts:
	includes/class-wc-customer.php

Closes #7939
2015-06-23 12:26:03 +01:00
Mike Jolley f988aae387 Use hashes and server side redirection 2015-06-22 14:55:15 +01:00
Mike Jolley 928b1cca2f Use DKK symbol 2015-06-19 12:15:14 +01:00
Mike Jolley b8f644fe9e Remove line breaks 2015-06-17 15:19:04 +01:00
Mike Jolley 33c298fea7 Experiment with appending geolocation to query string to prevent caching 2015-06-17 12:12:49 +01:00
Claudio Sanches 3f45c874fe Created wc_api_hash() 2015-06-08 12:57:19 -03:00
Claudio Sanches 3697ad9de2 Improved the API keys entropy 2015-06-08 12:01:54 -03:00
Claudio Sanches 267c481d86 Improved admin bar visit store link #8196 2015-05-27 11:55:32 -03:00
Remi Corson 611765e0da added comparison with home url 2015-05-22 13:59:51 +02:00
Remi Corson db0ee68886 Added visit store link in admin bar 2015-05-21 10:57:50 +02:00