Commit Graph

3973 Commits

Author SHA1 Message Date
Mike Jolley 2b4c428414 actions hook for buttons. Closes #2074. 2012-12-28 20:04:18 +00:00
Mike Jolley 5f47f5e3c9 Merge pull request #2077 from GeertDD/breadcrumb
Breadcrumb
2012-12-28 11:48:41 -08:00
Mike Jolley d5729f499b Fix tax importer. Closes #2067. 2012-12-28 19:37:56 +00:00
Mike Jolley a64ad5412a Password input. Closes #2057. 2012-12-28 19:22:51 +00:00
Mike Jolley dd897a522d Merge pull request #2079 from Ramoonus/master
Language refresh
2012-12-28 11:13:12 -08:00
Mike Jolley 1e3abcb935 Use jquery-ui ver Closes #2056. 2012-12-28 19:12:02 +00:00
Ramon van Belzen 6ab5fe0452 Language Refresh run
using PoEdit
2012-12-28 20:08:01 +01:00
Mike Jolley 6d66fe7982 Merge pull request #2078 from GeertDD/term_description
Prevent empty term-description div
2012-12-28 11:03:16 -08:00
Mike Jolley 2567e33f1e Clear transients on cron #1971 2012-12-28 18:49:08 +00:00
Mike Jolley 00499e7574 wp_insert_user Closes #2069. 2012-12-28 18:45:06 +00:00
Geert De Deckere e008ba1ad3 Prevent empty term-description div 2012-12-28 19:36:03 +01:00
Mike Jolley 53aee3c446 Fix for commit 5507e8453f 2012-12-28 17:33:05 +00:00
Geert De Deckere c264829231 Made the home link optional in the breadcrumb 2012-12-28 17:18:54 +01:00
Geert De Deckere 239aa1e189 Breadcrumb defaults filter 2012-12-28 17:06:56 +01:00
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