Commit Graph

3602 Commits

Author SHA1 Message Date
Mike Jolley f464957639 Set the variables and renamed to prevent confusion with the session naming. Closes #2055. 2012-12-27 19:24:37 +00:00
Mike Jolley 09f581cf83 Merge pull request #2071 from GeertDD/patch-1
Update CONTRIBUTING.md
2012-12-27 11:03:13 -08:00
Geert De Deckere 648e63f9a6 Update CONTRIBUTING.md
Putting some extra emphasis on coding standards.
2012-12-27 20:01:32 +01:00
Mike Jolley 087c4cd983 Notices. Closes #2053. 2012-12-27 18:46:22 +00:00
Mike Jolley da978d7431 Is account page tweak Closes #2050. 2012-12-27 18:43:26 +00:00
Mike Jolley 20a8c5f695 Merge pull request #2060 from GeertDD/widget_layered_nav_filters
Tweaks to title of the layered nav filters widget
2012-12-27 10:37:26 -08:00
Mike Jolley 6ef1d9222c Merge pull request #2052 from GeertDD/result_count
Improved the result-count template
2012-12-27 10:36:53 -08:00
Mike Jolley 3d6c61d4ac Merge pull request #2065 from GeertDD/woocommerce_change_term_counts
Optimization for woocommerce_change_term_counts()
2012-12-27 10:23:02 -08:00
Mike Jolley 9b8084ec0a Merge pull request #2066 from daltonrooney/master
Upsells and cross sells show current product
2012-12-27 10:20:53 -08:00
Mike Jolley bda0e28b93 Merge pull request #2063 from jesusangel/master
Added receiver_email check in check_ipn_request_is_valid
2012-12-27 10:07:58 -08:00
Mike Jolley ddc0e920bf Merge pull request #2059 from GeertDD/nl
Adding and fixing Dutch translations
2012-12-27 10:06:36 -08:00
Mike Jolley e9425bd49f Merge pull request #2068 from tom-at-oransje/patch-1
Update languages/woocommerce-nb_NO.po
2012-12-27 10:06:01 -08:00
Mike Jolley 1411cacc58 Merge pull request #2049 from krbvroc1/lost_pass_fixes
Lost password fixes
2012-12-27 10:03:11 -08:00
tom-at-oransje 0d2f7b6646 Update languages/woocommerce-nb_NO.po 2012-12-27 18:13:29 +01:00
Dalton Rooney 0b466952ca Related should not include current product 2012-12-27 10:27:20 -05:00
Dalton Rooney 1c01ad3f1c Upsells should not include the current product 2012-12-27 10:26:31 -05:00
James Koster 4817c324c2 readme 2012-12-27 14:18:57 +00:00
Geert De Deckere e8f88eafe8 Coding standards matter 2012-12-27 15:18:10 +01:00
Ken Bass 30f539cbde Fix spaces per WP Coding Standards 2012-12-27 08:09:01 -05:00
Jesús Ángel del Pozo Domínguez 425cf474f8 Yoda conditions for debug tests:
Before:
	if ( $this->debug == 'yes' )
After:
	if ( 'yes' == $this->debug )
2012-12-27 11:44:58 +01:00
Jesús Ángel del Pozo Domínguez 47db520256 Edited code in last commit to obey WP coding standards.
Fixed wrong HTML code generated when the gateway isn't valid in the
user's country. The div tag couldn't be placed inside table tag:

<table class="form-table">
	<div class="inline error"><p> ... </p></div>
</table>
2012-12-27 11:20:04 +01:00
Geert De Deckere 8205357828 Optimization for woocommerce_change_term_counts() 2012-12-27 10:29:53 +01:00
Jesús Ángel del Pozo Domínguez 404ccaad63 Check for spoofed IPN response 2012-12-26 22:45:53 +01:00
Geert De Deckere e846ec34ac Need to use instead of to allow empty string titles 2012-12-26 17:08:25 +01:00
Geert De Deckere 2be0410a6d Tweaks to title of the layered nav filters widget
- The `widget_title` filter should be applied to all widget titles.
- Don’t hardcode the widget title. Even if no admin interface for setting a custom title is present, a custom title still can be provided via the `the_widget()` function.
- Don’t display the wrapping HTML for the widget title if no title is given.

These changes are just some best practices that should be kept in mind. Have a look at some default WordPress widgets (e.g. `WP_Widget_Pages`) to see the same approach.
2012-12-26 17:04:29 +01:00
Geert De Deckere 39f099336c Adding and fixing Dutch translations 2012-12-26 16:52:09 +01:00
Geert De Deckere a0b8ee16c5 Improved the result-count template
- Coding style: mid-line indenting which should be done using spaces.
- Renamed `$max` to `$total`.
- Simplified calculation of `$last`.
- Using en dash between range of values: http://en.wikipedia.org/wiki/Dash#Ranges_of_values.
- Tweaks to the “Showing 1–10 of 12 results” result text:
  - Converted `%s` to `%d`.
  - Used numbered placeholders (like `%1$d` and `%2$d`) which allows for more flexible translations since the placeholders can be swapped and repeated now.
  - Used `_x()` with comment to clarify placeholder order.
- Added two additional texts:
  - One for showing the only single result because “Showing 1–1 of 1 results” is overly verbose.
  - One for when all results are shown on the same page because “Showing 1–8 of 8 results” is a bit too verbose too.
2012-12-25 10:17:15 +01:00
Ken Bass 8d0f42b298 Hook into WP lostpassword_url filter so that code that calls wp_lostpassword_url() actually uses new lost password page rather
than wp-login.php. For example, WC Login Widget.
2012-12-25 01:21:27 -05:00
Ken Bass 8debb1697c Fix reset password URL to work with non-pretty permalinks
Fix security issue where new password is being changed on non-SSL page.
2012-12-25 00:19:33 -05:00
Mike Jolley a2aa49b3bf Merge pull request #2041 from arhipaiva/master
Updated Finnish localization to current 2.0.0-beta1 from 1.7.0
2012-12-23 09:01:23 -08:00
Mike Jolley 29660779eb Merge pull request #2040 from andreibarabas/master
Remove the $_SESSION #2022
2012-12-23 09:01:01 -08:00
Arhi Paivarinta 871b218435 Updated Finnish localization to current 2.0.0-beta1 from 1.7.0
Re-scanned 2.0.0-beta1 files.
2012-12-23 17:33:25 +02:00
Arhi Paivarinta 2a8cf39251 Updated Finnish localization to current 2.0.0-beta1 from 1.7.0
Re-scanned 2.0.0-beta1 files.
2012-12-23 17:24:51 +02:00
Arhi Paivarinta 12a7201fb3 Updated Finnish localization to current 2.0.0-beta1 from 1.7.0
Re-scanned 2.0.0-beta1 files.
2012-12-23 17:20:18 +02:00
Arhi Paivarinta 16a77063b9 Re-scanned 2.0.0-beta1 files.
Updated Finnish localization from 1.7.0 to current 2.0.0-beta1
2012-12-23 17:16:11 +02:00
Andrei Barabas 6dbdb872d9 remove the $_SESSION usage 2012-12-23 17:16:04 +02:00
Mike Jolley 1141714ecf Respect show count setting. Closes #2034. 2012-12-23 12:35:49 +00:00
Mike Jolley a5a76a950b Cron offset #1971 2012-12-23 12:29:16 +00:00
Mike Jolley 0fb50856b9 Account page tweaks for #2027 2012-12-23 12:19:56 +00:00
Mike Jolley 64bdf33158 Merge pull request #2027 from brichards/master
Clean up My Account templates
2012-12-23 03:37:32 -08:00
Mike Jolley 3af3f42a5b Readme for #2032 2012-12-23 11:36:05 +00:00
Mike Jolley f9cf3af2a5 Merge pull request #2032 from mikaeljorhult/master
Updated swedish localization to latest version
2012-12-23 03:35:27 -08:00
Mike Jolley 2c096d4609 Merge pull request #2037 from Ramoonus/master
NL refresh
2012-12-23 03:33:51 -08:00
Ramon van Belzen ccc5e7404e nl_NL translation mo po refresh
using PoEdit
2012-12-22 12:06:21 +01:00
Mikael Jorhult 90af71cbd2 Update version information. 2012-12-21 19:57:19 +01:00
Mikael Jorhult 1417f119cc Updated swedish localization for 2.0.0-beta1. 2012-12-21 19:38:46 +01:00
Mikael Jorhult f7128cf08f Merge branch 'master' of https://github.com/woothemes/woocommerce 2012-12-21 18:01:17 +01:00
Mikael Jorhult 1efad2b7df Updated swedish localization to latest version. 2012-12-21 17:38:09 +01:00
Mike Jolley bdc61bfdce wc_product_type_ transient is unused 2012-12-21 08:44:15 +00:00
Coen Jacobs d5b6dfc4a7 Securi = Sucuri :) 2012-12-20 18:59:55 +01:00