Commit Graph

14540 Commits

Author SHA1 Message Date
Mike Jolley 1af02c45bc Merge pull request #9940 from helgatheviking/filter-attribute-dropdown-markup
filter the variable product attribute dropdown html
2016-01-05 10:13:22 +00:00
Fredrik Forsmo b589d22a84 Improve docblock comments in WC_Report_Customers class
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets`, `customers_vs_guests` since it
was `method function`
* Added missing `exit if accessed directly`
* Updated `get_main_chart` comment since it is wrong.
2016-01-05 11:11:20 +01:00
Mike Jolley 7b58db9ecb Merge pull request #9946 from shivapoudel/paypal-tweaks
Tweak paypal gateway docblocks and comments
2016-01-05 10:09:09 +00:00
Fredrik Forsmo c0be061de6 Add missing docblock param tags to WC_Report_Low_In_Stock class 2016-01-05 11:08:12 +01:00
Mike Jolley 349d6c20ac Merge pull request #9947 from shivapoudel/typo-fix
Fix - Typo in docblock for 'gruoped' -> 'grouped'
2016-01-05 10:05:32 +00:00
Fredrik Forsmo 130ff76ffc Improve docblock comments in WC_Report_Customer_List class
* Added missing `public` before `column_default` function
* Added comment to `__construct `, `column_default`, `get_columns` and
`prepare_items` since it was `method function`
2016-01-05 10:00:52 +01:00
Fredrik Forsmo e0f5117efe Improve docblock comments in WC_Report_Coupon_Usage class
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets` since it was `method function`
* Updated `coupons_widget` comment since it is wrong.
* Added missing `exit if accessed directly`
2016-01-05 09:54:43 +01:00
Fredrik Forsmo 004ab615c5 Improve phpdoc comments in WC_Admin_Report class
* Added comments to properties that don’t have any.
* Fixed return value for `prepare_chart_data`.
* Added comment to `get_chart_widgets` since it was `method function`
2016-01-05 09:48:39 +01:00
Shiva Poudel a3889d1a17 Fix - Typo in docblock for 'gruoped' -> 'grouped' 2016-01-05 11:16:54 +05:45
Shiva Poudel 66e3581308 Tweak paypal gateway docblocks and comments 2016-01-05 11:08:01 +05:45
Claudio Sanches 9f5f1bd4fe Merge pull request #9943 from frozzare/docs/admin-wc-meta-boxes
Add missing phpdoc param tags to all WC_Meta_Box_* classes
2016-01-04 20:01:50 -02:00
Fredrik Forsmo da2e0ac950 Add missing phpdoc param tags to all WC_Meta_Box_* classes 2016-01-04 22:31:36 +01:00
Claudio Sanches efb6c0d430 Merge pull request #9941 from frozzare/docs/admin-wc-tax-rate-importer
Improve phpdoc comments in WC_Tax_Rate_Importer class
2016-01-04 18:40:40 -02:00
Mike Jolley ae42781027 extra escaping in search 2016-01-04 19:14:18 +00:00
Mike Jolley e4e4428343 Speed up numeric order searches
Closes #9942
2016-01-04 18:58:14 +00:00
Fredrik Forsmo 749a09c64a Improve phpdoc comments in WC_Tax_Rate_Importer class 2016-01-04 17:07:23 +01:00
Kathy Darling 70778ad575 filter the variable product attribute dropdown html 2016-01-04 10:31:43 -05:00
Claudio Sanches 40d76ddc55 Merge pull request #9939 from frozzare/docs/abstract-wc-widget
Improve phpdoc comments for methods in abstract WC_Widget class
2016-01-04 12:59:32 -02:00
Fredrik Forsmo 513db93bd4 Improve phpdoc comments for methods in abstract WC_Widget class 2016-01-04 15:37:12 +01:00
Claudio Sanches 312b7142c1 Merge pull request #9938 from frozzare/docs/abstract-wc-shipping-method
Improve phpdoc comments for methods in abstract WC_Shipping_Method class
2016-01-04 12:21:12 -02:00
Fredrik Forsmo 39f37b1e30 Improve phpdoc comments for methods in abstract WC_Shipping_Method class 2016-01-04 15:18:14 +01:00
Mike Jolley b95f472e1f Merge pull request #9937 from frozzare/docs/abstract-wc-product
Improve phpdoc comments and add missing param tags in abstract WC_Product class
2016-01-04 12:03:45 +00:00
Fredrik Forsmo 450ae6e7fd Improve phpdoc comments and add missing param tags 2016-01-04 12:43:56 +01:00
Mike Jolley 520f1de24b Merge pull request #9932 from frozzare/wc-order-phpdoc
Fix phpdoc tags for methods in abstract WC_Order class
2016-01-04 11:08:45 +00:00
Mike Jolley 68c2ffa475 Merge pull request #9933 from frozzare/docs/wc-payment-gateway
Add better phpdoc comments and missing param and return value
2016-01-04 11:07:10 +00:00
Mike Jolley a70f1d7852 Fix row selection in tax settings screen 2016-01-04 11:04:52 +00:00
Mike Jolley 1228ae348c Fix change event on tax settings screen 2016-01-04 10:54:34 +00:00
Mike Jolley 5aac7062e5 thumbnail size
Closes #9928
2016-01-04 10:46:11 +00:00
Mike Jolley 9890c18b5d Notice if called early.
Closes #9923
2016-01-04 10:43:51 +00:00
Fredrik Forsmo 9c8ef67249 Add better phpdoc comments and missing param and return value 2016-01-03 10:22:53 +01:00
Fredrik Forsmo b4a04a73ce Fix phpdoc tags for methods in abstract WC_Order class 2016-01-03 10:00:02 +01:00
Mike Jolley 8b9bdbb228 Product version storage to invalidate cache when needed
#9922 for @daigo75
2015-12-31 16:31:20 +00:00
Mike Jolley 7c7e21be50 Only use the 'function' portion when generating price hashes
Keeps hashes the same after page load when a plugin uses a class method
callback or anonymous function Closes #9922 @claudiosmweb
2015-12-31 16:21:12 +00:00
Mike Jolley 429fee1703 JSON instead of serialise should reduce storage size
#9922
2015-12-31 13:15:01 +00:00
Mike Jolley ce43fb9920 Merge pull request #9917 from ChromeOrange/master
Correct a to an
2015-12-30 13:57:53 +00:00
Andrew Benbow d4f4e7625c Correct a to an
SSL is pronounced "es es el" and so requires an not a, see Use 6 here http://www.englishpage.com/articles/a-vs-an.htm
2015-12-29 20:35:13 +00:00
Mike Jolley 03ba8539f6 Stop coupon logic when 0 is hit so coupons can apply to other lines
Fixes #9870
2015-12-29 13:16:43 +00:00
Claudio Sanches 3cbe88082f Fixed simplify commerce admin notices position, closes #9911 2015-12-28 16:07:05 -02:00
Mike Jolley c1b8a20d39 Order attributes by name
Closes #9879
2015-12-27 21:32:55 +00:00
Mike Jolley 1eb9f83f77 Hide attributes and shipping classes from quick edit
Closes #9882
2015-12-24 12:16:02 +00:00
Mike Jolley 0b678ab2af Tweak save logic to set _price for variables/groups via sync functions only
Closes #9892
2015-12-23 13:08:45 +00:00
Mike Jolley 9db40dcda0 Merge remote-tracking branch 'origin/master' 2015-12-23 12:51:06 +00:00
Mike Jolley 717eaaa421 Merge branch 'pr/9890' 2015-12-23 12:50:44 +00:00
Mike Jolley 4bf40cedb1 Tweak logic 2015-12-23 12:50:28 +00:00
Mike Jolley 9a700f8b48 Merge pull request #9891 from capuderg/master
Added a filter for disabling automatic redirect to the setup wizard
2015-12-23 12:32:51 +00:00
Mike Jolley 606d9235b5 Merge pull request #9894 from WPprodigy/bug-shipping-tax-class
Sanitize the shipping tax class
2015-12-23 12:21:11 +00:00
Peter 00341a30b3 Revert "[API] Additional hooks in API Orders"
This reverts commit fb798aca49.
2015-12-22 23:55:03 +01:00
Peter fb798aca49 [API] Additional hooks in API Orders
Add some additional hooks to handle custom order data

The new hooks:
woocommerce_api_create_order_item
woocommerce_api_set_order_addresses
woocommerce_api_set_line_item

The new woocommerce_api_create_order_item action contains the id-s of the new items ($new_item_id). The following functions have to be returned the item id-s to be able to pass them to the filter:
* set_item(..) function - return $item_id; 
* set_line_item(..) function - return $item_id;
* set_shipping(..) function - return $shipping_id;
* set_fee(..) functuion - return $fee_id;
* set_coupon(..) functuion - return $coupon_id;
2015-12-22 23:49:01 +01:00
Caleb Burks bedcedcc3d Sanitize the shipping tax class 2015-12-22 08:59:42 -06:00
Gregor Capuder f785561f5f Added a filter for disabling automatic redirect to the setup wizard, after plugin activation. 2015-12-22 12:03:31 +01:00