Commit Graph

2937 Commits

Author SHA1 Message Date
shivapoudel ab52b93592 Absolute path and Indentation fix for includes/admin/settings/*.php :) 2014-09-21 01:40:47 +05:45
shivapoudel 8c211705ca Absolute path and Indentation fix for includes/admin/importers/*.php :) 2014-09-21 01:39:24 +05:45
shivapoudel 4091fe00ad Absolute path and Indentation fix for includes/admin/{roots-files}.php :) 2014-09-21 01:37:30 +05:45
shivapoudel 11a1be6b12 Absolute path and Indentation fix for includes/shipping/*.php :) 2014-09-21 01:29:32 +05:45
shivapoudel bc5156ff4a Absolute path and Indentation fix for includes/gateways/*.php :) 2014-09-21 01:27:58 +05:45
shivapoudel fedb4dae7c Absolute path and Indentation fix for includes/widgets/*.php :) 2014-09-21 01:22:45 +05:45
shivapoudel e1eb62aa8e Absolute path and Indentation fix for includes/walkers/*.php :) 2014-09-21 01:20:47 +05:45
shivapoudel f170f461b3 Absolute path and Indentation fix for includes/updates/*.php :) 2014-09-21 01:19:50 +05:45
shivapoudel e53539f447 Indentation and new lines fix for includes/shortcodes :) 2014-09-21 01:18:32 +05:45
shivapoudel d2272cd79b Absolute path and Indentation fix for includes/libraries/class-cssmin.php :) 2014-09-21 01:17:11 +05:45
shivapoudel 5e09f15c91 Absolute path and Indentation fix for includes/emails/*.php :) 2014-09-21 01:15:40 +05:45
shivapoudel c60ce1ec93 Absolute path fix for REST API v1 2014-09-21 01:12:54 +05:45
shivapoudel e6f6bcf368 Absolute path fix for REST API v2 2014-09-21 01:09:20 +05:45
shivapoudel e28e31fe63 Absolute path fix for wc-term-functions.php 2014-09-21 00:56:49 +05:45
shivapoudel f4fd45a3cc Absolute path fix for wc-template-hooks.php 2014-09-21 00:56:09 +05:45
shivapoudel 8884266bac Absolute path fix for wc-template-functions.php 2014-09-21 00:55:45 +05:45
shivapoudel 58595f0f2b Absolute path fix for wc-order-functions.php 2014-09-21 00:55:04 +05:45
shivapoudel 60e4250ba6 Absolute path fix for wc-notice-functions.php 2014-09-21 00:54:43 +05:45
shivapoudel 893e1e508c Absolute path fix for wc-formatting-functions.php 2014-09-21 00:54:16 +05:45
shivapoudel 60fb5595aa Absolute path fix for wc-deprecated-functions.php 2014-09-21 00:53:35 +05:45
shivapoudel ddb8c62618 Absolute path fix for wc-coupon-functions.php 2014-09-21 00:52:35 +05:45
shivapoudel 5eaa138d21 Absolute path fix for wc-core-functions.php 2014-09-21 00:52:11 +05:45
shivapoudel 1f9ba73b96 Absolute path fix for wc-conditional-functions.php 2014-09-21 00:51:46 +05:45
shivapoudel eab625e185 Absolute path fix for wc-cart-functions.php 2014-09-21 00:51:15 +05:45
shivapoudel 5ab2bdcca4 Absolute path fix for wc-attribute-functions.php 2014-09-21 00:49:38 +05:45
shivapoudel 3a38fba2b0 Absolute path fix for class-wc-webhook.php 2014-09-21 00:48:51 +05:45
shivapoudel 03c3e27c5d Indendation fix by .editorconfig 2014-09-21 00:47:51 +05:45
shivapoudel 961f147d18 Absolute path fix for class-wc-shipping.php 2014-09-21 00:46:02 +05:45
shivapoudel 2200a3ae2e Absolute path fix for class-wc-session-handler.php 2014-09-21 00:44:26 +05:45
shivapoudel 922e74e984 Absolute path fix for class-wc-query.php 2014-09-21 00:43:54 +05:45
shivapoudel 1f4db18e7f Absolute path fix for class-wc-product-variation.php 2014-09-21 00:43:30 +05:45
shivapoudel 26d4abb88c Absolute path fix for class-wc-product-variable.php 2014-09-21 00:42:58 +05:45
shivapoudel f81f670a06 Absolute path fix for class-wc-product-simple.php 2014-09-21 00:42:32 +05:45
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
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