Commit Graph

2921 Commits

Author SHA1 Message Date
Mike Jolley ec5cce06e5 Merge pull request #6239 from vlandfair/patch-1
Minor Fix: Fixed Product Tag Arguments
2014-09-12 09:35:12 +01:00
Mike Jolley 5b3b855377 Merge pull request #6233 from shivapoudel/patch-2
Fix with $ for Colombian Peso
2014-09-12 09:34:28 +01:00
Mike Jolley ec28795a4e Merge pull request #6232 from shivapoudel/patch-1
Fix some issues with Currency code for NPR
2014-09-12 09:33:47 +01:00
Vadonis Landfair 1b8ef82d21 Minor Fix: Fixed Product Tag Arguments
Product Tags are labeled as non-hierarchical, but they are labeled with hierarchical labels instead of non-hierarchical labels. On the back-end everything shows up and works as intended. WordPress just ignores the mislabeled args and uses the correct ones by default. Always good to follow register_taxonomy() args :p.
2014-09-11 23:57:43 -05:00
claudiosmweb a84021306e fixed some coding standards in includes/admin/class-wc-admin-settings.php 2014-09-11 21:40:30 -03:00
claudiosmweb ec9e08ba7d Fixed images crop option and wc_get_image_size() function
Reported in http://wordpress.org/support/topic/hard-crop

@mikejolley
2014-09-11 21:22:30 -03:00
claudiosmweb cfb8d42bcb Added missing vars in ajax add_variation() method, closes #6234
@mikejolley
2014-09-11 18:16:37 -03:00
claudiosmweb 48b5014036 fixed the filling of the shipping fields in WC_Checkout::create_order() 2014-09-11 17:31:57 -03:00
claudiosmweb 591d3dc3be added methods to dynamically get the address fields in WC_Checkout::create_order(), closes #6226 2014-09-11 17:12:17 -03:00
Shiva Poudel 22f80cf173 Fix indendation ❤️ 2014-09-12 00:45:43 +05:45
Shiva Poudel 647988d22e Fix with $ for Colombian Peso
No symbol shown in Currency Settings selection so ;)
2014-09-12 00:41:02 +05:45
Shiva Poudel 51ba1df181 Fix some issues with Currency code for NPR
NRP was typo mistake so found the bug and fix. I have send pull for this Nepali currency previously.
2014-09-12 00:31:41 +05:45
Mike Jolley 192c1d4169 In system status, show path to template file override.
Closes #6227
2014-09-11 15:31:55 +01:00
Gerhard deb440ffcf Escape js array labels.
Closes #6222
2014-09-11 15:43:41 +02:00
Mike Jolley 509c10f7e5 Removed postcode for Bahamas.
Fixes #6223
2014-09-11 14:26:22 +01:00
Mike Jolley 7ae41bb4ed Fix - Ensure shipping address gets displayed - fixes needs_shipping_address() method. 2014-09-11 11:11:22 +01:00
Mike Jolley edd37f3d20 Tweak - Display of locale information on system status page.
Closes #6211
2014-09-11 10:49:59 +01:00
Remi Corson b126cc1c63 fixed order status translation 2014-09-11 08:39:00 +02:00
Mike Jolley 3a4ba6e4c8 For regular products, ensure stock level saves on product creation. 2014-09-10 23:55:40 +01:00
Mike Jolley 5343833427 Fix - Saving of variation stock when parent stock management is disabled. 2014-09-10 21:03:37 +01:00
claudiosmweb 37ba3c2de9 fixed the mijireh plugin slug 2014-09-10 15:03:13 -03:00
claudiosmweb 3c4177a579 prevented errors in the installation caused by old plugins 2014-09-10 13:35:46 -03:00
Barry Kooij 14221c0fba Display a backgroud color so text is readable while image loads. 2014-09-10 15:56:29 +02:00
Barry Kooij dc165a5bb6 Fixed a small typo. 2014-09-10 15:49:04 +02:00
Barry Kooij fed1af8811 Only display WooConf banner if WooConf hasn't happend yet. 2014-09-10 15:48:13 +02:00
James Koster 3afde01226 wooconf plug on welcome screen. 2014-09-10 12:18:43 +01:00
Mike Jolley 4b4a067a41 Merge pull request #6208 from ragulka/form-field-id
Add `id` attribute to woocommerce_form_field args
2014-09-10 10:49:08 +01:00
Illimar Tambek 9215fa76f0 Revise id, input_class and label_class escaping 2014-09-10 12:39:31 +03:00
Mike Jolley d2ba3453c7 Merge pull request #6203 from maxrice/fix-order-get-item-total
Fix warnings with WC_Order::get_item_total()
2014-09-10 10:24:41 +01:00
Illimar Tambek cfe15e1e33 Add `id` attribute to woocommerce_form_field args
This change allows developers to supply their own id attribute
when using the `woocommerce_form_field` template function.
The default ID is the escaped key, keeping the default behaviour.
2014-09-10 11:34:37 +03:00
James Collins 1e251d36b6 Fix query error when saving tax rates
Fixes #6202
2014-09-10 09:47:09 +08:00
Max Rice 55d3ba0d9d Fix warnings with WC_Order::get_item_total()
When calling WC_Order::get_item_total() for a fee, $item[‘qty’] is not
set which causes a notice and warning.
2014-09-09 21:23:46 -04:00
claudiosmweb 2f1533ff94 created the wc_get_order_status_label() function 2014-09-09 14:14:10 -03:00
claudiosmweb c85a71dcee fixed the order status label 2014-09-09 14:00:37 -03:00
Max Rice 6ccc10b891 Update API docs to Apiary 2014-09-08 18:09:10 -04:00
Mike Jolley 27a20dd80e Docblock changes 2014-09-08 16:35:40 +01:00
Mike Jolley a187d29242 Update support links and read me versions/text 2014-09-08 16:19:25 +01:00
claudiosmweb 4a302aaba2 fixed the language pack upgrader docblocks 2014-09-08 12:11:47 -03:00
claudiosmweb 8f4e28b0be fixed the language pack upgrader to works well with WP 4.0, closes #6183 2014-09-08 12:08:24 -03:00
Mike Jolley 3fb4deaa2b Prevent woocommerce_apply_base_tax_for_local_pickup breaking tax on virtual orders 2014-09-08 14:48:18 +01:00
Mike Jolley ebed8dbc85 Correction to last commit to deal with tax arrays 2014-09-08 12:45:32 +01:00
Mike Jolley a588442cbb Format refund amounts as decimals
Fixes #6187
2014-09-08 12:42:30 +01:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley 73f481291f Merge pull request #6185 from maxrice/webhooks-fix
Fix webhook delivery request header format
2014-09-08 00:03:12 +01:00
Mike Jolley 801dddf64e Merge pull request #6176 from maxrice/moar-unit-tests
MOAR unit tests
2014-09-08 00:03:03 +01:00
Max Rice 7aa031c56a Fix webhook delivery request header format 2014-09-07 16:10:30 -04:00
Max Rice f70c00ed24 Formatting functions tweaks 2014-09-05 14:35:18 -04:00
Barry Kooij f9c1b17d27 Password protected posts are not hidden from catalog by default anymore, visibility can be set via the 'Catalog visibility' option.
Fixes #6168
2014-09-05 12:23:34 +02:00
Mike Jolley ad78caf955 Merge pull request #6171 from maxrice/fix-simplify-js-load
Don't load simplify javascript when simplify gateway isn't available
2014-09-05 10:04:51 +01:00
Max Rice 81b50b6bd6 Notice functions tweaks 2014-09-05 02:37:12 -04:00
Max Rice ee25790fb9 Don't load simplify javascript when gateway isn't available 2014-09-04 20:27:43 -04:00
Patrick Rauland e202926f73 remove check to make sure order is complete before downloading. fixes #6166 2014-09-04 10:31:38 -06:00
Barry Kooij 73648c1b91 Removed the 'delete_users' case.
Related #6102
2014-09-04 13:30:48 +02:00
Mike Jolley 9e25450572 Replaced get_language call for get_locale 2014-09-04 11:38:36 +01:00
Mike Jolley fd0a9e52b6 Replace usage of WPLANG with get_locale() for installs without WPLANG set
cc @claudiosmweb
2014-09-04 11:33:30 +01:00
Mike Jolley 40c528dc3a Queue language check on install + store checked lang code in option
@claudiosmweb
2014-09-04 09:37:24 +01:00
Mike Jolley 1d13f767b3 Merge pull request #6157 from tamarazuk/coding-standards
Coding standards Part 1
2014-09-03 17:05:42 +01:00
Mike Jolley 349c85b639 Remove redundant wc_order_can_be_edited filter
#6154
2014-09-03 10:09:31 +01:00
Mike Jolley 265ffee23a Remove $can_be_edited in favour of ->is_editable()
For #6154
2014-09-03 10:09:04 +01:00
Mike Jolley cb76bd7fb8 Merge pull request #6154 from thenbrent/is_editable
Add `WC_Abstract_Order::is_editable()` method and `'wc_order_is_editable'` filter
2014-09-03 10:06:04 +01:00
Mike Jolley 86d3fc227f Merge pull request #6155 from thenbrent/paypal_api_creds_help
Add a link to PayPal's guide on API Creds
2014-09-03 09:57:38 +01:00
thenbrent ac80c8b51c Add a link to PayPal's guide on API Creds 2014-09-02 14:44:17 -07:00
claudiosmweb 78c7fefe3e fixed some docblocks 2014-09-02 16:50:19 -03:00
thenbrent 3acfb14214 Store order's editable status in property
To save overhead of a function call
2014-09-02 12:27:26 -07:00
thenbrent 4dea71314f Add 'wc_order_is_editable' filter 2014-09-02 11:49:05 -07:00
thenbrent 78d932e6d2 Add WC_Abstract_Order::is_editable()
To centralise logic used to determine if an order can be edited from
the Edit Order screen
2014-09-02 11:47:56 -07:00
claudiosmweb 08af487754 added simplify pre-orders support 2014-09-02 11:11:21 -03:00
claudiosmweb 54aa162fb4 renamed the simplify "subscriptions" class to "addons" 2014-09-02 10:21:42 -03:00
Mike Jolley c3b2a24933 Merge pull request #6147 from maxrice/feature-3176-unit-tests
Add Unit Testing Suite
2014-09-02 09:15:50 +01:00
shivapoudel 1ae67fb37e Change title for API Docs #6132 2014-09-02 00:02:51 +05:45
shivapoudel 86c1e7ed01 Change title for Documentation #6132 2014-09-02 00:02:11 +05:45
claudiosmweb 063d1eb349 fixed the access permissions 2014-09-01 12:44:51 -03:00
claudiosmweb cd154a30ef improved the line items backward compatibility, closes #6109 2014-09-01 12:35:04 -03:00
Mike Jolley 689272f9b9 Change title text from #6132 2014-09-01 12:46:37 +01:00
Mike Jolley f9af86ee1d Merge pull request #6132 from axisthemes/action-links
Action links Has now Better Look in Multisite Too.
2014-09-01 12:44:34 +01:00
Mike Jolley de4eaeac89 Merge pull request #6137 from shivapoudel/patch-1
Time Constant HOUR_IN_SECONDS
2014-09-01 12:36:14 +01:00
Max Rice 38dd928f23 [#3176] REST API webhooks endpoint tweaks from unit test 2014-09-01 03:27:19 -04:00
Tamara Zuk a0ce139f7d Coding Standards: Admin - Settings
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Tamara Zuk 0ab6b44bfa Coding Standards: Admin - Reports
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:19:13 -04:00
Tamara Zuk fc0e7adacb Coding Standards: Admin - Meta boxes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04:00
Tamara Zuk ce037af961 Coding Standards: Admin - Importers
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:17:58 -04:00
Tamara Zuk 9c7826319c Coding Standards: Abstract classes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 01:49:58 -04:00
Max Rice 456d10bcec REST API: allow coupon description in create/edit coupon 2014-08-30 18:43:47 -04:00
Max Rice 53b53114a7 REST API: Fix edit coupon typos 2014-08-30 18:43:26 -04:00
Max Rice 28536f6bd8 REST API: allow adding/updating order meta
When creating or updating orders, non-protected scalar meta can now be
set.
2014-08-30 16:17:52 -04:00
Max Rice ee8bf5bf18 REST API: tweak filter name from #6084 2014-08-30 16:16:51 -04:00
Max Rice 744c3767c3 REST API: ensure consistency in create/edit data formats
A client should be able to GET a resource, edit a single item and PUT
it back to the server without having to perform any additional
transformation. This commit ensures all PUT/POST endpoints adhere to
this standard.
2014-08-30 15:50:40 -04:00
Max Rice e1a542498d Fix notice introduced in #6084 2014-08-30 15:14:59 -04:00
Max Rice 722f888453 REST API: Add field restriction to new endpoints 2014-08-30 15:05:36 -04:00
Max Rice ec0f92878e REST API: Add order statuses endpoint 2014-08-30 15:05:31 -04:00
Max Rice f87ccd364c REST API: Mitigate possible JSONP flash attacks
see http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
2014-08-30 15:05:25 -04:00
Max Rice b1b7d6257b REST API: Fix JSONP content-type 2014-08-30 15:05:12 -04:00
Shiva Poudel 7ddedad4a7 Time Constant HOUR_IN_SECONDS
_wc_activation_redirect transient have HOUR_IN_SECONDS instead `60*60`.
2014-08-31 00:38:48 +05:45
Max Rice 5b68ec6c80 Backport get_avatar_url() fix to v1 REST API 2014-08-30 13:38:45 -04:00
shivapoudel 513cd24751 Filter hook is not necessary for plugin_action_links 2014-08-30 00:50:09 +05:45
shivapoudel c6c7353d4a Filter hook is not necessary for plugin_row_meta 2014-08-30 00:49:25 +05:45
shivapoudel a3107a03a9 Reverted Documentation to Docs 2014-08-30 00:47:00 +05:45
shivapoudel e9877726a1 Documentation will be better than Short Docs 2014-08-30 00:33:00 +05:45
shivapoudel 390e178962 Added API Docs too 2014-08-30 00:27:36 +05:45
shivapoudel d965f797c2 Fixed the missing comma :) 2014-08-29 23:46:31 +05:45
shivapoudel 40d66b2f57 Added Docs and Support URL in plugin_row_meta which was removed from plugin_action_links 2014-08-29 23:39:17 +05:45
shivapoudel ec64534cb7 Removed docs and support Url from plugin_action_links so that we can add it in plugin_row_meta 2014-08-29 23:28:06 +05:45
shivapoudel a5fdf5aa76 Moved the action_links from final class to WC_INSTALL class 2014-08-29 23:19:01 +05:45
shivapoudel 677f91d1ab Added some useful comments on Class Constructor Method 2014-08-29 23:13:23 +05:45
Mike Jolley a1b78ec918 Add second orderby parameter when sorting by price (ID)
Fixes #6121
2014-08-29 10:26:21 +01:00
Mike Jolley b7aacfcb84 Merge pull request #6120 from thenbrent/protected_variation_meta_data
Allow WC_Product_Variation children to extend meta
2014-08-29 09:48:03 +01:00
Mike Jolley 721d0e5782 Merge pull request #6125 from axisthemes/notices
Better Notices in themes.php
2014-08-29 09:47:43 +01:00
Mike Jolley e6defc0ddd Merge pull request #6127 from tamarazuk/master
Order totals: 4 new action hooks
2014-08-29 09:46:57 +01:00
Mike Jolley ca7f7955d9 Merge pull request #6128 from thenbrent/fix_refund_button
Only display "Refund" when unrefunded order amount > 0
2014-08-29 09:46:16 +01:00
thenbrent 175923056a Only display "Refund" when unrefunded amount > 0
If an order has been fully refunded, the "Refund" button was still
displayed despite there being no amount to refund.
2014-08-28 22:04:51 -07:00
Tamara Zuk eb9460aa2d Order totals: 4 new action hooks 2014-08-28 21:56:30 -04:00
shivapoudel 730563f1c1 If other notices are closed this translation won't have stylesheet so 2014-08-29 04:03:26 +05:45
claudiosmweb e1e1c14ae7 fixed errors while adding variable products with non-taxonomy attributes, closes #6082 2014-08-28 16:25:08 -03:00
thenbrent 1a15cb03bd Allow WC_Product_Variation children to extend meta
When SHA: 50a0577b81 introduced `$variation_level_meta_data` and
`$variation_inherited_meta_data`, it set their access to `private`.
Child classes of `WC_Product_Variation` should be able to extend these
properties to allow them to take advantage of the parent's `__isset()`
and `__get()` methods.

Related to #6065
2014-08-28 11:30:11 -07:00
Mike Jolley 50a0577b81 Separate inherited meta data from variation level meta data to stop bubbling up.
Fixes #6065
2014-08-28 15:38:51 +01:00
Mike Jolley 7b73027417 Remove unused method
Closes #6097
2014-08-28 12:20:07 +01:00
Mike Jolley 4a73cb4e7e Merge pull request #6112 from axisthemes/replacement
Replacement for core Tweaks and fixes
2014-08-28 12:07:05 +01:00
Mike Jolley d526635609 Merge pull request #6096 from axistools/active-plugins
System Status report page
2014-08-28 11:44:49 +01:00
Mike Jolley 5d8d30bba3 Merge pull request #6108 from barrykooij/fix/6095
Only add the 'do_not_allow' if target user ($args[0]) is set.
2014-08-28 10:08:09 +01:00
Mike Jolley 83516086fb Merge pull request #6111 from thenbrent/remove_not_remote
Fix "remote" typo - should be "remove" in WC 2.2
2014-08-28 10:07:11 +01:00
shivapoudel c37f7a16e8 use of is_rtl() which were missed 2014-08-28 14:40:36 +05:45
shivapoudel 71986a10d8 Better href method applied 2014-08-28 14:38:14 +05:45
justinstern 8417209d6c Improve, fix, WC_Payment_Gateway::get_transaction_url()
* Make the new get_transaction_url() method a bit more
flexible/convenient by passing in the full order object rather than
transaction_id
* Fix bug with core PayPal gateway get_transaction_url() override
2014-08-27 21:51:03 -04:00
shivapoudel 97ea988843 Remove unusual css stuff (i.e ;) 2014-08-28 06:40:32 +05:45
shivapoudel d4081a37b8 Remove extra line 2014-08-28 06:39:32 +05:45
shivapoudel 768a4f89ed Added '<hr />' before return-to-dashboard 2014-08-28 04:39:09 +05:45
shivapoudel cf42423b80 better using printf() 2014-08-28 02:41:32 +05:45
shivapoudel 4a4673be97 Clean WooCommerce actions in Welcome Page 2014-08-28 02:34:52 +05:45
shivapoudel 716d3f1763 removed in Welcome page 2014-08-28 02:31:17 +05:45
shivapoudel db852e0f10 Better Screen Help adaptation 2014-08-28 02:28:12 +05:45
shivapoudel 7180e50ece Removed unused lines 2014-08-28 02:21:04 +05:45
shivapoudel 1e734b1ab7 better _doing_it_wrong() 2014-08-28 02:18:16 +05:45
shivapoudel 0224a3e4ec Added the use of is_rtl() 2014-08-28 02:11:45 +05:45
thenbrent 30e95ab16e Fix "remote" typo - should be "remove" 2014-08-27 13:05:35 -07:00
Barry Kooij f77395c572 Only add the 'do_not_allow' if target user ($args[0]) is set.
Fixes #6095.
2014-08-27 20:18:44 +02:00
Shiva Poudel 34d1454439 Time constant in theme set_transient too... 2014-08-27 19:22:03 +05:45
Shiva Poudel 18012b70c0 Using Time Constants to set transient
Rather that '60*60*12` we can use `DAY_IN_SECONDS` which is equivalent of `60*60*24`. Let's use one day rather than (1/2)day as it seems better.
2014-08-26 23:47:41 +05:45
Shiva Poudel 0e313e7b58 Fix for Unnecessary spaces used 2014-08-26 23:13:05 +05:45
Shiva Poudel c961659eca Fix some duplicates entry. 2014-08-26 23:07:35 +05:45
Shiva Poudel e73721c58e Semantic script adapted
@mikejolly I have used id `#status` instead of class `wc_status_table`. Look this `jQuery( '#status thead, #status tbody' )....` and `<table class="wc_status_table widefat" cellspacing="0" id="status">`. Thus will not harm anything. Additionally, I have adapted the sementatic jQuery script here.
2014-08-26 22:58:39 +05:45
Shiva Poudel b201e8d046 Better Text-Domain maintained... 2014-08-26 22:46:31 +05:45
Shiva Poudel 0f113a5750 Added WP Active Plugins In System Status
Although there is list of plugins which were installed but will be informative if number of plugins is displayed before getting list. This will count and display the number of plugin installed and used in the environment section.
2014-08-26 22:39:25 +05:45
Mike Jolley 602254851a Reset fees before calculating/adding them again
Fixes #6090

@claudiosmweb Do you see any issues with this?
2014-08-26 15:39:19 +01:00
Mike Jolley f33d4200d6 Merge pull request #6084 from krautnerds/rest-api-fix
WC 2.2 Extend REST API to access also hidden order item meta
2014-08-26 12:23:26 +01:00
Mike Jolley be90d3e210 Merge pull request #6085 from krautnerds/jquery-fix
Rewrote old JS to jQuery and allow usage of multiple widgets
2014-08-26 12:23:00 +01:00
Mike Jolley 3d69dfadbd Merge pull request #6088 from shivapoudel/patch-1
Better to use Time Constants since WordPress 3.5
2014-08-26 12:22:12 +01:00
thenbrent 56c7d5fe96 Don't create redundant $payment_method var 2014-08-25 12:11:39 -07:00
Shiva Poudel cbb94f0d11 Better to use Time Constants since WordPress 3.5
Reference http://codex.wordpress.org/Transients_API#Using_Time_Constants
2014-08-25 11:16:39 +05:45
Florian Ludwig 3fadc14085 Reduce confusion on using the all_meta filter 2014-08-23 19:07:10 +02:00
Florian Ludwig 82f53037be Implemented more general filter array 2014-08-23 00:11:03 +02:00
Florian Ludwig 83ed3aa534 Fixed jQuery call 2014-08-22 23:01:25 +02:00
Florian Ludwig 526b677bcf Extend REST API to access also hidden order item meta 2014-08-22 21:42:28 +02:00
Florian Ludwig f6294d24be Rewrote old JS to jQuery and allow usage of multiple product categories widgets on one page 2014-08-22 21:39:10 +02:00
Mike Jolley 72f9374902 Merge pull request #6068 from bryceadams/master
Added Lao Kip Currency & Before / After Downloads actions
2014-08-22 10:47:02 +01:00
Mike Jolley 198f00d6b5 Merge pull request #6072 from woothemes/feature-paypal-transactin-url-sandbox
Add sandbox support for paypal transaction url
2014-08-22 10:43:28 +01:00
Mike Jolley 96e92d4a98 Merge pull request #6067 from axistools/NPR-Currency
Added Nepali(NPR) Currency and Symbol.
2014-08-22 10:27:42 +01:00
claudiosmweb 6cc401b70f Added paypal refund reason/note
cc @mikejolley
2014-08-21 20:22:28 -03:00
claudiosmweb ff7f1435ab added sandbox support for paypal transaction url 2014-08-21 19:48:28 -03:00
claudiosmweb f4f5f061d8 fixed the paypal process_refund() method 2014-08-21 16:17:12 -03:00
claudiosmweb b08a0cf1f3 stopped deprecated warnings about like_escape() function since WP 4.0 2014-08-21 14:00:39 -03:00
Mike Jolley d87688f857 Simplfy typo 2014-08-21 17:03:16 +01:00
Bryce 04234a4968 Added Lao Kip Currency 2014-08-21 11:42:46 +07:00
Shiva Poudel 547b96f54d Tab index fix for PYG Currency and Symbol. 2014-08-21 10:13:39 +05:45
Shiva Poudel ee7755fd0e Added Nepali Currency and Symbol. 2014-08-21 10:10:51 +05:45
Mike Jolley c829788ebc Set simplify user agent 2014-08-20 16:47:01 +01:00
claudiosmweb aeaa1577e3 fixed wc_get_customer_available_downloads() query, closes #6057 2014-08-19 14:50:27 -03:00
Mike Jolley 474cba9b87 Merge pull request #6052 from barrykooij/refactor/get_product
Renamed get_product to wc_get_product
2014-08-19 11:51:20 +01:00
Barry Kooij fde10a967b Soft deprecated get_product function 2014-08-19 12:19:26 +02:00
Barry Kooij 94365791af Changed all use of get_product to wc_get_product 2014-08-19 12:09:29 +02:00
Barry Kooij 7cd2e8c10a Renamed get_product to wc_get_product 2014-08-19 12:05:02 +02:00
Mike Jolley 16754a7d01 Add file to downloads array Closes #6044 2014-08-19 11:01:55 +01:00
Mike Jolley c6fe731337 Fix password reset
Fixes #6049
2014-08-19 10:43:51 +01:00
Mike Jolley ca1cefd112 Merge pull request #6040 from woothemes/feature-order-refunds-api
Initial order refunds API
2014-08-18 15:13:57 +01:00
claudiosmweb 4acb90def2 changed api_refund for true 2014-08-18 10:47:56 -03:00
claudiosmweb 288732a4be added refund amount validation 2014-08-18 10:47:24 -03:00
claudiosmweb 924e0f92c5 updated woocommerce_api_order_refunds_response filter params 2014-08-18 10:42:37 -03:00
Mike Jolley 421de8f668 Merge pull request #6038 from barrykooij/refactor/wc_get_order-args
Passed $args to dynamic class that inherits WC_Abstract_Order is never used
2014-08-18 13:30:13 +01:00
Mike Jolley 0333cf9d0d Merge pull request #6039 from thenbrent/i18n_product_type_alert
Tweak language used for i18n_product_type_alert
2014-08-18 13:29:52 +01:00
Mikel Martin 1ed0a9e9db Payment unavailable if max_amount greater than 0 and order totar greater than max_amount 2014-08-17 22:10:35 +02:00
claudiosmweb 6081f3b61f fixed some missing and wrong textdomains 2014-08-15 16:08:43 -03:00
claudiosmweb 2bbcea9de2 orders API for refunds now accepts the api_refund param 2014-08-15 15:58:55 -03:00
claudiosmweb 1294696fcf created API method for delete order refunds 2014-08-15 15:38:39 -03:00
claudiosmweb 6d4ea6e54e created initial API method for edit order refunds 2014-08-15 15:28:43 -03:00
thenbrent 320156aca0 Tweak language used for i18n_product_type_alert 2014-08-15 11:16:30 -07:00
claudiosmweb d02a803e83 added API method for create an order refund 2014-08-15 14:54:19 -03:00
claudiosmweb b972494ac8 created method API to get individual order refunds 2014-08-15 14:40:34 -03:00
claudiosmweb f9250fecf2 created API for get order refunds 2014-08-15 14:09:33 -03:00
claudiosmweb eb679fad14 changed the simplify keys order 2014-08-15 11:43:10 -03:00
claudiosmweb 3ad0e63be0 improved the simplify scripts 2014-08-15 11:40:19 -03:00
Mike Jolley c51fac23e0 Availability with backorders not requiring notification. 2014-08-15 15:29:14 +01:00
Mike Jolley 575ba5974e Variation level backorder 'parent' option makes no sense now parent backorder select is hidden
#6035
2014-08-15 15:29:14 +01:00
claudiosmweb d4fb1df412 fixed simplify ssl notification url 2014-08-15 11:20:18 -03:00
Barry Kooij 9d5ce49805 Passed $args to dynamic class that inherits WC_Abstract_Order is never used.
Therefor the $args in the function and method in factory class seems unnecessary.
2014-08-15 14:56:43 +02:00
Mike Jolley 89d7d2869f Revert "Merge pull request #6023 from krautnerds/master"
This reverts commit 9deee73b72, reversing
changes made to 1965c2b786.
2014-08-15 13:47:37 +01:00
Mike Jolley 9deee73b72 Merge pull request #6023 from krautnerds/master
Re-add all filters of widget on change of category
2014-08-15 13:45:39 +01:00
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02:00
Barry Kooij e97d06a0f0 Renamed function get_order to wc_get_order 2014-08-15 14:26:26 +02:00
Mike Jolley da483198f8 Simplify icons 2014-08-15 11:50:53 +01:00
Mike Jolley 7a267d2e31 Simplify Commerce by Mastercard gateway 2014-08-15 11:50:53 +01:00
Mike Jolley 6bd38b5ce0 Tweak display order text 2014-08-15 11:50:53 +01:00
Mike Jolley 1c3b4fdc5c Deprecate Mijireh - .org repo requested
Closes #6027
2014-08-15 11:50:53 +01:00
Florian Ludwig c2042319db Bugfix: swapped lines select and option 2014-08-14 17:00:37 +02:00
James Collins 1288a45eeb Add Australian checkout locale
Town / City -> Suburb
State / Country -> State
Postcode / Zip -> Postcode
2014-08-14 12:07:41 +08:00
Florian Ludwig 26d40f2336 Class instead of id for product categories widget
Also rewrote plain old JS to jQuery
2014-08-13 22:16:18 +02:00
Florian Ludwig ec41270587 Re-add all filters of widget on change of category
At the moment all filters that were applied via the layered nav filter
widget are gone on changing the category with the product category
filter
2014-08-13 17:13:58 +02:00
Mike Jolley 3f53512c7f Fix up visibility of stock options, drop downs, and get_availability() when parent is managing stock for a variation.
Fixes #6017
2014-08-13 15:03:30 +01:00
Mike Jolley dfe30bfe84 Tweak max spend text for #5992 2014-08-13 11:43:28 +01:00
Mike Jolley dc60cea213 Merge pull request #5992 from adamawesomeface/master
maximum ammount for coupon functionality added
2014-08-13 11:41:33 +01:00
Mike Jolley 9084ae222f Remove unused/uncoded options from dev branch
Fixes #6004
2014-08-13 11:38:49 +01:00
Mike Jolley b1c76adb56 Send product object to woocommerce_stock_html filter. Closes #6016 2014-08-13 11:30:47 +01:00
Mike Jolley 97724c8a95 woocommerce_create_page_id filter Closes #6013 2014-08-13 10:59:40 +01:00
Mike Jolley 51985df0df Merge pull request #6019 from krautnerds/master
Rewrote widget layered nav to use class instead of id
2014-08-13 10:04:12 +01:00
claudiosmweb 9da4f13805 fixed the orders api order status query 2014-08-12 15:08:11 -03:00
Florian Ludwig f2f56ebb4a Removed lines, were already deleted in upstream 2014-08-12 19:04:11 +02:00
Florian Ludwig b8c2912138 More general approach for widget dropdown_layered_nav 2014-08-12 18:56:37 +02:00
claudiosmweb bbca8dd437 fixed customer report queries with order_types 2014-08-12 12:17:46 -03:00
claudiosmweb 532d06b560 fixed the wc_cancel_unpaid_orders() post_type query 2014-08-12 12:14:38 -03:00
claudiosmweb 6e21079d76 moved exclude order notes from wp_count_comments to class-wc-comments.php 2014-08-12 12:13:29 -03:00
claudiosmweb eb8d99f4ea fixed some coding standards in includes/class-wc-comments.php 2014-08-12 12:07:23 -03:00
claudiosmweb 507a2038e8 fixed comments query 2014-08-12 12:05:09 -03:00
Mike Jolley 5bc293a69c Initial display of add order item buttons Fixes #5991
Also Closes #5994
2014-08-12 12:54:44 +01:00
Mike Jolley e4d0a6daef Merge pull request #5989 from woothemes/lost-password-email-username
Lost password, lookup on username first before email.
2014-08-12 12:41:35 +01:00
Mike Jolley fea2cc55f7 Merge pull request #5987 from afurculita/patch-1
Update wc-deprecated-functions.php
2014-08-12 12:39:02 +01:00
Mike Jolley 177d617b73 Merge pull request #6008 from woothemes/fix-force-https
Changed WC_HTTPS::force_https_url filter priority
2014-08-12 12:38:04 +01:00
Mike Jolley bd9ab8f5b3 Merge pull request #5988 from woothemes/feature-process-refund-reason
Add $reason param in WC_Payment_Gateway::process_refund()
2014-08-12 12:36:12 +01:00
Mike Jolley 6714d0088c Merge pull request #5986 from SiR-DanieL/patch-5
Added parenthesis
2014-08-12 12:33:55 +01:00
Mike Jolley 7f825a98ce Tweak get_children to look for empty transient 2014-08-12 12:06:18 +01:00
claudiosmweb acb0699e94 updated the reason default value 2014-08-11 10:07:09 -03:00
claudiosmweb 9ce8250fcb changed WC_HTTPS::force_https_url filter priority 2014-08-11 10:03:27 -03:00
adamawesomeface 0e22412a7d maximum ammount for coupon functionality added 2014-08-08 07:38:58 -04:00
Mike Jolley fe12b330c0 Fix sorting indicator and add help text to parent. Fixes #5977 2014-08-08 10:24:42 +01:00
Gerhard 4f011ae6a9 Lost password, lookup username first before email.
Customer use emails as usernames so need to lookup based on username first for instances where this apply.
2014-08-08 08:07:11 +02:00
claudiosmweb 066ba904cb added $reason param in WC_Payment_Gateway::process_refund() 2014-08-07 15:57:29 -03:00
Alexandru Furculita 9d129a39b4 Update wc-deprecated-functions.php
Help IDE-s find and highlight the deprecated stuff. Good for WooCommerce plugin and theme developers
2014-08-07 21:26:05 +03:00
Nicola Mustone e49fe4c713 Added parenthesis
WP coding standard says to add always parenthesis
2014-08-07 18:26:48 +02:00
claudiosmweb c378768aae added backwards compatibility function for new shop order status 2014-08-07 12:15:57 -03:00
Mike Jolley 5046256cea Prevent 404's caused by attachment link workaround.
Fixes #5975
2014-08-06 11:50:09 +01:00
Mike Jolley 7475778d05 Workaround for #5962 2014-08-05 21:12:52 +01:00
Mike Jolley 80ca1c3808 Cast array instead Closes #5890 2014-08-05 11:28:27 +01:00
Mike Jolley c4b813262c Revert "Check for array"
This reverts commit 61df5d5534.
2014-08-05 11:27:25 +01:00
Mike Jolley a186e1e52f Merge pull request #5951 from grey-rsi/master
class-wc-widget-price-filter.php - add filter
2014-08-05 11:08:02 +01:00
Mike Jolley 49b597665e Merge pull request #5967 from SiR-DanieL/master
Fixed issue #5895
2014-08-05 10:49:40 +01:00
claudiosmweb 0617d53353 fixed undefined offset when added products in cart 2014-08-04 16:37:42 -03:00
claudiosmweb ae66ba4553 fixed variation tax_class and backorders
@mikejolley
2014-08-04 16:05:15 -03:00
claudiosmweb b67a1e6b0e stopped endless loop when saving variable product that manages stock
@mikejolley
2014-08-04 15:31:40 -03:00
claudiosmweb bce502f455 improved handling of stock options to save changes to a variable product 2014-08-04 14:53:29 -03:00
Nicola Mustone 7c7f6b30e5 following wc coding standards 2014-08-04 17:49:14 +02:00
Nicola Mustone 69694e6242 following wc coding standards 2014-08-04 17:45:35 +02:00
Nicola Mustone a4103f7bfe following wc coding standards 2014-08-04 17:42:16 +02:00
Nicola Mustone c5f9f2157f Fixed issue #5895 2014-08-04 17:28:20 +02:00