Commit Graph

13870 Commits

Author SHA1 Message Date
Claudio Sanches 36b3f9ba3a Merge pull request #9617 from woothemes/SiR-DanieL-patch-1
Format text for better understanding
2015-11-16 10:04:52 -02:00
Claudio Sanches a62ea22d9c [2.4] Fix auth endpoint urls, closes #9614 2015-11-16 10:01:20 -02:00
Nicola Mustone ef3410ea2e format text for better understanding 2015-11-16 12:39:44 +01:00
Claudio Sanches 8f26233905 Merge pull request #9604 from mitogh/master
Update comparission to be strict comparison instead
2015-11-15 16:38:24 -02:00
mitogh f8f70f294a Update strict comparission and update to Yoda condition
In order to follow one of the best practices from the Wordpress
handbook:

- https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#yoda-conditions
2015-11-14 20:35:29 -06:00
mitogh 4d86d8a6ad Add strict comparission on another templates 2015-11-14 20:35:00 -06:00
mitogh d3804dc16c Forece strict comparisons on single products template 2015-11-14 20:31:23 -06:00
Claudio Sanches 8253d303d0 Merge pull request #9602 from m3esma/master
Remove duplicate array key in `class-wc-admin-help.php`
2015-11-14 23:51:09 -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 351cdee37c Merge pull request #9593 from woothemes/issue-9592/SVG-variation-images
Add conditional check for the selected variation image
2015-11-13 12:46:52 +00:00
roykho ca13d3e5f7 Add conditional check for the selected variation image
This added check prevents undefined object preventing images that have no sizes ( e.g SVG ) from causing errors
2015-11-12 16:55:25 -08:00
Roy Ho 65e69e00da Merge pull request #9586 from woothemes/issue-9583/order-items-escape
Fix order item name escaping apostrophe closes #9583
2015-11-12 14:24:00 -08: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
Claudio Sanches 972564e6d8 Link full changelog to readme.txt 2015-11-11 19:50:25 -02:00
Claudio Sanches ef16badfe4 Updated changelog and show just for stable versions 2015-11-11 19:47:23 -02:00
Claudio Sanches e39266f28d Rename changelog file to CHANGELOG.txt 2015-11-11 19:45:38 -02:00
Claudio Sanches 207daa4fa7 Merge pull request #9576 from woothemes/changelogs
Add changelog.txt and moved changelogs into it from readme.txt
2015-11-11 19:44:39 -02:00
Claudio Sanches 96da51b9ea Merge pull request #9580 from frozzare/master
Check so `product_base` exists before using it
2015-11-11 19:41:52 -02:00
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
roykho b1f3123cd6 Add changelog.txt and moved changelogs into it from readme.txt
This commit is to prevent a .org limit on readme.txt file size. Leaving 2.4+ in readme.txt
2015-11-11 06:51:04 -08: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
Claudio Sanches 75cc8440e3 Merge pull request #9561 from maxinacube/patch-1
Update class-wc-countries.php
2015-11-10 19:16:25 -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
Claudio Sanches d6f957e30b Merge pull request #9556 from ibndawood/patch-1
Added rupee symbol for INR
2015-11-10 12:48:33 -02:00
Claudio Sanches 7081a7d51f Merge pull request #9558 from woothemes/SiR-DanieL-patch-1
Typo in the readme
2015-11-10 12:47:10 -02:00
Nicola Mustone 752c89f453 double "the" 2015-11-10 12:30:07 +01: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