Commit Graph

2958 Commits

Author SHA1 Message Date
shivapoudel 3fc03a184d Absolute path fix for class-wc-product-grouped.php 2014-09-21 00:42:09 +05:45
shivapoudel a3d4d87ca5 Remove newline 2014-09-21 00:41:34 +05:45
shivapoudel f60444c969 Absolute path fix for class-wc-product-external.php 2014-09-21 00:40:53 +05:45
shivapoudel 5f05a78669 Line and indendation fix 2014-09-21 00:39:33 +05:45
shivapoudel 73b1185375 Removed newline ;) 2014-09-21 00:36:42 +05:45
shivapoudel 3addd725e7 Added newline ;) 2014-09-21 00:36:01 +05:45
shivapoudel a4ec52f788 Absolute path fix for class-wc-install.php 2014-09-21 00:35:02 +05:45
shivapoudel b94c4cc0a2 Added newline ;) 2014-09-21 00:33:04 +05:45
shivapoudel 342d3186db Found and fix indendation for multiline comments for class-wc-coupon.php :) 2014-09-21 00:31:22 +05:45
shivapoudel b4abca1c82 Found and fix indendation for multiline comments :) 2014-09-21 00:29:22 +05:45
shivapoudel 96df6bd961 Absolute path fix for WC_API class 2014-09-21 00:27:10 +05:45
shivapoudel 303a5b28d0 Absolute path fix for abstract classes :) 2014-09-21 00:24:49 +05:45
splashingpixels bf9c1689fb revised quick-edit featured product option not able to unselect 2014-09-19 10:49:26 -07:00
Loushou 1252db79f8 changed filter name to be past tense for clarity
loushou
2014-09-19 09:08:54 -07:00
Loushou becdc0977d filter to inform other plugins that order items have been saved in the admin
loushou
2014-09-19 08:57:02 -07:00
Mike Jolley 80d4a73f52 Added acceptance marks to PayPal Standard where applicable to replace generic PayPal icon. 2014-09-19 16:55:14 +01:00
Loushou 0f8c8886e0 adding the after
loushou
2014-09-19 08:34:34 -07:00
Loushou 09159f83c7 removing extra param and correcting whitespace 2014-09-19 08:05:25 -07:00
Mike Jolley 4803937222 Fix adding items to orders
* Fix - When manually adding items to an order, show tax columns.
* Fix - When manually adding items to an order, include variation data.

Closes #6313
2014-09-19 12:52:26 +01:00
Mike Jolley 08cf7c7406 Check order exists before sending
Closes #6310
2014-09-19 12:23:29 +01:00
Mike Jolley 8f62f00f4d Fix - When bulk editing, don't allow sale price to be negative.
Fixes #6325
2014-09-19 12:18:07 +01:00
Mike Jolley 1fb8582acf Merge pull request #6320 from ryanstockau/master
Fix infinite redirect loop on cart page
2014-09-19 10:57:25 +01:00
Mike Jolley fe3ee67b4f Merge pull request #6301 from anagio/master
Small grammar edit to template notice
2014-09-19 10:44:01 +01:00
Nicola Mustone 46689ce083 Fixing order notes date 2014-09-19 09:55:16 +02:00
Nicola Mustone 8a7ed9a053 Fixing currency position in reports 2014-09-19 09:23:58 +02:00
Ryan Stock 4998f88dc5 Fix infinite redirect loop on cart page
Fix for issue #6319:
https://github.com/woothemes/woocommerce/issues/6319
2014-09-19 13:24:31 +10:00
claudiosmweb 8c0ddfcb02 fixed admin post type filters, closes #6312 2014-09-18 17:10:02 -03:00
Loushou f17bb56891 filter to allow custom 'add line' buttons
loushou
2014-09-18 09:05:42 -07:00
Loushou f0c4b80113 filter for adding info before order item itemmeta in order metabox
loushou
2014-09-18 08:55:13 -07:00
Loushou 76f3049751 adding a method to allow default billing information in order metabox
loushou
2014-09-18 08:33:49 -07:00
anagio c1ba19991f Small grammar edit to template notice 2014-09-18 09:34:21 -04:00
Mike Jolley dd6fa30c3d Fix redirect on paginated search results
Fixes #6281
2014-09-18 13:23:00 +01:00
Mike Jolley 28e13bdab3 Add notice when order is no longer editable.
Closes #6298
2014-09-18 11:32:25 +01:00
Mike Jolley 579ec4ee0c Totals in taxes by date report.
Fixes #6299
2014-09-18 10:28:45 +01:00
Mike Jolley a092fce0c2 Ensure product exists in API call
Fixes #6288
2014-09-17 17:23:04 +01:00
Mike Jolley 8e35bbf0ba Clear transients for new parent when saving a grouped product. Closes #6278 2014-09-17 14:18:43 +01:00
Mike Jolley 493285f101 When updating order status, ensure its a valid WC order status.
Fixes #6285
2014-09-17 12:24:10 +01:00
Mike Jolley 1b68406202 Merge pull request #6284 from ragulka/rating-count-value
Allow getting rating count for a specific rating value
2014-09-17 12:05:45 +01:00
Mike Jolley 1d3b7a52c1 Improved headers sent notice to include file and line. 2014-09-17 11:40:54 +01:00
Mike Jolley 09a59a5e7e Prevent errors when adding 'zero-rated' tax on checkout. 2014-09-17 11:40:54 +01:00
Barry Kooij 06103c6cd2 Fixed a varation product width inheritance bug. 2014-09-17 11:00:14 +02:00
Illimar Tambek fb19f5b9c5 Improve naming & comments 2014-09-17 11:27:43 +03:00
Illimar Tambek 386011ffae Allow getting rating count for a specific rating number 2014-09-17 11:03:10 +03:00
claudiosmweb 8719910441 Fixed WooCommerce submenu in multisites
reported in
https://wordpress.org/support/topic/error-message-in-multi-site-from-223

@mikejolley
2014-09-16 19:03:50 -03:00
Mike Jolley 955f497dd7 Prevent headers being sent by wp_send_json()
Fixes #6244
2014-09-16 13:24:05 +01:00
Barry Kooij 72c6f262f1 Width should be allowed to be set in a Product Variation. 2014-09-16 14:02:26 +02:00
Barry Kooij b1daae5d0d Setup variable to prevent a notice if no variable data is set. 2014-09-16 13:21:09 +02:00
Mike Jolley d6c1643a12 Merge pull request #6266 from maxrice/fix-6255
Use `note` for creating/updating order with customer note
2014-09-16 10:51:37 +01:00
Mike Jolley ce1236bd95 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	readme.txt
2014-09-16 10:48:46 +01:00
Mike Jolley a3b522aff8 Prepare update queries. 2014-09-16 10:45:28 +01:00
Mike Jolley 6dd8b11762 Fixed minor XSS issue on reports screens by escaping and sanitizing 'range' GET variable. 2014-09-16 10:33:47 +01:00
claudiosmweb 6a0d5ebf0c Fixed number of processing orders display
Reported in
http://wordpress.org/support/topic/number-of-processing-orders-missing-from-left-panel

Cannot use wc_get_order_type() before wc_register_order_type()

@mikejolley
2014-09-15 23:32:34 -03:00
claudiosmweb 8464ad0b17 improved the WC_Admin_Post_Types::media_view_strings() 2014-09-15 22:10:20 -03:00
claudiosmweb 89a0c82b54 fixed "Set product image" media gallery title in non-product post type, closes #6267 2014-09-15 19:09:25 -03:00
Max Rice 445aaa78f9 Use `note` for creating/updating order with customer note
Fixes #6255
2014-09-15 14:44:11 -04:00
claudiosmweb f9454b7c3b fixed the decimal format in wc_save_order_items() for taxes, close #6253 2014-09-15 14:03:14 -03:00
Barry Kooij 9723ed8096 Added settings sub title styling 2014-09-15 17:47:01 +02:00
Mike Jolley 41362ab60c Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	readme.txt
2014-09-15 16:38:32 +01:00
Mike Jolley 75eb07c974 Fix paypal mobile checkout. Closes #6165 2014-09-15 16:38:07 +01:00
Barry Kooij a93b107e55 removed unused default 2014-09-15 17:30:15 +02:00
claudiosmweb db8a07a8b8 removed "or" in favor to "||" 2014-09-15 10:57:46 -03:00
Mike Jolley d2fc731d4e Merge pull request #6258 from shivapoudel/patch-2
Some changes in WC_Cart
2014-09-15 09:46:20 +01:00
Mike Jolley 82bab9d71d Merge pull request #6245 from 75nineteen/master
Fix duplication in Ship to Multiple Locations ext
2014-09-15 09:44:31 +01:00
Shiva Poudel 0b58d335b8 Reverted access public
Thanks! @tamarazuk
2014-09-15 08:17:19 +05:45
Shiva Poudel 6e58c45196 @access public in docblock 2014-09-15 01:40:24 +05:45
Shiva Poudel 40fe9ffd2f check_cart_item_validity() should have have public 2014-09-15 01:37:51 +05:45
Shiva Poudel 40ec40a411 Found and fix docblock comment 2014-09-15 01:35:22 +05:45
Shiva Poudel 8e09892064 better at get_option() @ L91 2014-09-15 01:33:13 +05:45
Shiva Poudel a4f6b0f9f9 Converted Indentations to tabs 2014-09-15 01:29:56 +05:45
Shiva Poudel f829e53a96 New line for docblock 2014-09-15 01:24:50 +05:45
Shiva Poudel ccf15ff06b Better docblock ;) 2014-09-15 01:22:48 +05:45
Shiva Poudel cf421b1c12 OOPS! again time constant 2014-09-15 01:18:46 +05:45
Shiva Poudel a2ab230efb Use of time constant 2014-09-15 01:17:14 +05:45
Shiva Poudel 1e7a3ae6d3 indendation Improvement for WC_Cart 2014-09-15 01:14:32 +05:45
claudiosmweb b47e649e6a Improved the translation update messages
When is multisite shows only the button for download directly
If not is multisite will show the button for make the download with the
WordPress update system and the button to download directly
And added a new button to hide the update message

@mikejolley
2014-09-12 19:32:21 -03:00
claudiosmweb dc0122a4d6 Created method for install the translations directly
This will download the package directly from Github and install using
WP_Filesystem()

@mikejolley
2014-09-12 18:55:50 -03:00
75nineteen Media 8b48fc4267 Fix duplication in Ship to Multiple Locations ext
This should solve the issues related to multiple locations getting
duplicated costs.
2014-09-12 11:11:40 -04:00
Mike Jolley 857f85fd8e Merge pull request #6242 from chrisnharvey/patch-1
Fixing typo with get_error_message being referenced as a property
2014-09-12 14:20:36 +01:00
Mike Jolley 59ef851302 Readme for #6243 2014-09-12 14:18:11 +01:00
Chris Harvey 4d72eedae2 Checking password reset key using phpass 2014-09-12 14:03:39 +01:00
claudiosmweb 066eb3c5b0 fixed wc_get_order_status_name() appear as wc 2.1 order status 2014-09-12 10:01:49 -03:00
Chris Harvey 4a8ad5f09d Fixing typo with get_error_message being referenced as a property 2014-09-12 13:36:17 +01:00
Mike Jolley aee2b62c85 Added woocommerce_get_settings_ID filters.
Closes #6231
2014-09-12 12:20:06 +01:00
Mike Jolley 79ce7ab926 If a refund fails, delete refund post.
Fixes #6238
2014-09-12 10:09:26 +01:00
Mike Jolley accd20aaae Merge pull request #6235 from woothemes/6226-fix-order-fields-on-checkout
Dynamically get the address fields in WC_Checkout::create_order()
2014-09-12 09:41:33 +01:00
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