Commit Graph

420 Commits

Author SHA1 Message Date
Mike Jolley 5ae6dd056b Hide shipping class if variation is virtual Closes #4972 2014-02-27 11:53:46 +00:00
Coen Jacobs a891fb82d4 Fixing the typo fix :) 2014-02-27 12:33:00 +01:00
JustinSainton 9b0ddb2bd3 Copypasta fix in docs. 2014-02-26 10:42:35 -08:00
Mike Jolley 41183d1663 wc_delete_shop_order_transients functions and trigger when order status updates. Closes #4875 2014-02-26 15:43:19 +00:00
Mike Jolley 1f3d2632ed Filters to restrict granting/revoking access to files Closes #4952 2014-02-26 12:35:11 +00:00
lekiend 41962f044f Update html-admin-page-status-report.php
Status report shows update also if update version is lower than current version.
It should show updates only for version number greather than current version
2014-02-26 10:55:27 +01:00
Mike Jolley e73aa65440 Ensure product exists before getting title. Closes #4916 2014-02-25 14:48:55 +00:00
Mike Jolley 9a52c5dd43 Combine two meta queries into one #4901 2014-02-25 13:33:55 +00:00
Mike Jolley 4789223f32 Fix variation level reporting Closes #4885 2014-02-24 17:10:08 +00:00
Chuck Mac ed952f4698 Passing post_id to the coupon save action
Pass post_id to the woocommerce_coupon_options_save action so we know what
coupon ID is being saved.
2014-02-23 10:27:27 -05:00
Mike Jolley 90b042573e Transifex links 2014-02-21 15:29:42 +00:00
Coen Jacobs 9f5ebda756 Merge pull request #4888 from JustinSainton/patch-1
capital_p_dangit()
2014-02-21 13:22:51 +01:00
Mike Jolley 78d48cc597 Use get_col for sku search - return multiple results. 2014-02-21 10:35:41 +00:00
JustinSainton d64fc3a764 capital_p_dangit() 2014-02-21 00:47:42 -08:00
Mike Jolley f35c3708bb Rounding order_tax and order_shipping_tax restricts our ability to get an accurate tax_total after an order is made. Fixes some paypal rounding requests.
@coenjacobs
2014-02-20 15:41:08 +00:00
Mike Jolley c7a129c7fd Only show settings link if method has_settings 2014-02-20 15:16:53 +00:00
Mike Jolley fbccfca522 Correctly join post meta to fix order searches Closes #4855 2014-02-19 16:11:20 +00:00
Mike Jolley f1f7b84db9 Sanitize screen id. Closes #4788 2014-02-19 14:30:21 +00:00
Mike Jolley 3f8b314431 Run array_unique on results of order search Closes #4855 2014-02-19 14:27:09 +00:00
Mike Jolley 9303908d7b Use md5 hash for transient names so that the lengths are valid. Closes #4851 2014-02-19 14:05:36 +00:00
Mike Jolley 8c7996e5b1 Fix notice when left blank 2014-02-17 14:54:06 +00:00
Mike Jolley f9251084d9 woocommerce_get_sections_{id} filters Closes #4817 2014-02-17 14:30:42 +00:00
Mike Jolley c0c21c8364 Unify textdomains Closes #4814 2014-02-17 13:14:45 +00:00
Coen Jacobs e2ebb387f7 Better workaround for esc_url stripping spaces #4842 2014-02-17 11:48:43 +01:00
Coen Jacobs a19266b955 esc_attr instead of esc_url to preserve spaces in img src #4842 2014-02-17 11:29:36 +01:00
Mike Jolley 84e754e298 Update docblocks 2014-02-14 14:29:39 +00:00
Mike Jolley 94693ea81d Admin screen strings need to be sanitised to work with chinese chars Closes #4788 2014-02-14 10:57:48 +00:00
Mike Jolley 69748cd4e3 Force a valid base when saving permalinks 2014-02-14 10:43:15 +00:00
tamarazuk d16fa41f05 Dashboard: Fixes # of "out of stock" products
Use woocommerce_notify_no_stock_amount rather than woocommerce_notify_low_stock_amount to count out of stock products
2014-02-14 00:06:30 -05:00
Mike Jolley 4fe91a0900 Tweak the order of checks in bulk_and_quick_edit_save_post to make it more efficient on autosave #4765 2014-02-13 11:01:43 +00:00
Mike Jolley 403e90008d Fix line total display for order fees Closes #4766 2014-02-13 10:25:15 +00:00
Mike Jolley 5ed8527204 Merge pull request #4749 from kloon/master
Fix variation download file url save for Amazon S3 extension.
2014-02-13 10:01:03 +00:00
James Koster f2f919ebca stock report icons. closes #4753 2014-02-13 09:38:08 +00:00
Gerhard 75da5d829a Fix variation download file url save for Amazon S3 extension. 2014-02-12 21:17:09 +02:00
Mike Jolley 29b59cc74f Vars in report classes Closes #4720 2014-02-12 12:26:32 +00:00
Mike Jolley 5da7cc05ce Added tinymce buttons relevant to the short description 2014-02-12 09:49:13 +00:00
Mike Jolley 1f1a925fdd Add versions to all scripts + styles to ensure browser cache is cleared 2014-02-12 09:23:06 +00:00
Mike Jolley 0bffeca947 Set $time Closes #4718 2014-02-11 16:03:02 +00:00
Mike Jolley 26d0e711cd Need to actually check $outdated. Derp. @coenjacobs 2014-02-11 15:13:51 +00:00
Mike Jolley 39f5b8aec0 Function comment #4714 2014-02-11 13:47:46 +00:00
Mike Jolley aff704ae6e New notice aimed at identifying out of date template files in a theme. Also improves the status page.
@coenjacobs
2014-02-11 13:33:56 +00:00
Mike Jolley b0755f695f Sections can be lowered using sanitize_title Closes #4700
@coenjacobs pick me
2014-02-11 10:30:37 +00:00
James Koster b85a881cc5 allow line breaks in customer addresses on order details page. closes #4709 2014-02-11 09:56:47 +00:00
Coen Jacobs 0033d6d116 Code standards update for #4675 2014-02-10 10:47:26 +01:00
Coen Jacobs e934f293e9 Merge pull request #4675 from shoheitanaka/patch-1
$tax_code was url encoded , so decode it.
2014-02-10 10:45:41 +01:00
Mike Jolley 3eaef1d0f3 Merge pull request #4662 from Spreeuw/master
fixes date display on customer list page
2014-02-10 09:28:08 +00:00
Shohei Tanaka f03dde7868 $tax_code was url encoded , so decode it.
I can't read tax code at this box, if used Japanese in tax code. I want to read it in Japanese, so decode here.
2014-02-08 15:50:03 +09:00
claudiosmweb bfe3020897 removed unused global vars in WC_Report_Coupon_Usage::output_report, closes #4665 2014-02-07 15:37:31 -02:00
Ewout Fernhout fe8335bbaf fixes date display on customer list page 2014-02-07 15:50:11 +01:00
Mike Jolley 1ea1bb1a09 Translation credits 2014-02-07 13:06:20 +00:00
Mike Jolley 545441b2e3 Multiple attribute for email box Closes #4659 2014-02-07 10:10:50 +00:00
Mike Jolley 2dd73acb9d Context for checkout string Closes #4646 2014-02-06 15:46:18 +00:00
Mike Jolley 8d52b8d243 No class exist check needed for files included once #4616 2014-02-05 15:02:30 +00:00
Mike Jolley 9222e6a854 woocommerce_coupon_options Hook breaks custom options - used in 2 places. May have been mistake 2014-01-31 14:48:23 +00:00
toddlahman 13c24b410e Removed (document).ready from jQuery scripts
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.

http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
Mike Jolley 4abcc331dd Ensure stock status is set for variations after setting to 0 Closes #4587 2014-01-29 14:39:55 +00:00
Mike Jolley ad17813e70 Merge pull request #4590 from toddlahman/master
Removed urldecode from $_GET and $_REQUEST and Removed (document).ready from wc_print_js()
2014-01-28 09:58:59 -08:00
Mike Jolley 6f3e8c182e Ensure gateways get loaded prior to emailing out Closes #4577 2014-01-28 12:36:20 +00:00
Mike Jolley 663bf25d79 Merge pull request #4569 from helgatheviking/master
add apply_filters to the product filters on the edit.php screen
2014-01-28 04:21:33 -08:00
Mike Jolley 239d673646 Change featured image notation to product Closes #4586 2014-01-28 11:58:20 +00:00
Kathy Darling 77f5e9cf1d Merge branch 'master' of github.com:woothemes/woocommerce 2014-01-27 19:02:31 +01:00
Emyr Thomas fdc1d81814 Add 'woocommerce_product_short_description_editor_settings' filter to allow modification of the settings for the wp_editor in the product short description meta-box. 2014-01-27 14:23:58 +00:00
Mike Jolley f2ac6df16c check for default Closes #4571 2014-01-26 13:59:10 +00:00
Mike Jolley 9d55ede6b1 Merge pull request #4568 from maxrice/rest-api-fixes
More REST API tweaks
2014-01-26 04:33:02 -08:00
toddlahman 2725527d4a Removed urldecode from $_GET and $_REQUEST
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.

See Notes:

http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
splashingpixels 8f5bf6dde7 Replaced deprecated jQuery live methods with on 2014-01-24 10:34:48 -08:00
Kathy Darling bf06494efc add apply_filters to the product filters on the edit.php screen 2014-01-24 14:50:04 +01:00
Max Rice ac1cd5d23d Fix API keys permissions bug
When API keys were generated for the first time, the permissions
weren’t set, which required an additional save before they were set.
This commit fixes this to set `read` permissions by default when
initially generating API keys.

Part of #4055
2014-01-23 16:24:16 -05:00
Mike Jolley 1a416875f8 Format prices when using quick edit 2014-01-22 15:36:29 +00:00
Mike Jolley 3958a40b06 No span for checkbox descriptions 2014-01-22 15:27:42 +00:00
Mike Jolley 986f612bf7 tidy up checkbox output 2014-01-22 15:22:58 +00:00
Kathy Darling f93abb7acb fix for #4547 2014-01-22 13:54:25 +01:00
Mike Jolley 4fb500fad9 Merge pull request #4554 from claudiosmweb/fix_shop_order_columns
Fix warning in order list screen
2014-01-21 15:41:36 -08:00
Mike Jolley fc4f813f71 Merge pull request #4552 from claudiosmweb/fix_4549
Hotfix for #4549
2014-01-21 15:39:30 -08:00
claudiosmweb b60629e9b4 fixed some coding standards in includes/admin/reports/class-wc-report-sales-by-category.php 2014-01-21 20:14:26 -02:00
claudiosmweb b717bca380 fixed the indentation in includes/admin/reports/class-wc-report-sales-by-category.php 2014-01-21 20:11:05 -02:00
claudiosmweb 43e86f3e28 added a placeholder to select in category widget on reports page 2014-01-21 20:10:40 -02:00
claudiosmweb 7e3268b7f0 fixed some coding standards in includes/admin/post-types/class-wc-admin-cpt-shop_order.php 2014-01-21 19:04:09 -02:00
claudiosmweb 9518cfdd31 fixed the indentation in includes/admin/post-types/class-wc-admin-cpt-shop_order.php 2014-01-21 18:52:07 -02:00
claudiosmweb ed938f85d3 fixed the order notes tooltip 2014-01-21 18:51:52 -02:00
claudiosmweb ae1c837e36 fixed some coding standards in includes/admin/reports/class-wc-report-coupon-usage.php 2014-01-21 18:23:42 -02:00
claudiosmweb 655bd20da1 fixed the indentation in includes/admin/reports/class-wc-report-coupon-usage.php 2014-01-21 18:20:35 -02:00
claudiosmweb 90373836bb fixed empty coupons select in reports page, fixes #4549 2014-01-21 18:20:13 -02:00
Mike Jolley 0ceb0d194b Include admin functions for less complier on install. Closes #4527 2014-01-21 11:24:48 +00:00
Mike Jolley f33c6a0970 Merge pull request #4539 from kloon/master
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes
2014-01-21 03:14:27 -08:00
Gerhard 52267220e4 wc_clean on download url instead of esc_url to support shortcodes 2014-01-21 13:09:27 +02:00
Gerhard 9eaf0225b0 Remove esc_url_raw to allow for using of amazon s3 and other shortcodes in file url 2014-01-20 21:12:26 +02:00
Mike Jolley 98e49e3b99 Delete tax rates transients on settings save Closes #4503 2014-01-20 16:00:15 +00:00
claudiosmweb 9abf6f63ab fixed some coding standards in includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php 2014-01-15 02:02:29 -02:00
claudiosmweb 990e765c24 fixed the indentation in includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php 2014-01-15 01:58:07 -02:00
claudiosmweb 030cab584d fixed validation for "Exclude products" in coupons metabox, fixes #4509 2014-01-15 01:57:41 -02:00
Brent Shepherd 6610f71d5a Fix order discount input label "for" attribute 2014-01-13 18:10:19 -08:00
Mike Jolley 69694e7a13 Actions in each section of coupon admin Closes #4500 2014-01-13 12:51:00 +00:00
Mike Jolley 03f8d500a2 Input styling fixes 2014-01-13 12:46:54 +00:00
Mike Jolley fcf43d9ac0 Customisable names for radios and checkboxes Closes #4493 2014-01-13 12:28:29 +00:00
Mike Jolley dc880c7af7 Missing updated class 2014-01-13 11:35:02 +00:00
claudiosmweb 3d0fbc5204 fixed coding standards in includes/admin/class-wc-admin-dashboard.php 2014-01-10 22:18:28 -02:00
claudiosmweb 34213f0a84 fixed the indentation in includes/admin/class-wc-admin-dashboard.php 2014-01-10 22:15:33 -02:00
claudiosmweb 2dd9d81f3d fixed hard code string, fixes #4489 2014-01-10 22:14:27 -02:00
Mike Jolley 48300f4ebf woocommerce_reports_get_order_report_query Closes #4477 2014-01-09 13:57:42 +00:00