Commit Graph

4459 Commits

Author SHA1 Message Date
James Koster 187f41b520 Updated turkish translations 2012-12-28 14:33:33 +00:00
Mike Jolley 5507e8453f Remove depricated jQuery Closes #2039 2012-12-28 13:02:12 +00:00
Mike Jolley d993687e9e 2 filters to force/unforce any page programatically. Closes #2030. 2012-12-28 10:57:46 +00:00
Mike Jolley 51ab134142 Added thai states (Closes #2064), added files per state which get loaded only when the country is allowed, and hidden the informal setting unless needed for the lang.
Also moved languages and added an i18n folder for this kind of stuff.
2012-12-28 10:54:09 +00:00
Mike Jolley 91259d770a Merge pull request #2072 from GeertDD/featured_column
Fixed and improved column for featured status
2012-12-28 02:00:28 -08:00
Mike Jolley d89b2aa66f Set_stock for product class Closes #2042. 2012-12-28 09:59:20 +00:00
Geert De Deckere c66a1af0be Fixed and improved column for featured status
- Bugfix: if the product was featured a double opening anchor tag would be used around the star image, breaking the link.
- Changed the title attribute from "Change" to "Toggle featured".
- Made alt attributes of the images translatable ("yes" and "no").
- Coding standards.
2012-12-28 07:44:02 +01:00
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