Commit Graph

3826 Commits

Author SHA1 Message Date
Justin Shreve fd952e8efa Payment Gateways API 2016-09-05 14:49:29 -07:00
Aristeides Stathopoulos 6ac7f03241 Generic.Formatting.DisallowMultipleStatements.SameLine 2016-09-02 06:40:52 +03:00
Aristeides Stathopoulos 2346c3b735 Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace 2016-09-02 06:15:49 +03:00
Aristeides Stathopoulos c6a87301c1 Squiz.Commenting.InlineComment.SpacingBefore 2016-09-02 05:48:11 +03:00
Aristeides Stathopoulos 39d4d4bd69 Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar 2016-09-02 05:40:36 +03:00
Aristeides Stathopoulos cc0b29ccf4 PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket 2016-09-02 05:00:46 +03:00
Aristeides Stathopoulos d4e3faf014 PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket 2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos 8fe4cd65a4 PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket 2016-09-02 04:12:22 +03:00
Aristeides Stathopoulos e07511502d Additional coding-standards fixes. 2016-09-02 03:26:24 +03:00
Aristeides Stathopoulos fde1037757 fix failing tests. 2016-09-01 23:50:14 +03:00
Mike Jolley 402d0ff077 Merge branch 'master' into pr/11797
# Conflicts:
#	includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
#	includes/api/class-wc-rest-coupons-controller.php
#	includes/class-wc-coupon.php
#	tests/unit-tests/api/coupons.php
#	tests/unit-tests/coupon/crud.php
2016-09-01 11:43:31 +01:00
corsonr 8cb17c1923 branch conflict fix 2016-08-30 14:30:05 +02:00
Mike Jolley 499e190efb Merge pull request #11785 from woothemes/coupon-exceptions
Coupon Exceptions and REST/CRUD improvements
2016-08-30 11:44:19 +01:00
Mike Jolley df35845d4d wc_get_coupon_id_by_code 2016-08-30 11:43:53 +01:00
Oliver Juhas 9a0c283b10 Making sure `wc_get_screen_ids` function exists
This is a fix for issue #11795
2016-08-27 16:46:23 +02:00
Aristeides Stathopoulos 72696901f3 WordPress.WhiteSpace.OperatorSpacing.SpacingAfter 2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos fb62d280b5 WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore 2016-08-27 09:07:42 +03:00
Aristeides Stathopoulos e69fafbda7 WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter 2016-08-27 09:06:22 +03:00
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos a19848978a WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis 2016-08-27 07:47:24 +03:00
Aristeides Stathopoulos 9543c7fe1c WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis 2016-08-27 07:29:49 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos d430dabb37 Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines 2016-08-27 07:04:18 +03:00
Aristeides Stathopoulos 741f2b954a Squiz.WhiteSpace.SuperfluousWhitespace.EndLine 2016-08-27 07:01:22 +03:00
Aristeides Stathopoulos 56fd004a72 WordPress.Arrays.ArrayDeclaration.FirstIndexNoNewline 2016-08-27 06:56:09 +03:00
Aristeides Stathopoulos 55075ce3a4 WordPress.Arrays.ArrayDeclaration.IndexNoNewline 2016-08-27 06:35:20 +03:00
Aristeides Stathopoulos 6c30f84fa2 WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys 2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos ff852038c9 WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys 2016-08-27 06:11:30 +03:00
Aristeides Stathopoulos 72ee94d11b WordPress.Arrays.ArrayDeclaration.SpaceBeforeComma 2016-08-27 05:46:40 +03:00
Aristeides Stathopoulos 0b0f67ad28 WordPress.Arrays.ArrayDeclaration.SpaceAfterDoubleArrow 2016-08-27 05:36:32 +03:00
Aristeides Stathopoulos 58b9df6564 WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis 2016-08-27 05:23:54 +03:00
Aristeides Stathopoulos 32ddc22465 WordPress.Arrays.ArrayDeclaration.NoSpaceAfterComma 2016-08-27 05:14:16 +03:00
Aristeides Stathopoulos ec8a0b288b PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast 2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Shiva Poudel 330215db42 Check tax object name before modifying label 2016-08-26 21:14:50 +05:45
Mike Jolley ed01282340 Made data match schema 2016-08-26 15:20:44 +01:00
Mike Jolley 210763e536 use CRUD in admin 2016-08-26 14:50:17 +01:00
Mike Jolley 627b08ba37 Test coverage 2016-08-25 17:42:47 +01:00
Mike Jolley 885231baba yoda 2016-08-25 17:10:59 +01:00
Mike Jolley 7f87800d8d Fix save order item function 2016-08-25 13:50:37 +01:00
Mike Jolley 25883f8687 Set_props helper to load data from DB and handle errors 2016-08-25 13:05:27 +01:00
Mike Jolley 077f57f139 Merge branch 'master' into WC_Data_Exception 2016-08-25 11:03:14 +01:00
Caleb Burks a3524c95f3 Filter instead of action 2016-08-24 18:26:14 -05:00
Caleb Burks dc876749cc Rename taxonomies at Appearance > Menus > Pages 2016-08-24 18:22:47 -05:00
Mike Jolley 0667c1cde1 Remove option based tools 2016-08-24 17:35:13 +01:00
Mike Jolley 84487d0f4b Shipping debug mode moved to shipping settings 2016-08-24 16:55:34 +01:00
Mike Jolley 26c4b3ce13 Delete if qty = 0 2016-08-24 16:09:39 +01:00
Mike Jolley 938361535f Exception handling 2016-08-24 16:02:19 +01:00
Claudio Sanches 2407a880f7 Updated the default colors for emails to match the Woo Style Guide
Closes #11748

cc @jameskoster
2016-08-22 20:59:56 -03:00
Mike Jolley 169780d31b woocommerce-message--success
Followed
https://github.com/woothemes/woocommerce/wiki/CSS-SASS-coding-guidelines
-and-naming-conventions

Closes #11722
2016-08-22 18:41:38 +01:00
Mike Jolley 2cea613566 Fix shipping meta save
#11601
2016-08-22 18:07:52 +01:00
Mike Jolley 7cf75f5085 Remove use of deprecated functions 2016-08-22 16:57:54 +01:00
Mike Jolley 95b11606fc get_product_from_item -> get_product 2016-08-22 16:51:24 +01:00
Mike Jolley c88984eb0e Replace add methods 2016-08-22 16:48:19 +01:00
Mike Jolley fdd7e797ba API get refunds 2016-08-22 13:15:15 +01:00
Mike Jolley 9e45927803 Create refund with crud 2016-08-22 13:15:15 +01:00
Mike Jolley 698c84827d Merge pull request #11717 from woothemes/improve-configure-terms
Change "Configure terms" into a link
2016-08-22 09:49:27 +01:00
Mike Jolley 9558c9e99a Merge pull request #11730 from woothemes/improve-log-viewer
Removed internal scroll from log viewer
2016-08-22 09:48:55 +01:00
Claudio Sanches f7bf0b1184 Improve save customer meta fields and removed extra escape function #11733 2016-08-20 13:02:04 -03:00
Claudio Sanches 4c8a60fa06 Allow checkboxes in customer profiles, closes #11733 2016-08-20 12:57:35 -03:00
Claudio Sanches 47177667aa Removed internal scroll from log viewer, closes #11729 2016-08-19 18:48:49 -03:00
Mike Jolley 3f4ffe8a49 More crud updates 2016-08-19 17:05:47 +01:00
Mike Jolley 190cd0bf86 Remove direct access of item props in admin 2016-08-19 15:08:00 +01:00
Mike Jolley 21ad196297 Use CRUD in wc_save_order_items 2016-08-19 13:43:33 +01:00
Claudio Sanches 2799bbdb27 Changed "Configure terms" into a link 2016-08-18 00:02:18 -03:00
Claudio Sanches b1ac42220a Merge pull request #11690 from sumnermic/patch-1
Add anchor attribute target "_blank"
2016-08-16 18:40:12 -03:00
Mike Jolley 5afac69f10 Fix write context errors 2016-08-15 17:50:02 +01:00
Mike Jolley eb45acf0d5 [2.6] Use method title in admin shipping dropdown
fixes #11678
2016-08-12 14:23:59 +01:00
sumnermic e336886afa Add anchor attribute target "_blank"
Add anchor attribute target "_blank" to Regenerate Thumbnails link. It's pretty annoying for it to not open in a new window/tab.
2016-08-12 13:58:54 +01:00
Mike Jolley 3b0af0c54b Merge pull request #11670 from woothemes/fix-reports-custom-daterange
Reports: Clean up custom date range UI
2016-08-12 10:36:48 +01:00
kellychoffman f41321fb27 input length: increased to 11 2016-08-11 15:59:25 -06:00
corsonr 51060807c4 remove un-necessary slashes 2016-08-11 16:07:40 +02:00
rspublishing f3956131bf Copy update in setup wizard 2016-08-11 08:40:12 +02:00
kellychoffman 9a7b391b74 custom date: add en dash, larger inputs, no hidden text 2016-08-10 10:35:42 -06:00
Mike Jolley efd390e951 Merge pull request #11645 from woothemes/orders-crud-function-update
Orders crud functions
2016-08-10 12:19:38 +01:00
Justin Shreve 35cae38aa2 Fix issues from PR review: sanitize/escape fixes in wp-admin, remove modes. 2016-08-09 10:14:47 -07:00
Justin Shreve 9dbd365be8 First pass at system status tools. Fully functioning endpoints for listing tools, listing data about a specific tool, and executing a tool. 2016-08-09 09:51:30 -07:00
Mike Jolley 8d58febaf8 Merge branch 'master' into orders-crud-function-update
# Conflicts:
#	includes/class-wc-checkout.php
2016-08-09 14:03:06 +01:00
Mike Jolley 39eb584321 Merge branch 'master' into orders-crud-function-update 2016-08-08 17:24:40 +01:00
Mike Jolley a6bb78b34a date created 2016-08-08 16:32:03 +01:00
Mike Jolley a8759fc0aa Meta/product handling 2016-08-08 16:20:15 +01:00
Mike Jolley c3aa933ad2 coupon 2016-08-08 15:25:22 +01:00
Mike Jolley 75975de58a Item meta 2016-08-08 15:22:00 +01:00
Mike Jolley 9bbf5df1fd Billing/shipping details 2016-08-08 14:49:53 +01:00
Job f5e45d254e update woothemes > woocommerce
changes in the help tab

WooThemes Helpdesk > WooCommerce Helpdesk
2016-08-08 15:37:30 +02:00
Mike Jolley cfe28c9b25 Made WC_Logger pluggable via wc_get_logger function.
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley 5eaee825f1 Ensure page_object is valid
Closes #11641
2016-08-08 12:14:41 +01:00
Mike Jolley 6bf05396c2 date_paid 2016-08-05 16:14:30 +01:00
Mike Jolley 0a0330bac0 customer_user 2016-08-05 16:09:40 +01:00
Mike Jolley 007a767657 billing_phone 2016-08-05 16:09:04 +01:00
Mike Jolley 7685587b22 payment_method 2016-08-05 16:04:41 +01:00
Mike Jolley 693e5ece36 billing_company 2016-08-05 16:03:09 +01:00
Mike Jolley 8d3b4bc5a4 payment_method_title 2016-08-05 15:59:55 +01:00
Mike Jolley 4d87665d95 get_customer_note 2016-08-05 15:59:32 +01:00
Mike Jolley 1c18c2f44a billing_first_name 2016-08-05 15:58:44 +01:00
Mike Jolley 84c52370fa more getters 2016-08-05 15:57:40 +01:00
Mike Jolley 39b4831e95 get_id 2016-08-05 15:56:23 +01:00
Mike Jolley 9181c107a8 get_currency 2016-08-05 15:49:17 +01:00
Mike Jolley c346a1b711 Merge pull request #11540 from woothemes/tax-rate-auto-ordering
Automatic Tax Rate Sorting
2016-08-05 15:06:03 +01:00
Mike Jolley c61c08f405 Merge branch 'master' into tax-rate-auto-ordering
# Conflicts:
#	assets/css/admin.css
2016-08-04 14:06:52 +01:00
Justin Shreve 8df6ff3c7b Convert wp-admin's system status page to use the same backend code as the API. 2016-08-03 10:50:47 -07:00
Mike Jolley d756b9c7ba Merge branch 'pr/11337'
# Conflicts:
#	assets/css/admin.css
2016-08-02 14:44:00 +01:00
Mike Jolley 922ba0337f Fix removal and tweak buttons 2016-08-02 14:42:27 +01:00
Mike Jolley 4de8af8a83 Merge pull request #11367 from andyexeter/master
Add NOT IN operator to WC_Admin_Report::get_order_report_data()
2016-08-02 14:22:50 +01:00
Mike Jolley e271825ffb Merge branch 'master' into tax-rate-auto-ordering
# Conflicts:
#	assets/css/admin.css
2016-08-02 14:17:23 +01:00
Mike Jolley 3c1f5e5e46 Tweak geoip instruction
Closes #11587
2016-08-02 14:06:48 +01:00
Mike Jolley 3f8af04a4e This should be disallowed
Closes #11570
2016-08-01 15:50:04 +01:00
Mike Jolley 45d6b88ac6 woocommerce_after_/before prefixes 2016-08-01 10:27:15 +01:00
Moritz Meißelbach 97b0161c4c Add hooks to edit form 2016-08-01 09:13:21 +02:00
Moritz Meißelbach 68abee516e Rename hooks as suggested 2016-08-01 09:04:11 +02:00
Moritz Meißelbach 6591ff1866 Provide 2 hooks for adding fields to the attribute creation form 2016-07-29 16:31:16 +02:00
Claudio Sanches a5ba8a05ed Fixed checkboxes in the admin settings
This allow set yes/no or null/1 for checkboxes

cc @mikejolley @jeffstieler
2016-07-27 17:52:11 -03:00
Claudio Sanches 63a570f161 [2.6] Display proper screen render text for custom range reports, closes #11543 2016-07-27 16:16:54 -03:00
Mike Jolley 66c61eebc8 Define full path for includes
Closes #11087
2016-07-27 11:58:43 +01:00
Mike Jolley 0d6a3af108 Remove sorting function 2016-07-27 10:22:02 +01:00
Mike Jolley 052f4d9cc3 Update education text
Closes #11519
2016-07-27 10:13:06 +01:00
Jeff Stieler e14d77a987 When saving settings, only allow values found in “options” for “select” type fields. 2016-07-26 10:24:15 -07:00
Jeff Stieler 3de28d2356 Take in options data to be saved as an optional argument, defaulting to $_POST.
This allows for reuse of the options field saving mechanism.
2016-07-26 10:24:15 -07:00
Justin Shreve 3de423b5c2 Wrap up settings api 2016-07-26 10:24:15 -07:00
Mike Jolley 4775cec578 Merge pull request #11534 from woothemes/localization-tweaks
Localization tweaks
2016-07-26 15:29:02 +01:00
Nicola Mustone 0aed3bd8b8 missing ) 2016-07-26 16:13:09 +02:00
Nicola Mustone e799b1e234 reduce number of strings 2016-07-26 15:46:50 +02:00
Nicola Mustone 5fb8a05a19 typo 2 2016-07-26 14:50:31 +02:00
Nicola Mustone 624f3c2eb1 typo 2016-07-26 14:49:11 +02:00
Mike Jolley bdcf3e2a04 [2.6] Merge pull request #11506 from woothemes/fix/mysql-status-report
Fix "MySQL Version" on the system status page
2016-07-26 11:21:10 +01:00
Mike Jolley 3d3b24e39c [2.6] Check taxonomy is set
Closes #11526
2016-07-26 11:19:01 +01:00
Justin Shreve de603974d4 Only hide MySQL (when is_mysql is set) if MariaDB is found in the version string. 2016-07-25 10:43:27 -07:00
Justin Shreve 9b2ae1827d Remove unneccessary ver variable. We already display using wpdb's db_version 2016-07-25 10:29:27 -07:00
Justin Shreve dbba5c7bbc Remove "MySQL" string check on version, which was preventing the MySQL version from displaying on the system status report. Version #s don't seem to include "MySQL" in them anymore so the check would prevent the block from being shown. 2016-07-25 10:29:27 -07:00
Mike Jolley da0c0b4ade [2.6] h2 in profile screen
Closes #11515
2016-07-25 12:54:00 +01:00
Mike Jolley 66c8d6cdcf Merge pull request #11496 from franticpsyx/order_item_class_args
[2.6] Add $order arg to order_item_class filters
2016-07-22 13:58:58 +02:00
Mike Jolley 00d5eedda2 Merge pull request #11483 from jobthomas/hotfix-geolite-notice
Hotfix geolite notice
2016-07-22 13:57:13 +02:00
Mike Jolley 203349cbb0 [2.6] Merge pull request #11512 from jobthomas/copy-product-display
Copy product display
2016-07-22 13:30:11 +02:00
James Koster 02e08e071e Use number inputs for hour/minute fields on edit order screen. closes #11494 2016-07-22 12:19:18 +01:00
Job 49d3200c52 Adding order of dimensions
Based on customer input, I added what dimension comes first in the
product display sizes to the tip.
2016-07-22 12:51:05 +02:00
Mike Jolley 72a5f9a9d1 Maintain method_order sorting for zones in list
Closes #11486
2016-07-21 14:30:05 +01:00
Manos Psychogyiopoulos 0173447cf9 add $order arg to woocommerce_admin_order_item_class and woocommerce_admin_html_order_item_class filters 2016-07-21 11:50:45 +03:00
Claudio Sanches 56f4efc8e3 Merge pull request #11469 from corsonr/status_report_db_prefix
Add database prefix to status report
2016-07-20 17:09:50 -03:00
Mike Jolley bc80b75540 Merge pull request #11324 from woothemes/out-of-stock-threshold-11322
Out of stock threshold 11322
2016-07-20 14:44:41 +02:00
corsonr b825b0b943 removed un-necessary esc_html 2016-07-20 14:43:41 +02:00
Mike Jolley d17b4de6d5 woocommerce_admin_order_item_bulk_actions
Closes #11099
2016-07-20 13:37:17 +01:00
Job 614cd520ba Updated error message
To not cause extra problems for the maxmind team, added better
explanation on which file to download.
2016-07-20 11:51:32 +02:00
Mike Jolley 664597b5c8 Tweak zone text
Closes #11472
2016-07-19 16:45:10 +01:00
corsonr c2eb7f50ca display error if prefix longer than 20 2016-07-19 14:47:36 +02:00
corsonr eab45222a4 fixed parse error 2016-07-19 14:13:31 +02:00
corsonr c385e57fbe added esc_html() and conditional statement 2016-07-19 14:11:09 +02:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
corsonr 06e8c7e6de Add database prefix to status report 2016-07-19 09:12:06 +02:00
Mike Jolley 53511e36ec Use permission id to revoke access to downloads to prevent removing wrong rows.
Fixes #11423 @claudiosmweb
2016-07-14 15:54:28 +02:00
Mike Jolley 23c853dc3b When duplicating product variations, set title, name, and guid.
Fixes #11311 @claudiosmweb
2016-07-14 14:54:39 +02:00
Leon Francis Shelhamer 20c4a8bf77 Show shipping method titles in Add shipping method modal
The modal was calling shipping method titles with $method->title this resulted in blank select options. I replaced it with $method->method_title to fix this.
2016-07-13 21:16:59 -04:00
Claudio Sanches 7778583340 Fixed wrong number of decimal precision, closes #11368 2016-07-11 17:26:54 +02:00
Claudio Sanches 7d9d091767 Fixed mixed tabs and spaces 2016-07-11 16:56:35 +02:00
andyexeter 043eecedc5 Add NOT IN operator to WC_Admin_Report::get_order_report_data() 2016-07-06 00:15:39 +01:00
Claudio Sanches c59a5c0c31 Say hello to woocommerce.com 2016-07-05 19:52:16 -03:00
toddlahman 4b5af40536 add button to delete any log file 2016-07-04 17:10:17 -07:00
Patrick Rauland efee5d9b9b updating rating admin footer text to remove references to WooThemes 2016-07-04 11:33:24 -06:00
toddlahman 26353d7099 added remove method to logger class, and delete GeoIP Log button to tools 2016-07-02 23:16:11 -07:00
Mike Jolley 99e1e215bb Tooltips 2016-07-01 12:06:31 +01:00
Claudio Sanches 57ac24ace8 Merge pull request #11318 from kristinaplauche/jquery-minify
11317
2016-06-30 15:05:02 -03:00
Kristina Plauche 4913539977 11318 update
Applied update suggested by Claudio
2016-06-30 14:02:16 -04:00
Kristina Plauche 2f99cb7211 11317
Makes jquery-ui minify
2016-06-30 13:06:42 -04:00
Claudio Sanches 18b1b8c238 Disable empty my account endpoints, closes #11274 2016-06-30 13:58:10 -03:00
Mike Jolley 53e75f3d4d Merge pull request #11300 from rspublishing/update-class-wc-meta-box-coupon-data.php
Updates class-wc-meta-box-coupon-data.php
2016-06-30 09:32:40 +01:00
Mike Jolley 361ab507d2 Cast class to array
Closes #11294
2016-06-30 08:47:06 +01:00
Mike Jolley 02f8e12ed5 Remove h1 and legacy icon, switch to nav element
Closes #11296
2016-06-30 08:39:04 +01:00
rspublishing 63c0445957 Replacing link 2016-06-30 09:25:39 +02:00
rspublishing 1a0f5ae723 Updates the includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php file 2016-06-30 09:16:52 +02:00
Kevin Killingsworth 89fda4204e Fix checkout gateway section urls (#11273)
Fixes issue #11273

Changes from class name to gateway id for section name.
2016-06-28 12:48:03 -05:00
Claudio Sanches 53552f8028 Require create webhook secret in the REST API 2016-06-27 21:55:54 -03:00
Mike Jolley 2bbb1453fb External product SKU 2016-06-27 16:04:49 +01:00
Mike Jolley 931660038a Update debug mode wording
Closes #11258
2016-06-27 12:28:46 +01:00
Mike Jolley b1d4ce3276 Only show mysql notice if mysql in version string
Closes #11254
2016-06-27 12:23:47 +01:00
Claudio Sanches df075875b4 Improved wc_webhook_generate_secret() 2016-06-24 14:32:06 -03:00
Claudio Sanches fd5d1e2085 Improve webhook secret generation in admin screen 2016-06-24 12:22:07 -03:00
Mike Jolley 270dd30fd5 Remove non-existant callback
Fixes #11210
2016-06-22 11:38:39 +01:00
Mike Jolley 479a136edb Added view_admin_dashboard cap for disabling the admin access restriction in custom roles.
Closes #11198 @claudiosmweb
2016-06-21 11:18:14 +01:00
Mike Jolley e1ec01c9f9 Zone wording tweaks
Closes #11184
2016-06-20 12:50:55 +01:00
Mike Jolley 887d398d91 Return default types for script so that show/hide works
Fixes #11188
2016-06-20 10:59:54 +01:00
Beka Rice 37c441dc45 Shows the "customer pay page" link for any order that needs payment 2016-06-17 16:56:14 -04:00
Mike Jolley b57030afb7 Fix the showing/hiding of panels when terms do not exist by using wc_get_product_types() for retrieving product types.
@claudiosmweb
2016-06-16 14:58:44 +01:00
Mike Jolley 6fc6e07c46 Added link to force DB update if cron is disabled.
@claudiosmweb
2016-06-15 11:07:12 +01:00
Claudio Sanches 5d3515848d Merge pull request #11116 from woothemes/SiR-DanieL-patch-1
Typo
2016-06-14 18:06:52 -03:00
Claudio Sanches 6a65bc73c7 Fixed invalid pattern for hour and minute in the admin screen 2016-06-14 18:03:00 -03:00
Claudio Sanches 05c7f186ba Fixed line_subtotal_tax and line_tax localized price format 2016-06-14 17:41:20 -03:00
Nicola Mustone a9c55d8d54 typo 2016-06-14 16:34:28 +02:00
Ryan Ray f22d064a3e Dialed back the intensity so no strings are disturbed for 2.6 2016-06-14 09:35:12 -04:00
Ryan Ray 46d0265988 Updated the videos needed for the help tab when using WooCommerce. 2016-06-14 08:51:37 -04:00
Mike Jolley 045ef70143 literal check 2016-06-14 11:10:13 +01:00
Shiva Poudel d4ca34f8ac Prevent on empty section, as we want to check API keys settings page 2016-06-14 12:17:35 +05:45
Claudio Sanches c9a3ce465f Fixe the return type of wc_order_search() 2016-06-13 15:26:14 -03:00
Mike Jolley b3dbd93df5 Updating if do_update_woocommerce is set. 2016-06-13 18:15:07 +01:00
Mike Jolley 1cd71e29e4 Default shipping tax class should be blank, not 'title'
#11103
2016-06-13 17:46:55 +01:00
Claudio Sanches e253382702 Created wc_order_search() function
cc @mikejolley
2016-06-13 17:08:20 +01:00
Claudio Sanches 831ab7411d Merge jobs adjust-campaign-tags branch 2016-06-13 12:14:35 -03:00
Mike Jolley 34f2bd683e Prevent update notice appearing twice
@claudiosmweb
2016-06-13 12:44:19 +01:00
Shiva Poudel f0856612a1 Remove unused global var 2016-06-10 17:57:51 +05:45
Mike Jolley 32a7c2e611 Fix: Permalink sanitization/saving
Fixes #11065
2016-06-08 11:30:02 +01:00
Mike Jolley 59a33d2188 Remove target blank on blank slate 2016-06-07 16:14:23 +01:00
Mike Jolley 847dea6a2d docs/vars 2016-06-07 14:02:02 +01:00
Mike Jolley f8db1c403f Type casting and docs 2016-06-07 11:22:36 +01:00
Mike Jolley 1185333b56 Move legacy API code into WC_Legacy_API
@claudiosmweb to keep legacy api separated from the new REST API code.
2016-06-07 11:03:16 +01:00
Slobodan Manic 3194c24c84 Introduce woocommerce_before_save_order_items hook 2016-06-07 08:13:35 +02:00
Mike Jolley 730019ef18 scrutinizer best practice 2016-06-06 19:39:23 +01:00
Mike Jolley 8ef3957ad1 Var checks 2016-06-06 19:15:40 +01:00
Shiva Poudel 00cc3711ac Minor tweaks and JSHint ignore for update notice script 2016-06-06 23:05:10 +05:45
Mike Jolley 76a4ffe2e0 Unused vars
@claudiosmweb
2016-06-06 18:10:03 +01:00
Mike Jolley d4d6f3181c Best practice tweaks 2016-06-06 17:24:31 +01:00
Mike Jolley a40fb29eca wc_set_time_limit helper function 2016-06-06 16:55:27 +01:00
Mike Jolley 779ab28f90 Merge pull request #11049 from TeemuSuoranta/master
Add filters in attribute selection UI (html-product-attribute.php)
2016-06-06 11:30:18 +01:00
Mike Jolley 4a0fb8f27b Merge pull request #11041 from woothemes/blank-slates
Blank slates
2016-06-06 11:05:26 +01:00
Claudio Sanches 934eb9599c Removed note about default webhook secret generated using consumer secret 2016-06-05 17:50:22 -03:00
Claudio Sanches e0bb183631 Improved payment method endpoint descriptions 2016-06-05 17:42:22 -03:00
Claudio Sanches 4b65b10923 s/CURL/cURL 2016-06-05 16:07:46 -03:00
Teemu Suoranta 35519fb685 Add filters for attribute selection UI 2016-06-05 21:22:10 +03:00
Mike Jolley 8d97468f24 Tracking links 2016-06-03 14:55:38 +01:00
Mike Jolley 55f6fd9614 remove debug 2016-06-03 14:36:44 +01:00
Mike Jolley f6cb7b596a Coupon and product blank slate text 2016-06-03 14:19:02 +01:00
Mike Jolley 5cb0d5ed29 Add a blank slate area for shop orders 2016-06-03 14:07:41 +01:00
Mike Jolley fa0422a7f0 Fix activation error due to countries class 2016-06-03 12:28:27 +01:00
Mike Jolley ebc913da38 Notice tweaks 2016-06-03 12:28:27 +01:00
Manos Psychogyiopoulos 410c09d6b0 add 'woocommerce_admin_stock_html' filter 2016-06-01 15:06:10 +03:00
Mike Jolley d6993daab2 Class was not present in 2.5 and can be dropped.
d0354fd4fd
2016-05-31 11:30:32 +01:00
Mike Jolley 19c6b0fead Merge remote-tracking branch 'origin/master' 2016-05-31 11:04:21 +01:00
Claudio Sanches d0354fd4fd Suit CSS naming for #10994
cc @jameskoster
2016-05-30 13:35:12 -03:00
Leon Francis Shelhamer 1e5785da3f Fix {$taxonomy}_pre_add_form hook for attributes
previous {$taxonomy}_pre_add_form hook inside of wc_get_attribute_taxonomies() loop was not written to work with the results of wc_get_attribute_taxonomies()
2016-05-29 17:57:10 -04:00
Mike Jolley c0dc352df1 Clear parent transients when clearing own transients
Fixes #10996
2016-05-27 11:12:23 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Mike Jolley 42374d6ed6 Merge pull request #10994 from DavidAnderson684/patch-2
Place customer IP inside a span for easier access
2016-05-26 16:07:05 +01:00
Mike Jolley ddae9d3722 Split update notice text 2016-05-26 15:00:22 +01:00
David Anderson 6cd2fc12f0 Place customer IP inside a span for easier access
I want to code something that shows a country flag / link to ipinfo.io next to the customer IP address on the order dashboard page. Putting the IP address inside a span makes it easier to locate without ugly hacks / less prone to breakage.
2016-05-26 14:44:51 +01:00
Mike Jolley 62712c1648 Fix maxmind label 2016-05-25 12:05:33 +01:00
Mike Jolley b3844257a0 Use wc_get_shipping_method_count helper 2016-05-25 12:05:33 +01:00
Claudio Sanches 1becb295c5 Fixed Undefined index product_permalink warning
While saving plain permalinks isset( $_POST['permalink_structure'] ) is
true, but we don't have any $_POST['product_permalink'] or
$_POST['product_permalink_structure']

cc @mikejolley
2016-05-24 20:15:15 -03:00
Claudio Sanches 2ddf19c447 Fixed updated date when save webhooks on admin screen 2016-05-24 17:05:50 -03:00
Mike Jolley cc41c38ff8 Tweak page titles on account pages 2016-05-24 19:09:07 +01:00
Mike Jolley 22291e3ead Generate a zone name if left blank
@coderkevin
2016-05-24 18:59:35 +01:00
Mike Jolley 146f79914f Move stock update code
Fixes #10976
2016-05-24 14:38:54 +01:00
Mike Jolley a02ac79339 Change range symbol to ... to avoid conflicts with postcodes with hyphens 2016-05-23 17:30:37 +01:00
Mike Jolley a540b04d8c Fix prefix and spacing
#10956
2016-05-23 17:01:45 +01:00
Mike Jolley d24fceab44 When calculating discount amount in backend, use unrounded values
#10963
2016-05-23 16:23:27 +01:00
Mike Jolley c1c089a95c Merge pull request #10956 from aelia-co/Tweak-Shipping_Zones_Methods_Page_Hooks
Added action before the rendering of a zone's methods
2016-05-23 13:18:34 +01:00
Diego Zanella fb51c07a65 Renamed new filter from wc_shipping_zone_before_methods_list to wc_shipping_zone_before_methods_table 2016-05-20 22:52:33 +01:00
Claudio Sanches 33b12d70ee Fixed WC_Admin version 2016-05-20 18:02:57 -03:00
Nico Hauser 62dbb131ac Bumped version 2016-05-20 17:00:19 +02:00
Nico Hauser d75d784e48 Add 'woocommerce_mail_content' to preview
Added the 'woocommerce_mail_content' filter which is used before sending the email in /includes/emails/class-wc-email.php#L465 to the preview
2016-05-20 16:47:18 +02:00
Diego Zanella 60bb76d558 Added action before the rendering of a zone's methods
* The new action will allow to add elements to the page without having to override the view.
2016-05-20 13:27:25 +01:00
Mike Jolley 54231c2946 Allow shipping classes interface to be extended. 2016-05-19 12:38:28 +01:00
Beka Rice 8a715e0957 [2.6] Fix WooComm 101 video embeds...
…removes unused videos due to shipping zones changes; adjusts when
“shipping classes” video is shown
2016-05-17 15:43:57 -04:00
Mike Jolley 19a4648a5a clean post cache after update 2016-05-17 14:46:08 +01:00
Mike Jolley dce5c312e5 Hide simplify notice outside of US 2016-05-16 11:30:20 +01:00
Mike Jolley 36021ab1ac Improve no longer editable text
Closes #10916
2016-05-16 11:12:04 +01:00
Mike Jolley cf06f69b6b Merge remote-tracking branch 'origin/master' 2016-05-16 10:17:55 +01:00
Mike Jolley ba2bfdc685 Fix invalid closing tag 2016-05-16 10:17:44 +01:00
Caleb Burks e707adedd4 Remove a duplicate filter 2016-05-15 00:41:52 -05:00
corsonr becc4ef841 use wc_help_tip() 2016-05-13 18:49:58 +02:00
corsonr ca040a3d1f Add a refund reason help bubble 2016-05-13 18:15:35 +02:00
Mike Jolley cf64786447 Full breadcrumbs in zones UI 2016-05-13 16:08:19 +01:00
Ryan Ray b57da86dee Made a tiny adjustment to the order of words and formatting. The sentence is a bit shorter and clearer (to me) now. 2016-05-12 14:22:48 -04:00
Mike Jolley 9c1aa8afe8 Merge pull request #10899 from woothemes/background-updates
Handle DB updates in the background
2016-05-12 16:45:42 +01:00
Mike Jolley 5f46f60cb0 Merge pull request #10907 from corsonr/confirm_delete_order_note
Add order note deletion confirmation
2016-05-12 12:26:26 +01:00
Mike Jolley 986bd5abc7 Fix save and striping 2016-05-12 12:18:35 +01:00
Mike Jolley 07db739a47 Revise link wording and page title 2016-05-12 11:37:48 +01:00
Mike Jolley 8be8fe4c8a Use modal for adding methods on both screens 2016-05-12 11:29:33 +01:00
Mike Jolley 3dba8e3697 Changed icons for methods into text based links and moved save buttons to left to match other settings screens 2016-05-12 11:07:18 +01:00
corsonr 52f3cb3d8a Add order note deletion confirmation 2016-05-12 10:04:32 +02:00
Claudio Sanches 47ef7e17a1 Created new function to generate webhook secrets based on the user ID and username, closes #10881 2016-05-11 13:14:00 -03:00
Mike Jolley c1830c12cc Redirect to install page w/ nonce
Fixes #10860
2016-05-11 17:01:34 +01:00
Mike Jolley 44bca2633e Notice HTML 2016-05-11 14:22:21 +01:00
Mike Jolley bba4bab8e1 Save notices during shutdown 2016-05-11 14:22:06 +01:00
Mike Jolley a8bd4bc6e1 Updating/updated notices 2016-05-11 12:43:35 +01:00
Mike Jolley d3b450139b Merge branch 'pr/10893' 2016-05-11 10:58:09 +01:00
Mike Jolley 96cb47e037 escape 2016-05-11 10:58:04 +01:00
Mike Jolley e54a0479fa Merge branch 'pr/10895' 2016-05-11 10:55:38 +01:00
Mike Jolley a0b792625d Adjust action args 2016-05-11 10:55:33 +01:00
Caleb Burks 2fd455769d Make customer download links available for admins 2016-05-10 23:52:18 -05:00
Steve 2da25a7708 Update class-wc-admin-attributes.php 2016-05-10 13:13:30 +12:00
Steve ff03ca81ac Add 'woocommerce_before_attribute_delete' action
Adding an action so 3rd party plugin developers can prevent attributes essential for plugin functionality from being deleted while their plugin is active.
2016-05-10 13:11:53 +12:00
Claudio Sanches 857471843a Merge pull request #10874 from allendav/master
Add filtering for system status page tabs and actions too
2016-05-09 18:37:32 -03:00
Allen Snook 98a15d52d7 Changed action name to avoid potential filter collision 2016-05-09 13:42:27 -07:00
Shiva Poudel 4c7a78ab31 Tweak - Use of single backbone modal script for shipping and order panel 2016-05-08 21:34:05 +05:45
Allen Snook 920f2a7809 Check against tabs list before considering action 2016-05-06 11:38:10 -07:00
Allen Snook 58a04a1922 Add filtering for system status page tabs and actions too 2016-05-06 11:27:56 -07:00
Mike Jolley b39ec6b2d6 Fix undo on storefront
Closes #10816
2016-05-03 17:03:46 +01:00
Mike Jolley 0782b869f5 Remove double filter on meta_key label
Fixes #10845
2016-05-03 16:01:16 +01:00
Mike Jolley 85faaf8b77 Remove old permissions when generating new download permissions
Closes #10839
2016-05-03 15:22:49 +01:00
Mike Jolley c6975fa7d5 Merge branch 'pr/10750' 2016-05-03 12:01:09 +01:00
Mike Jolley a0faffec85 Lang tweak 2016-05-03 12:01:03 +01:00
Mike Jolley ad3f9d0754 Show payment date on order screen
Closes #10828
2016-05-02 12:02:07 +01:00
Matheus Lopes f0c26b7439 Refatoring main code 2016-04-28 13:37:30 -03:00
Lee Willis e5b4932495 Fix typo 2016-04-28 13:35:11 +01:00
Mike Jolley 43af207558 Output buffering and redirects after turning off legacy
Closes #10806
2016-04-28 12:36:51 +01:00
Claudio Sanches 133c904d1a Remove product SKU if is not unique while untrashing products, closes #10807 2016-04-27 16:06:32 -03:00
Mike Jolley e21313a237 Check for is_mysql
Closes #10793
2016-04-27 12:03:52 +01:00
Matheus Lopes 71a46df6b0 Editing titles 2016-04-25 13:51:40 -03:00
Mike Jolley 9aace06536 Cheques for 'murica
Closes #10779
2016-04-25 14:25:39 +01:00
Mike Jolley 6f42514afb Pass false for product in attribute label filter
Closes #10773
2016-04-25 14:11:07 +01:00
Mike Jolley 4468d34548 Show invoice email in dropdown 2016-04-25 13:22:31 +01:00
Mike Jolley 29c6acf767 Used positional placeholders in strings where the order of strings may require modification in the locale.
Closes #10775
2016-04-25 13:07:41 +01:00
Claudio Sanches 505dfd7672 Fixed i18n functions 2016-04-22 14:08:44 -03:00
Mike Jolley 9a3aa8e498 Further woocommerce_termmeta removal 2016-04-22 17:43:07 +01:00
Mike Jolley b0dfb55710 Tweak account settings grouping
Closes #10766
2016-04-22 12:29:06 +01:00
Mike Jolley 10f16f074c Further zone tweaks to delete new rows on cancel 2016-04-22 12:24:20 +01:00
Mike Jolley a9b8101e48 No blank slate if methods exist
Closes #10757
2016-04-22 12:24:20 +01:00
Shiva Poudel 8fd8c58aaa Change Codex docs to https support 2016-04-22 00:26:15 +05:45
Mike Jolley a8b2a5668f Added cancel button to shipping zones UI
Closes #10754
2016-04-21 16:18:15 +01:00
Mike Jolley c71e17a71b Don't duplicate SKUs
Closes #10751
2016-04-21 14:03:20 +01:00
Mike Jolley 0425ad5060 Check for set but non existing pages
Closes #10758
2016-04-21 12:23:50 +01:00
Mike Jolley fbca27b3d4 Tweak postcode example text
Closes #10755
2016-04-21 12:15:17 +01:00
Matheus Lopes 2c191f5bb7 Enable countries exceptions to Billing and Shipping 2016-04-20 14:55:05 -03:00
Mike Jolley c1a8d6742f Note when WC.php is used in theme
Closes #10741
2016-04-20 10:37:54 +01:00
Mike Jolley 1879a44373 PayPal case 2016-04-19 22:17:09 +01:00
Mike Jolley 03a7892da6 Learn more links to .org 2016-04-19 13:31:41 +01:00
Mike Jolley f739e97c76 Merge branch 'master' into payment-gateway-wizard-refactor
# Conflicts:
#	assets/css/activation.css
#	assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
Mike Jolley 8e0e9a0cc2 Deprecate Simplify in favour of feature plugin 2016-04-19 13:14:13 +01:00
Mike Jolley 5acb2d7661 Adjusts logos 2016-04-19 12:04:52 +01:00
Job c93b16bd05 Updated campaign tags
* Source: setupwizard, helptab, addons, notice (took the terms already
used in WC core and deleted all dashes)
* Medium: product
* Content: videos, docs, storefront, themecompatibility, wcthemes,
wcextensions, about, newsletter, tickets, apidocs (+ different content
for every reference in addons tab)
* Campaign: woocommerceplugin
2016-04-19 11:32:45 +02:00
Job d3cb293e2d Sidekick removal
Partnership with Sidekick ended:

* Removed all styles and mentions of Sidekick
* Updated docs prompt on last step on boarding: *Read more* > *Learn
more*
2016-04-19 11:01:22 +02:00
Mike Jolley 1439b6da31 Do plugin install in the background 2016-04-18 17:05:19 +01:00
Mike Jolley 4b3d06821e Update wording 2016-04-18 15:58:22 +01:00
Mike Jolley 53b867e03e Merge branch 'pr/10724' 2016-04-18 15:39:25 +01:00
Mike Jolley 6dc0fecaa0 CB should be first 2016-04-18 15:39:19 +01:00
Mike Jolley 586587b5ec Merge pull request #10719 from JeroenSormani/zones-output-tweak
Only ouput zones UI when in that section, don't default to it
2016-04-18 09:37:45 -05:00
EmilEriksen a9d7315048 Fix undefined index "cb" 2016-04-18 16:08:54 +02:00
Mike Jolley 8fe7f46855 Use order currency in JS
Fixes #10693
2016-04-18 12:36:29 +01:00
Mike Jolley 62e6c9dbfa Merge pull request #10722 from shivapoudel/select-option
Fix - Close option as its not the list-item
2016-04-18 06:08:13 -05:00
Mike Jolley 3fcc68e2f8 Replace http hrefs with https
Closes #10716
2016-04-18 11:58:12 +01:00
Shiva Poudel 31b5530c3e Its option not the list-item to close :P 2016-04-18 16:26:51 +05:45
Mike Jolley 5ce2ab7cfa Allow a filter of products with no shipping class 2016-04-18 09:44:14 +01:00
JeroenSormani f53b59dbc4 Remove unneeded returns 2016-04-18 08:26:24 +02:00
JeroenSormani 88bcaa585c Only ouput zones UI when in that section, don't default to it 2016-04-18 08:23:37 +02:00
Mike Jolley 1824b61355 Merge pull request #10677 from shivapoudel/wp-json-encode
Use of wp_json_encode since WC 2.6 requires at least WP 4.4+
2016-04-15 10:12:16 -05:00
Mike Jolley c2820f608a Merge pull request #10667 from Dev49net/master
Add fallback to company name if customer names are not specified
2016-04-15 10:07:29 -05:00
Mike Jolley 1c21505b0b Make shop page display wording more clear
Closes #10699
2016-04-15 15:57:06 +01:00
Matty 79fe8508c8 Adjusts all Google Analytics tags to be lowercase. 2016-04-14 18:30:25 -04:00
Shiva Poudel dd37b82f9c Use of wp_json_encode since WC 2.6 requires at least WP 4.4+ 2016-04-12 11:22:26 +05:45
Dev49.net 5eb3888045 Added fallback to company name if names are not specified
Use case described in Issue #10666
2016-04-11 04:13:46 +02:00
Mike Jolley db6b6ebb5a Merge pull request #10642 from matheuscl/fixing_product_category_thumbnail_issue
Fix product category thumbnail issue
2016-04-07 10:31:52 -05:00
Mike Jolley 143642acf5 Change default sort order for featured column 2016-04-07 08:58:28 -05:00
Matheus Lopes ed754fb23f working on coding standards 2016-04-05 17:28:45 -03:00
Mike Jolley c0449f445d Merge pull request #10634 from JeroenSormani/product-visual-loading
Optimize the visuals when loading the product data meta box
2016-04-05 14:26:32 -05:00
Mike Jolley f8d483fd30 $updated_gallery_ids was not set 2016-04-05 07:42:03 -05:00
Matheus Lopes 61b8fece41 WooCommerce standards fix. 2016-04-04 17:59:53 +00:00
Matheus Lopes c9ee861f57 Check response before clear fields, now field 'Display type' is clean also. 2016-04-04 17:53:36 +00:00
Matheus Lopes a1f398e756 Minor fix for issue #10637 2016-04-04 17:25:23 +00:00
JeroenSormani a8abfef5fa Optimize the visuals when loading the product data meta box 2016-04-03 19:07:46 +02:00
Mike Jolley 3c97c93569 fix spacing 2016-04-01 17:33:00 +01:00
Mike Jolley c0ec85cd84 Implement new gateway screen in wizard and auto-install plugin-base gateways when chosen. 2016-04-01 17:30:04 +01:00
Mike Jolley 00ba45512e Merge branch 'shipping-wizard-removal' 2016-04-01 11:20:14 +01:00
Mike Jolley 082a3bc2c9 Change system status nav markup 2016-04-01 10:53:30 +01:00
Mike Jolley bfadb22c7c Added notice when no methods exist 2016-03-31 18:54:33 +01:00
Mike Jolley 3a00348795 Remove shipping options from wizard 2016-03-31 17:17:11 +01:00
Mike Jolley 32475695a5 Simplify wizard tax rates and import automatically 2016-03-31 15:54:54 +01:00
Mike Jolley c9196a6377 Move help tip to core functions 2016-03-31 15:30:42 +01:00
Mike Jolley c757fd9940 Merge branch 'shipping-zone-modals'
# Conflicts:
#	assets/css/admin.css
#	assets/css/admin.scss
2016-03-31 15:20:06 +01:00
Mike Jolley cb27af14c4 Status page geoip database 2016-03-30 13:11:26 +01:00
Mike Jolley c82e177fd3 Fix coupon total replacement
Fixes #10618
2016-03-30 12:56:53 +01:00
Mike Jolley 687d4be0bf Case 2016-03-29 19:51:09 +01:00
Mike Jolley 975c360ae3 Tweak icons and blank slate text 2016-03-29 19:37:02 +01:00
Mike Jolley 17958835a9 Merge pull request #10603 from toddlahman/master
Replace DELETE FROM to TRUNCATE to empty woocommerce_sessions table
2016-03-29 14:52:55 +01:00
Mike Jolley dc635771e8 System status: Output CURL version
@claudiosmweb Might be good for 2.5 too
2016-03-29 14:27:37 +01:00
toddlahman fb66dd2c80 Replace DELETE FROM to TRUNCATE to empty woocommerce_sessions table
If the size of the woocommerce_sessions table is 3.2 GB before the
Clear all sessions button is clicked, then it will delete all rows, but
leave the table size 3.2. Truncating/emptying the table resets the size
of the table, and deletes all rows.
2016-03-24 21:24:36 -07:00
Mike Jolley 5f6aa6c160 Fix modals and ajax events 2016-03-24 19:06:51 +00:00
Mike Jolley 8b53d1a618 Only load modal if supported 2016-03-24 18:31:39 +00:00
Mike Jolley d3ac3f4073 Modals first pass 2016-03-24 17:26:40 +00:00
Mike Jolley bea3c66777 Change arrow entity
@jameskoster
2016-03-24 14:27:32 +00:00
Mike Jolley 679443c9c9 Zones screen feedback
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles

@jameskoster
2016-03-24 14:08:26 +00:00
Mike Jolley af0b38dcea Fix results when no orders match search term
Fixes #10599
2016-03-24 11:21:30 +00:00
Mike Jolley 95de7f5a2c Minor spacing issues 2016-03-23 13:06:15 +00:00
Mike Jolley f73149feaf Tweak variation display and reenable bulk editing 2016-03-22 17:13:39 +00:00
Mike Jolley f1b3d0f708 Further layout tweaks 2016-03-22 14:54:02 +00:00
Mike Jolley 5862785522 Restyle items panel 2016-03-21 18:35:00 +00:00
Mike Jolley 7be2b129b6 Removed bulk actions from order items panel
Reduce/increase order item stock is less important these days do to
automatic stock reduction (when status changes) and because when you
refund items you can restock items via checkbox. Manual stock changes
can be performed by editing products.

Decreases complexity of order items box.
2016-03-21 14:58:14 +00:00
Jeff Stieler 16b65ea8c3 Fire action before order line items are rendered. 2016-03-18 15:25:31 -06:00
Mike Jolley 34767ebe0c Bump min recommended requirements to 5.6 2016-03-16 12:42:57 +00:00
Justin Silver ef3a5b97ef Merge remote-tracking branch 'upstream/master' 2016-03-15 13:51:49 -07:00
Justin Silver 4dec4832e1 Fix highlight series ID for coupons line from legend 2016-03-15 13:50:01 -07:00
Mike Jolley 1549158981 Add 'is_enabled' column to instances table and allow toggle in zones screen
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley 0ac7b23a1c Use one save button and add classname
@allendav
2016-03-15 16:21:57 +00:00
Mike Jolley e22d324be4 Add notice for legacy shipping zones after update 2016-03-15 15:58:03 +00:00
Mike Jolley c10b861f80 Merge pull request #10558 from doublesharp/master
Add 'woocommerce_admin_report_data' and 'woocommerce_admin_report_chart_data' to filter chart data by 3rd parties
2016-03-15 12:22:18 +00:00
Justin Silver ffdfe816ec Add ‘woocommerce_admin_report_data’ to filter chart data by 3rd parties
Refactor get_main_chart() to use an array of data so that it to can be
filtered
Add ‘woocommerce_admin_report_chart_data’ to filter chart data by
period (for display)
2016-03-14 19:30:49 -07:00
Mike Jolley ee0798047e Merge branch 'wc-get-orders-10500' 2016-03-14 16:09:01 +00:00
Mike Jolley 0516d63c3f Update download permission user and email when changed
Fixes #10543
2016-03-14 14:36:32 +00:00
Mike Jolley ac857999ff [2.5] Prevent notice when unsetting terms
Fixes #10536 @claudiosmweb
2016-03-11 13:12:31 +00:00
Claudio Sanches 5fbd88489b Input type for api keys 2016-03-10 14:39:52 -03:00
Claudio Sanches e233eaa2c3 Fixed missing textdomain 2016-03-10 14:26:06 -03:00
Mike Jolley 2d2c64d2ab Change heading and tab markup
Closes #10515
2016-03-10 12:52:20 +00:00
Mike Jolley 9ce892bd39 Avoid title case. Clean up colon.
Closes #10524 (lol)
2016-03-10 11:39:32 +00:00
Shiva Poudel d567d12b64 Remove colon from tax setting page 2016-03-10 11:32:33 +05:45
Claudio Sanches 11decde0ab Make sure that the attribute is a taxonomy before unset #10506 2016-03-09 17:17:21 -03:00
Claudio Sanches 99fd5f0d68 [2.5] Unset deleted attributes when update products, closes #10506 2016-03-09 17:12:19 -03:00
Mike Jolley c1e8dd1fe8 Use wc_get_orders iternally 2016-03-09 16:11:05 +00:00
Mike Jolley d3f98dce03 More advanced customer filter
#10500
2016-03-09 14:50:34 +00:00
Shiva Poudel 1a9f30d7e1 Simplify the copy-error message in system status 2016-03-09 01:04:41 +05:45
Shiva Poudel 3111ecf8e8 Remove WP 4.2 emojis prefix in system status report 2016-03-08 23:32:39 +05:45
Mike Jolley f7f26b192b Don't affect log when generating log text 2016-03-08 13:24:19 +00:00
Mike Jolley b3dc976fe3 Only do search logic if search_fields has values
Closes #10497
2016-03-08 12:58:31 +00:00
Mike Jolley 5b7bc59517 [2.5] Rename pay link for clarity 2016-03-08 11:50:41 +00:00
James Koster 69c9ab0345 Use Dashicons on system status page. #9791 2016-03-08 10:21:06 +00:00
Mike Jolley 2a98607532 Remove log dir from debug
@mattyza
2016-03-07 13:16:39 +00:00
James Koster 5d7f95fa7f Update the Storefront banner to include the new logo. closes #10313 2016-03-07 11:36:07 +00:00
Thi 348f9cc235 Fix wrong URL and request duration in webhook logs 2016-03-06 01:24:10 +09:00
Justin Shreve 927941e2ca Merge pull request #10260 from justinshreve/token-api
Payment Token API
2016-03-04 04:34:41 -08:00
Mike Jolley 7580f18678 Merge pull request #10469 from allendav/master
Add hide_save_button to shipping zones instance template
2016-03-04 10:56:41 +00:00
Mike Jolley 533d961947 Merge pull request #10473 from shivapoudel/indentation
Tweak indentation tabs and correct use of <br>
2016-03-04 10:56:26 +00:00
Mike Jolley 22dc056e16 Merge branch '4-4-term-meta-handling' 2016-03-04 10:55:53 +00:00
Mike Jolley a1cce4a1b2 Issues from Justin 2016-03-04 10:53:48 +00:00
Shiva Poudel 23ad5580ae Added Periods in the end of comments 2016-03-04 15:26:31 +05:45
Shiva Poudel 51cc7376dd Docblock fix for get_field_description method 2016-03-04 15:15:03 +05:45
Shiva Poudel 3ae7e4e418 Tweak indentation tabs and correct use of br
Sublime linter showing notification due to </br>, instead we should use <br />
2016-03-04 15:08:45 +05:45
Allen Snook 1dbe6c21a0 Add hide_save_button to shipping zones instance template
(Like what is done for legacy shipping methods in the
html admin settings view)
2016-03-03 09:44:09 -08:00
Mike Jolley 7dadae7bc8 Load gateways before save
#10461
2016-03-03 17:05:40 +00:00
Mike Jolley 89e8404acb [2.5] Clear sale price on save if sale is no longer valid.
Closes #10454
2016-03-03 13:16:22 +00:00
Justin Shreve 4c560e4da6 Merge pull request #10462 from justinshreve/clipboard-fail-10450
Provide help if clipboard copying fails (Safari or zeroclipboard issue) in wp-admin
2016-03-03 02:48:42 -08:00
Shiva Poudel e0a99751f8 Blank target for links in theme suport notice 2016-03-03 15:53:12 +05:45
Justin Shreve f4d771ef3e Show error if copying can't even happen (to cover safari). 2016-03-02 10:25:16 -08:00
Mike Jolley b221f9964a Merge branch 'master' into 4-4-term-meta-handling 2016-03-02 18:24:52 +00:00
Justin Shreve 32eabbc685 Provide a fallback message if copying to the clipboard fails. 2016-03-02 10:13:17 -08:00
Justin Shreve defff6c5a9 Add the payment token tables to the database status report. 2016-03-01 11:49:40 -08:00
Justin Shreve 5d8967c7d7 Prepare a list of payment methods for output on the payment methods "my account" page. 2016-03-01 11:49:40 -08:00
Jon Koops a8cb7f7d00 Add wrapper classes to product category form fields.
Add wrapper classes to Display Type and Thumbnail fields of a product category in the admin. These classes follow the same naming convention as other taxonomy fields in the WordPress admin.
2016-03-01 15:37:01 +01:00
Mike Jolley d4df89e1b9 [2.5] Don't duplicate rating and review counts
Fixes #10440
2016-02-29 13:36:32 +00:00
Shiva Poudel 4a0e160c3b Since shop manager have no right to edit admin profile 2016-02-28 21:07:51 +05:45
Shiva Poudel 9dec203721 By default display_name is user_login, no target for database change ;) 2016-02-28 21:04:57 +05:45
Mike Jolley efe836dc12 Merge branch 'add/id-based-section-loading-shipping-and-checkout' 2016-02-26 15:26:45 +00:00
Mike Jolley c3554490b5 Backwards compatibility 2016-02-26 15:26:39 +00:00
Mike Jolley 384db11839 Hide disabled emails from dropdown
Fixes #10428
2016-02-26 13:22:31 +00:00
Shiva Poudel 162e6f874e Tweak some lines endings for views 2016-02-23 14:56:02 +05:45
Shiva Poudel e8077b4f9d Remove new line 2016-02-23 14:42:22 +05:45
Shiva Poudel 200a157663 Stop message moving using css class inline,
Fixes #10400
2016-02-23 14:18:11 +05:45
Mike Jolley fc3474f255 Stop message moving
Fixes #10400
2016-02-22 13:32:31 +00:00
Shiva Poudel abe2f108f9 View mode option logic moved to appropriate post-type class 2016-02-20 00:49:36 +05:45
Jeff Stieler 346b25d01b Use ID instead of classname when saving settings for Checkout and Shipping. 2016-02-19 11:46:52 -07:00
Mike Jolley d63f4eb229 Merge pull request #10369 from justinshreve/back-to-emails-button-10317
Add a back button on the email notification management screens
2016-02-19 14:45:51 +00:00
Mike Jolley 986d63c511 Merge pull request #10384 from justinshreve/view-mode-10373
Hide the "View Mode" option on the "Screen Options" tab for products, orders, and coupons.
2016-02-19 14:44:38 +00:00
Mike Jolley 8d391e86e6 Merge pull request #10370 from BFTrick/system-status-private
Adding Check in System Status for Private WooCommerce Pages
2016-02-19 12:40:49 +00:00
Justin Shreve 2968a66a01 Hide the "View Mode" option on the "Screen Options" tab for products, orders, and coupons. 2016-02-18 11:58:36 -08:00
Patrick Rauland abfce2dea9 removing html from translatable string in system status. see #10370 2016-02-18 11:52:12 -07:00
Patrick Rauland 14ffeaa2a3 making post_status check in system status literal. See #10370 2016-02-18 11:46:03 -07:00
Justin Shreve c2d29e4884 Add a back button on the email notification management screens so you can easily get back to the main listing of emails. 2016-02-18 08:46:06 -08:00
Justin Shreve 4c498336fe Fix up some minor coding standards issues 2016-02-18 08:40:02 -08:00
Justin Shreve e8eabfd309 Fix hierarchy for products and attributes 2016-02-18 08:40:01 -08:00
Justin Shreve cfe39073a3 Fix headings on the add-ons/extensions screens 2016-02-18 08:39:02 -08:00
Justin Shreve d28c4f4f39 Fix hierarchy in the system status pages. 2016-02-18 08:39:02 -08:00
Justin Shreve 608f651133 Fix hierarchy on settings screens. 2016-02-18 08:39:02 -08:00
Justin Shreve 6d683b7492 Fix up hierarchy on all of the generated report screens. 2016-02-18 08:39:02 -08:00
Justin Shreve 8c49e81f45 Fix up heading hierarchy on the add new order screen 2016-02-18 08:39:02 -08:00
Shiva Poudel 7ec7515d52 Fix - Contributing guidelines broken links 2016-02-18 21:24:50 +05:45
Mike Jolley 47a0762a4a Remove old code 2016-02-18 12:57:03 +00:00
Jeff Stieler 067b406a5c Load Shipping settings sections using Shipping Methods’ IDs rather than their class name. 2016-02-17 18:07:14 -07:00
Jeff Stieler f1a2a5f974 Load Checkout settings sections using Payment Gateways’ IDs rather than their class name. 2016-02-17 18:06:48 -07:00
Shiva Poudel 19781fb91b Tweak strings for the media frame button 2016-02-18 02:22:36 +05:45
Patrick Rauland dae216104e adding check for private WooCommerce pages 2016-02-17 10:06:28 -07:00
Claudio Sanches 2de00c61ff Added account endpoint for customer payment methods 2016-02-16 13:57:46 -02:00
Claudio Sanches 00a0841708 New options for orders and downloads endpoints 2016-02-16 13:50:06 -02:00
Mike Jolley 9be6942f29 Merge pull request #10331 from aelia-co/master
Modified scope of WC_Shipping_Method methods
2016-02-16 12:33:46 +00:00
Mike Jolley 6880a71ea9 Merge pull request #10141 from woothemes/fix-10135
Fix 10135
2016-02-12 13:37:53 +00:00
Mike Jolley 3dba3378c2 Merge pull request #10315 from woothemes/layered-nav-wp-query
Layered Nav Improvements
2016-02-12 11:59:40 +00:00
Justin Shreve ff95d880bd Add shipping zone tables to the database status report 2016-02-11 10:24:11 -08:00
Diego Zanella e938fdddd2 Modified scope of WC_Shipping_Method methods
* A "private" scope is rarely required, and it prevents extensibility. Having methods accessible by descendant classes is vital, especially when breaking changes are introduced.
2016-02-11 17:25:38 +00:00
Mike Jolley bc83a04c6c Feedback from Justin 2016-02-11 11:13:48 +00:00
Mike Jolley fab8a871aa Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Mike Jolley d598e6ffad Tooltip 2016-02-10 14:11:32 +00:00
Mike Jolley 75c264837f Justins feedback/code tidy 2016-02-10 13:21:16 +00:00
Mike Jolley 114cbdd450 Autoload tweaks 2016-02-09 23:26:22 +00:00
Fredrik Forsmo d6138a69e9 Add is set check for product_base permalink 2016-02-09 10:55:37 +01:00
Shiva Poudel c5fdcb52ba Move remove meta box to its original method 2016-02-08 20:27:01 +05:45
Mike Jolley 8e85306ef1 Remove reviews/comments meta box for products
Closes #10175 @claudiosmweb
2016-02-08 13:29:54 +00:00
Mike Jolley 0c30999a67 When orders update, invalidate money spent user meta.
Closes #9562
2016-02-08 12:26:46 +00:00
Mike Jolley aa4bfde937 Remove deprecated chosen js scripts 2016-02-08 12:10:42 +00:00
Mike Jolley 98f40fed9e Enable SKU for grouped products and move to inventory tab.
SKU is a stock keeping unit, specifically for inventory purposes. So it
does make sense to have this on the inventory tab - this also allows it
to work on grouped products without showing new tabs there.

Closes #10034

cc @jameskoster @claudiosmweb
2016-02-08 11:50:01 +00:00
Mike Jolley efd0304bb0 Color code manual, system and customer notes
Closes #7225
2016-02-08 11:39:31 +00:00
Mike Jolley 5cae61cb69 Show net sales on dashboard
Closes #9948
2016-02-08 11:28:40 +00:00
Mike Jolley 428c2c3e0f Merge pull request #10284 from shivapoudel/theme-api
Fix - theme_api check as an object first
2016-02-08 09:55:54 +00:00
Shiva Poudel 1c856181d2 Both row actions can be check in single condition ;) 2016-02-06 01:46:21 +05:45
Shiva Poudel b0432827f5 Fix - theme_api check as an object first 2016-02-06 01:33:45 +05:45
Mike Jolley 78296adf67 Missin list element 2016-02-05 15:45:32 +00:00
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley 38d618e9d9 Merge pull request #10264 from helgatheviking/master
row actions for shop orders
2016-02-05 12:22:14 +00:00
Mike Jolley 3cef28efe8 [2.5] Error handling for screen ids
Fixes #10280
2016-02-05 12:16:44 +00:00
Mike Jolley 2e54a01e17 Add 'media-models' dependency
Closes #10249
2016-02-05 11:58:22 +00:00
Mike Jolley 1eebb19899 [2.5] Wrap report in backtick to stop people breaking .org forums
Before @jdembowski runs out of coffee
2016-02-05 09:55:51 +00:00
Mike Jolley b789a5ddd2 [2.5] Notice when no order note sexist
Fixes #10267
2016-02-04 16:51:07 +00:00
Kathy Darling 0720e6dc89 row actions for shop orders 2016-02-03 12:43:18 -05:00
Mike Jolley f8df682f34 Hide stock amount when children are involved
Closes #10172
2016-01-27 13:00:50 +00:00
Mike Jolley 8c85183d6e [2.5] Remove case check from tax rate country REGEX 2016-01-27 12:10:36 +00:00
Mike Jolley 57c643c93e [2.5] Round tax/tax refunded amounts on display.
Closes #10162
2016-01-25 15:18:49 +00:00
Mike Jolley b26a13ec47 [2.5] tracking text 2016-01-25 14:55:41 +00:00
Claudio Sanches e87007d5cd [2.5] Fixed tax row autocomplete htmlentity, closes #10149 2016-01-23 14:32:09 -02:00
Mike Jolley f5140af918 [2.5] Report on partial refunds/refunds items rather than full refunds to ensure they are reported when refunded
@claudiosmweb your testing + approval welcome.

Closes #10138
2016-01-22 17:53:12 +00:00
Mike Jolley 77e1aa8263 Make qty for refunds negative
Fixes order counts reported in #10135

May however require an upgrade routine and needs more testing. Not for
2.5.

Fixes #10135
2016-01-22 16:28:29 +00:00
Mike Jolley 6cc700a497 [2.5] Report on partial refunds/refunds items rather than full refunds to ensure they are reported when refunded
@claudiosmweb your testing + approval welcome.

Closes #10138
2016-01-22 15:50:23 +00:00
Claudio Sanches 1626d29414 Fixed coding standards and improved code for #10070 2016-01-21 19:38:15 -02:00
Claudio Sanches 544d7fb8c2 Merge pull request #10070 from woothemes/SiR-DanieL-patch-1
Add DISABLE_WP_CRON to the system status
2016-01-21 19:34:30 -02:00
Simon Prosser 4899d99475 Videon only load when help is needed. 2016-01-21 00:12:19 +00:00
Claudio Sanches 6277d96770 Stop direct access 2016-01-19 15:57:03 -02:00
Mike Jolley 0049415797 [2.5] get_currentuserinfo() is deprecated in WP 4.5 2016-01-18 14:42:01 +00:00
Mike Jolley e86a159fd0 Correct option name 2016-01-18 10:24:59 +00:00
Shohei Tanaka 141414f048 No setup num_decimals in Setup Wizard
num_decimals is not set in Setup Wizard, but set in locale-info.php and Javascript code.
2016-01-16 14:46:51 +09:00
Mike Jolley b788418283 Load shipping methods during save
Fixes #10072
2016-01-14 13:24:02 +00:00
Nicola Mustone ff82b623bd invert signs 2016-01-14 11:09:30 +01:00
Nicola Mustone 03e3f7ca3d better wording 2016-01-14 10:51:56 +01:00
Nicola Mustone f457d1c453 use the correct constant 2016-01-14 10:42:57 +01:00
Nicola Mustone 9499d561d3 add WP_CRON to the system status 2016-01-14 08:01:22 +01:00
Mike Jolley d821b87f8a Move shipping classes to custom UI in shipping section 2016-01-13 16:52:28 +00:00
Mike Jolley 8064b35350 Add methods from zones screen 2016-01-13 15:04:10 +00:00
Mike Jolley 31be09073f Show zones if no matching shipping method is found 2016-01-13 12:41:54 +00:00
Mike Jolley c8025705c1 Text changes 2016-01-13 12:38:31 +00:00
Mike Jolley 6a8819fc23 Text changes 2016-01-13 12:31:10 +00:00
Mike Jolley 68e30f0f38 Zones page text 2016-01-13 12:12:58 +00:00
Claudio Sanches 636e2389aa Changed … to &hellip; 2016-01-12 14:03:01 -02:00
Mike Jolley 70a9eb3807 Fix pagination + sorting on tax screen
@claudiosmweb
2016-01-12 12:01:10 +00:00
Mike Jolley 1076854608 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/class-wc-shipping.php
#	includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
#	includes/shipping/flat-rate/includes/class-wc-eval-math.php
#	includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley bdb8de7785 Zone unit tests 2016-01-08 14:53:24 +00:00
Mike Jolley accc62d5ef Breadcrumb tweak 2016-01-08 12:10:40 +00:00
Mike Jolley cef3ec7e37 Indicate disabled methods 2016-01-08 11:57:49 +00:00
Mike Jolley 007abbc98e Shipping meta data
Closes #9094
2016-01-08 11:42:32 +00:00
Mike Jolley ad11042afd [2.4] Don't unforce SSL on secure blogs
@claudiosmweb can you check this and cherry pick if good to go?

Fixes #10029
2016-01-08 11:27:18 +00:00
Shiva Poudel 45dd6890c7 Use selected instead of checked for currency code in setup wizard 2016-01-07 16:58:53 +05:45
Mike Jolley ca69ed7012 Wizard integration 2016-01-06 14:21:13 +00:00
Claudio Sanches e4c45c0c47 Merge pull request #9964 from frozzare/docs/class-wc-admin-settings
Improve docblock comments in WC_Admin_Settings class
2016-01-05 14:01:34 -02:00
Claudio Sanches 0fc96d3015 Merge pull request #9965 from frozzare/docs/class-wc-admin-meta-boxes
Improve docblock comments in WC_Admin_Meta_Boxes class
2016-01-05 14:00:26 -02:00
Claudio Sanches 2cb64100a0 Merge pull request #9966 from frozzare/docs/class-wc-admin-menus
Improve docblock comments in WC_Admin_Menus class
2016-01-05 14:00:12 -02:00
Claudio Sanches 84aa679980 Merge pull request #9967 from frozzare/docs/class-wc-admin-addons
Improve docblock comments in WC_Admin_Addons class
2016-01-05 14:00:07 -02:00
Claudio Sanches 01908dca5d Merge pull request #9968 from frozzare/docs/class-wc-settings
Improve docblock comments in WC_Settings_* classes
2016-01-05 13:59:56 -02:00
Claudio Sanches 648b33fab9 Merge pull request #9969 from frozzare/docs/class-wc-admin-taxonomies
Improve docblock comments in WC_Admin_Taxonomies class
2016-01-05 13:59:48 -02:00
Fredrik Forsmo c7ab50ec7e Add missing param tags to various wc admin docblocks 2016-01-05 16:49:41 +01:00
Fredrik Forsmo 559d9259ea Improve docblock comments in WC_Admin_Taxonomies class
* Added missing param tags
* Updated param types to right type
2016-01-05 16:42:03 +01:00
Fredrik Forsmo 005be911b5 Improve docblock comments in WC_Admin_Settings class
* Added comments to properties that don’t have any.
2016-01-05 16:37:28 +01:00
Fredrik Forsmo 7783ec5ca6 Improve docblock comments in WC_Admin_Meta_Boxes class
* Added comments to properties that don’t have any.
* Fixed can typo: `cna => can`
2016-01-05 16:32:16 +01:00
Fredrik Forsmo a64fa98b40 Improve docblock comments in WC_Admin_Menus class
* Added comment to `nav_menu_links` since it didn’t have any.
2016-01-05 16:29:16 +01:00
Fredrik Forsmo b4bcf38a26 Improve docblock comments in WC_Admin_Addons class
* Added missing param tags
2016-01-05 16:24:48 +01:00
Fredrik Forsmo 72f062b452 Improve docblock comments in WC_Settings_* classes
* Added comments to properties that don’t have any.
2016-01-05 16:22:18 +01:00
Mike Jolley ade2b04ab3 Merge pull request #9960 from frozzare/docs/class-wc-report-stock
Improve docblock comments in WC_Report_Stock class
2016-01-05 12:15:34 +00:00
Mike Jolley 12bf6c5355 Merge pull request #9959 from frozzare/docs/class-wc-report-sales-by-category
Improve docblock comments in WC_Report_Sales_By_Category class
2016-01-05 12:15:21 +00:00
Mike Jolley a8f8802631 Merge pull request #9958 from frozzare/docs/class-wc-report-sales-by-date
Improve docblock comments in WC_Report_Sales_By_Date class
2016-01-05 12:14:01 +00:00
Mike Jolley 6ee8727ff6 Merge pull request #9957 from frozzare/docs/class-wc-report-sales-by-product
Improve docblock comments in WC_Report_Sales_By_Product class
2016-01-05 12:13:13 +00:00
Mike Jolley cc1232e126 Merge pull request #9956 from frozzare/docs/class-wc-report-out-of-stock
Improve docblock comments in WC_Report_Out_Of_Stock class
2016-01-05 12:12:38 +00:00
Mike Jolley c564a05ac3 Merge pull request #9954 from frozzare/docs/class-wc-report-customers
Improve docblock comments in WC_Report_Customers class
2016-01-05 12:12:18 +00:00
Mike Jolley 80eb99526d Merge pull request #9955 from frozzare/docs/class-wc-report-most-stocked
Improve docblock comments in WC_Report_Most_Stocked class
2016-01-05 12:11:46 +00:00
Fredrik Forsmo 67308a3131 Add missing `exit if accessed directly` to WC_Report_Taxes_* classes 2016-01-05 12:47:44 +01:00
Fredrik Forsmo a9b4cc2caf Improve docblock comments in WC_Report_Stock class
* Added comments to properties that don’t have any.
* Added comment to `__construct`, `column_default`, `get_columns` and
`prepare_items` since it
was `method function`
* Added missing param tags to `display_tablenav`
2016-01-05 12:46:15 +01:00
Fredrik Forsmo 53d5684c92 Improve docblock comments in WC_Report_Sales_By_Product class
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets` since it
was `method function`
* Added missing `exit if accessed directly`
* Updated `current_filters` and `products_widget`
2016-01-05 12:41:12 +01:00
Fredrik Forsmo 0b62c624fa Improve docblock comments in WC_Report_Sales_By_Date class
* Added comments to properties that don’t have any.
* Fixed return tag value for `get_report_data`
2016-01-05 12:28:49 +01:00
Mike Jolley 97d47fb576 Move zones to main settings 2016-01-05 11:23:15 +00:00
Fredrik Forsmo 03a3e4f06d Improve docblock comments in WC_Report_Sales_By_Category class
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets` since it
was `method function`
* Added missing `exit if accessed directly`
* Updated `category_widget` comment to a better one.
2016-01-05 12:18:58 +01:00
Fredrik Forsmo a59e110895 Improve docblock comments in WC_Report_Out_Of_Stock class
* Added missing param tags to `get_items`
2016-01-05 11:52:38 +01:00
Fredrik Forsmo c88119814c Improve docblock comments in WC_Report_Most_Stocked class
* Added missing param tags to `get_items`
2016-01-05 11:37:33 +01:00
Mike Jolley e07185ec1f Merge pull request #9952 from frozzare/docs/class-wc-report-low-in-stock
Add missing docblock param tags to get_items in WC_Report_Low_In_Stock class
2016-01-05 10:17:13 +00:00
Mike Jolley a24df3aa61 Merge pull request #9949 from frozzare/docs/class-wc-report-coupon-usage
Improve docblock comments in WC_Report_Coupon_Usage class
2016-01-05 10:17:03 +00:00
Mike Jolley 8231853f70 Merge pull request #9950 from frozzare/docs/class-wc-admin-report
Improve docblock comments in WC_Admin_Report class
2016-01-05 10:16:49 +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
Fredrik Forsmo c0be061de6 Add missing docblock param tags to WC_Report_Low_In_Stock class 2016-01-05 11:08:12 +01: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
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
Mike Jolley 62ca37f651 Merge branch 'master' into shipping-zones
# Conflicts:
#	includes/admin/class-wc-admin-assets.php
#	includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley 5aac7062e5 thumbnail size
Closes #9928
2016-01-04 10:46:11 +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 0b678ab2af Tweak save logic to set _price for variables/groups via sync functions only
Closes #9892
2015-12-23 13:08:45 +00: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
Claudio Sanches 997d1caa50 Fixed several new variations admin actions, closes #9886 2015-12-21 03:36:36 -02:00
Claudio Sanches a81f0f6eea Use blockui while saving taxes 2015-12-19 12:12:31 -02:00
Claudio Sanches 89581d1541 Setup Wizard and no Onboarding Wizard 2015-12-18 17:05:16 -02:00
Mike Jolley 77f0e9d72a has settings handling 2015-12-18 13:12:20 +00:00
Mike Jolley c7e104115f unused code 2015-12-17 12:58:02 +00:00
Mike Jolley 8ebba9cc68 "enabled" column 2015-12-16 16:24:58 +00:00
Mike Jolley e13ba4f029 Empty states 2015-12-16 15:37:40 +00:00
Mike Jolley 571469f44c Add methods to zones 2015-12-16 15:16:52 +00:00
Mike Jolley bf362de020 worldwide methods 2015-12-16 13:38:03 +00:00
Mike Jolley 8aec02f625 Remove shipping select box option, tidy up logic and add filters from #9797
closes #9797
2015-12-16 13:00:16 +00:00
Fulvio Notarstefano d7d70298c5 #9857 change get_class to 2015-12-16 14:25:17 +08:00
Claudio Sanches c001d5b274 Make tooltips consistent, closes #9856 2015-12-16 03:38:53 -02:00
Mike Jolley d8f96f4dc9 zones empty state 2015-12-15 19:10:41 +00:00
Mike Jolley 7f61beee41 Worldwide zone handling 2015-12-15 18:04:14 +00:00
Mike Jolley 44b2834d73 Worldwide zones needs handling 2015-12-15 17:54:51 +00:00
Mike Jolley e25d876779 List and sort methods within zones 2015-12-15 17:48:03 +00:00
Mike Jolley 05783272a2 Merge branch 'exensible-addons-screen' 2015-12-15 16:41:56 +00:00
Mike Jolley f48f09ebdf Fix zone links 2015-12-15 16:35:33 +00:00
Mike Jolley 9818796d3e Removing selection priority
This option was added so you could sort methods in a custom order, but
choose a different default.

Doing this per zone would add extra complexity, and this has also
proven problematic when a method registers multiple rates.

This commit removes usage of the setting. We should use the display
order and choose the top method by default. It think this balances ease
of use with control.
2015-12-15 15:49:35 +00:00
Bryce Adams ff5caa85b7 Update URL used to get add-on sections
Related to https://github.com/Automattic/woothemes.com/pull/47
2015-12-15 12:20:02 +11:00
Mike Jolley 3b81642eec Instance and global level settings 2015-12-14 16:56:39 +00:00
Mike Jolley d515ddaaed Merge pull request #9798 from JeroenSormani/admin-order-item-hooks
Add hooks after order line items in admin
2015-12-14 12:50:54 +00:00
Mike Jolley 7ce6e2f1ab Merge pull request #9820 from pmgarman/processing-order-counts-filter
Add filter to remove admin menu order counts
2015-12-14 12:43:14 +00:00
Mike Jolley 63f8eebd6a Started on refactoring settings for instances 2015-12-11 16:41:38 +00:00
Mike Jolley 6cea054fca Method list screen and method screen with breadcrumbs 2015-12-11 14:11:12 +00:00
Luan Cuba 9a52cc3abd It should be "character" instend of "charactrer". 2015-12-10 17:51:50 -02:00
Patrick Garman 0fa0c20520 Add filter to remove admin menu order counts
On large sites this query can easily take 6-10 seconds to complete, slowing the entire dashboard down.
2015-12-10 13:40:41 -06:00
Mike Jolley 66d4065ae4 postcode saving 2015-12-10 18:33:59 +00:00
Mike Jolley 4893db3afe tweak js 2015-12-10 17:47:14 +00:00
Mike Jolley 0e2bfa551c wc-shipping-zone-postcodes 2015-12-10 17:29:09 +00:00
Mike Jolley d859b6f2f9 remove trs 2015-12-10 17:27:25 +00:00
Mike Jolley 4557157890 List regions 2015-12-10 17:07:18 +00:00
Mike Jolley cf5381083d Started on zone regions selector 2015-12-10 15:09:37 +00:00
Mike Jolley 14eeb9f936 Zones first draft with backbone saving of zone names 2015-12-10 11:55:03 +00:00
Claudio Sanches 987b93c87e Changed (Untitled) to (no title) #9806 2015-12-09 16:28:34 -02:00
Claudio Sanches 2a5b785e50 Show (Untitled) in settings when payment method don't have title
Fixed some coding standards too.

Closes #9806
2015-12-09 15:11:59 -02:00
Claudio Sanches 586b656d07 Better translate strings for #9799 2015-12-09 12:11:48 -02:00
Claudio Sanches 6a41f4d5b8 Merge pull request #9796 from shivapoudel/select2-ver
Updated select2 version to register script
2015-12-09 11:45:58 -02:00
Mike Jolley cc68cd48c5 Use post-thumbnail size to avoid srcsets
Closes #9795
2015-12-09 11:36:09 +00:00
JeroenSormani 0bc4089ea7 Add hooks after order line items in admin 2015-12-09 09:29:32 +01:00
Shiva Poudel df0b6eb9d5 Updated select2 version to register script 2015-12-09 13:15:46 +05:45
Claudio Sanches 5653f63275 Added Multibyte String in System Status
Closes #9789

cc @mikejolley
2015-12-08 14:38:36 -02:00
Mike Jolley 56f274b68b non-functional Mockup for the shipping zones interface 2015-12-08 12:45:18 +00:00
Claudio Sanches d01f1eea3c Fixed webhook "Delete Permanently" link
cc @mikejolley
2015-12-04 12:41:35 -02:00
Mike Jolley bcdce81606 Ping webhook delivery URL on save and show errors
Closes #9751 @claudiosmweb
2015-12-04 12:47:30 +00:00
Job Thomas a16de4d334 Edit/add campaign parameters to all links in the help tab (and change the medium from Wizard to Help) 2015-12-03 17:37:41 +02:00
Job Thomas 396d18a799 Editing campaign parameters Onboarding Wizard 2015-12-03 17:24:23 +02:00
Mike Jolley 60a7d034b1 Sample addon data 2015-12-03 14:04:36 +00:00
Mike Jolley 10490d640c No notices 2015-12-03 13:42:58 +00:00
Mike Jolley 177892b9c3 Refactored the addons screens to use new json files 2015-12-03 13:38:13 +00:00
Mike Jolley 4cf699ed0a Update coupon label
Closes #9748
2015-12-03 12:02:04 +00:00
Mike Jolley 12db1d4637 Notify users of no variations but leave status as is.
Closes #9713
2015-12-03 10:14:00 +00:00
Mike Jolley d585e65e5a Use cache and invalidation for taxes
Closes #9712
2015-12-02 15:53:54 +00:00
Claudio Sanches f954886635 [2.4] Fix SKU slash madness in quick edit #9721 2015-12-02 09:52:16 -02:00
Mike Jolley 4b87b0fbdc [2.4] Fix SKU slash madness
Fixes #9721
2015-12-02 11:22:11 +00:00
Job Thomas e91b5362ed Replacing support.woothemes.com by woothemes.com/my-account/tickets to decrease attention to support.woothemes.com and get people to the right place in one go 2015-12-01 17:46:03 +02:00
roykho 887d37583c Seperate variation description field from shipping div container 2015-11-28 07:20:47 -08:00
Mike Jolley 35f9a89012 Fix attribute creation on import
Closes #9697
2015-11-27 14:28:20 +00:00
Mike Jolley 00f5317621 Merge pull request #9581 from shivapoudel/validation
Add Js Validation for price and dimension field in product quick edit…
2015-11-27 13:07:38 +00:00
Mike Jolley fd5dd4cfb7 h2 > h1 2015-11-27 12:27:27 +00:00
Mike Jolley f9756b29f1 WP_MEMORY_LIMIT defaults to 40MB, but only sets that value if more than system memory. 2015-11-25 18:53:20 +00:00
Mike Jolley 28dcb9ddbc Tweak how sale and regular prices are handled
Prevents issue with PHP 5.6 and Suhosin sending NULL values. Fixes #9698
2015-11-25 18:40:49 +00:00
roykho aa7d583656 Fix lingering product gallery attachment ids when delete from media fixes #9681 2015-11-23 22:01:30 -08:00
Claudio Sanches 7945857b2e Merge pull request #9684 from justinshreve/bulk-edit-price-product-types
Add filter to set which product types can have their "simple prices" updated by bulk edit
2015-11-23 17:59:23 -02:00
Mike Jolley 8684ea0543 Merge pull request #9667 from krautnerds/fix-variation-modified-date
Bump modified date of variations on update
2015-11-23 18:48:33 +00:00
Justin Shreve aa04a9dffb Add a filter to set which products can have their "simple prices" updated by the bulk edit code. 2015-11-23 07:47:41 -08:00
Claudio Sanches 753014da5a Merge pull request #9631 from woothemes/transient-tweaks
Transient tweaks
2015-11-21 22:48:14 -02:00
Florian Ludwig 1d87c0c827 Bugfix: Used wrong date format for database 2015-11-20 18:09:47 +01:00
Florian Ludwig 787ebb0ef5 Bugfix: use "post_modified" instead of "post_date"; Moved modified_date update to woocommerce_update_product_variation code path
We should only set „post_modified“ if we are updating the variation
2015-11-20 18:00:10 +01:00
Claudio Sanches d941d5e325 Improved add_query_arg() use in WC_Admin_Addons::output_storefront_button() 2015-11-20 13:27:52 -02:00
Florian Ludwig 477da091db Bump modified date of variation on update 2015-11-20 16:26:33 +01:00
Matty 2b601167f5 Removes unnecessary passing of when calling the output_storefront_button() method. 2015-11-20 09:33:51 +02:00
Matty 5a0a8ef2f2 Adds Google campaign tags for tracking the various states of the 'Try Storefront' button. 2015-11-19 16:44:04 +02:00
Matty 94da31ef01 Adjusts the default 'Try Storefront' button to direct to the Storefront listing on WooThemes.com, even if Storefront and a child theme are in use. 2015-11-19 14:35:20 +02:00
Matty 4fc1023d0a Adjusts the 'try Storefront' button on the 'Addons' screen to be more contextual, depending on the current theme/child theme combination activated. 2015-11-19 14:27:34 +02:00
Mike Jolley 1a59d14868 Point to correct element and make trigger manual
Closes #9609
2015-11-16 14:21:53 +00:00
Mehdi Esmaeili 588ff1029a Remove duplicate array key 2015-11-15 02:42:47 +03:30
Mike Jolley 7b45525dc5 Clear coupon cache on save 2015-11-13 23:15:29 +00:00
roykho e5ca21f1e3 Change to WP convenience function 2015-11-12 13:19:57 -08:00
roykho 5cd3150c94 Fix order item name escaping apostrophe closes #9583 2015-11-12 08:04:21 -08:00
Shiva Poudel 7934d6fd29 Add Js Validation for price and dimension field in product quick edit panel 2015-11-12 04:50:57 +05:45
Claudio Sanches 84ac454c3e Fixed settings messages location in WP 4.4, closes #9575 2015-11-11 12:18:31 -02:00
Shiva Poudel 3a52125b93 Updated admin menu docblock version 2015-11-11 18:29:00 +05:45
Shiva Poudel c0c587103c Fix - Shipping classes menu highlight, Closes #9538 2015-11-11 15:12:31 +05:45
Shiva Poudel d92dcfaba0 Fix - Shipping classes admin page access, #9538 2015-11-11 15:07:43 +05:45
Shiva Poudel 33ad23f371 Improve help tip docblock and remove space 2015-11-10 07:13:53 +05:45
Claudio Sanches 89de396709 [2.4] Allow bulk edit sale_prices as 0 2015-11-06 14:42:51 -02:00
Mike Jolley 19da7cf8bc No need to delete termmeta if using the new tables 2015-11-06 15:33:23 +00:00
Mike Jolley d0b7335e33 Merge pull request #9528 from shivapoudel/typo
Typo fix in tools for uninstall
2015-11-05 19:10:47 +00:00
Shiva Poudel 592c7aee02 Typo fix in tools for uninstall 2015-11-06 00:10:14 +05:45
Mike Jolley 4f0cc137cc Enable SQL_BIG_SELECTS in reports
@claudiosmweb
2015-11-05 15:45:19 +00:00
Mike Jolley 5e62143767 Update tools text Closes #9512 2015-11-05 14:44:05 +00:00
Shiva Poudel d9e8057df3 Tweak the dockblocks and periodic-ending fix 2015-11-04 00:05:08 +05:45
Mike Jolley 1756aa8fca Use help tip function in email table. 2015-11-03 16:12:13 +00:00
Mike Jolley 1b38f380af Merge remote-tracking branch 'origin/master'
Conflicts:
	includes/emails/class-wc-email.php
2015-11-03 16:09:01 +00:00
Mike Jolley 1e945026b3 Tweak screen description 2015-11-03 15:41:31 +00:00
Mike Jolley 8457dbb57d Display if emails are manually sent 2015-11-03 15:40:10 +00:00
Mike Jolley d95f863d79 Show descriptions inline 2015-11-03 15:04:29 +00:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Claudio Sanches efa19f799d Fixed some coding standards for docblocks 2015-11-03 10:28:01 -02:00
Mike Jolley 5f65494e27 Restructure emails admin to avoid listing emails along the top
Moves emails to a table on the settings screen.

Also tweaks some section text and moves descriptions to tooltips for a
less cluttered interface.
2015-11-02 16:27:00 +00:00
Mike Jolley dfc1e0a625 Merge remote-tracking branch 'origin/master'
Conflicts:
	includes/admin/views/html-admin-page-status-report.php
2015-11-02 10:02:35 +00:00
Mike Jolley 781adc121c Check parent theme version
Closes #9477
2015-11-02 10:01:42 +00:00
Claudio Sanches 317aeb39f1 Merge pull request #9478 from WPprodigy/system-status-fix2
Typo in system status report
2015-10-31 17:03:48 -02:00
Caleb Burks 46b43f4c7c Typo in system status report 2015-10-31 12:00:51 -04:00
Caleb Burks 10bb2c6ca1 Check for child themes in the .org repo 2015-10-31 11:23:07 -04:00
Mike Jolley ad38f6e34f Add pay link to order screen
Closes #9428
2015-10-30 13:29:16 +00:00
Claudio Sanches 454ffa4677 [2.4] Fixed bulk edit sale_price when empty
This avoid sale_price saved as "0" and update correct update _price
field, related issue: #8076

Closes #9437
2015-10-27 11:27:31 -02:00
Shohei Tanaka 94dc4e310b Customer Name in admin Order list
In Japan we want to use full name order in admin order list.
2015-10-27 06:37:04 +09:00
Mike Jolley 59dc92e113 Merge pull request #9417 from woothemes/9381-help-tip-icon-font
Use new "question" mark icon font for Help Tips
2015-10-26 08:45:10 -06:00
Claudio Sanches e91e0a9f5e Changed <i> to <span> in wc_help_tip()
<span> is more semantically correct
2015-10-23 13:17:35 -02:00
Claudio Sanches b85ae9056c Rename wc_add_help_tip() function to wc_help_tip() 2015-10-23 13:09:08 -02:00
Mike Jolley 8279db6679 If redirection to setup wizard does not occur, do not redirect at all 2015-10-23 12:24:04 +01:00
Claudio Sanches 2e95a68357 Use new "question" mark icon font
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]

We'll keep the old image and styles in order to maintain backwards
compatibility

Closes #9381
2015-10-23 01:40:52 -02:00
Claudio Sanches c1b46113bc [2.4] Make "Not right now" button on Setup Wizard go to the WP dashboard
closes #9392
2015-10-22 18:17:14 -02:00
Mike Jolley 08365f4145 Merge pull request #9333 from roykho/onboard
[onboard wizard] Remove required attribute from currency_code form el…
2015-10-22 09:03:48 -06:00
Claudio Sanches 1ea5b8433f Escape normalized for the woocommerce_variation_option_name filter 2015-10-18 10:42:44 -06:00
roykho 27db35dd12 [onboard wizard] Remove required attribute from currency_code form element so it is not required 2015-10-09 07:01:49 -07:00
Mike Jolley 68cb6b11ee Removed welcome page
2.5 release doesn’t have enough user-facing features to justify a
full-blown welcome page, and translation credits are no longer
obtainable after translate.wordpress switch. Removed the page to keep
things streamlined.
@claudiosmweb @mattyza
2015-10-09 11:56:13 +01:00
Mike Jolley 919f19b698 Remove transifex references 2015-10-09 11:31:42 +01:00
Mike Jolley d5409f5b5e Merge conflicts 2015-10-08 13:28:25 +01:00
Mike Jolley 0197a99065 Merge branch 'issue/8587'
Conflicts:
	assets/css/admin.css
	assets/css/woocommerce.css
	includes/admin/class-wc-admin-assets.php
	includes/admin/settings/views/html-settings-tax.php
2015-10-08 13:26:52 +01:00
Mike Jolley 8ee479afd7 Remove unused input 2015-10-08 13:25:01 +01:00
Mike Jolley ac02ec290a Improved styling and wording 2015-10-08 13:18:00 +01:00
Shiva Poudel af7b603690 Added new woocommerce_sessions table in system status 2015-10-08 16:26:16 +05:45
Mike Jolley b27635409c New Session Handler
This merges and adapts
https://github.com/kloon/woocommerce-large-sessions for core. Closes
#6846.

Differences:
- Rather than delete each cache key individually, this invalidates all
at once (idea from https://core.trac.wordpress.org/ticket/4476)
- Removes ‘replace’ which increments session_id keys unnecessarily.
- Fixes remove/restore cart sessions from making it dirty each page load

Kudos to @kloon for the bulk of the work and testing on Woo.com.

cc @claudiosmweb
2015-10-07 14:47:29 +01:00
Mike Jolley 9c6d524c95 Missing close bracket 2015-10-06 15:08:17 +01:00
Mike Jolley f1c6b3628a Pass mimes when checking file type
#9207
2015-10-06 15:01:41 +01:00
Claudio Sanches 9169458590 Updated recent reviews url escaping 2015-10-06 10:35:33 -03:00
Claudio Sanches c53fe24c20 Removed our own language packs manager 2015-10-06 10:27:17 -03:00
Mike Jolley d028e65748 Merge pull request #9163 from nvartolomei/downloadable-products-permissions-cleanup
Remove downloadable permissions on permanent order deletion
2015-10-06 12:41:56 +01:00
Shiva Poudel f6f7646cb6 Escape using esc_url instead of esc_attr for link 2015-10-06 10:40:11 +05:45
Claudio Sanches f2b3364fc9 Fixed coding standards 2015-10-05 20:31:05 -03:00
Claudio Sanches db6f51216e Improved coupons status display in admin table 2015-10-05 20:30:03 -03:00
roykho f97eb5606e add onboarding wizard button to the contextual help so it can be accessed again closes #9134 2015-10-05 15:26:59 -07:00
Mike Jolley 1f6260a880 Use tax settings in backend and default to base country
Closes #9186
2015-10-05 15:31:58 +01:00
Mike Jolley 6975335941 Coupon description is escaped
@claudiosmweb Closes #9273
2015-10-05 14:30:02 +01:00
Mike Jolley 5ad38f8b65 Tweak and link product permalink settings to WordPress settings
Fixes #8442
2015-10-05 12:15:35 +01:00
Mike Jolley 4fd987c165 Merge pull request #9266 from woothemes/issues/9125-report-does-not-match-with-chart
[2.4] Fixed wrong gross sales calculation on sales by date report.
2015-10-05 09:17:59 +01:00
Shiva Poudel 178df9cec9 Remove duplicated 'thumb' for product custom columns 2015-10-05 13:41:29 +05:45
Akeda Bagus dc0d5362cd Fixed wrong gross sales calculation on sales by date report.
The order amounts should exclude refunds.

Fixes #9125.
2015-10-02 11:08:41 +02:00
Mike Jolley a7228e8305 search variation skus
Fixes #7926
2015-10-02 10:52:27 +02:00
Mike Jolley 96103724dc Display 2 averages on report
Closes #9144
2015-10-02 10:42:48 +02:00
Shiva Poudel 836ac8ae79 Remove the duplicated variable jquery_version ;) 2015-10-02 11:30:05 +05:45
Mike Jolley e5575361f2 Merge pull request #9252 from shivapoudel/unused-global
Removed unused global variable
2015-10-01 18:50:03 +02:00
Mike Jolley 948ba904de Merge pull request #9244 from franticpsyx/template_override_check_path
[2.4] System Report: Template version check path incorrect
2015-10-01 18:48:55 +02:00
Manos Psychogyiopoulos 4fc018a88b stray error_log 2015-10-01 19:27:43 +03:00
Mike Jolley 19db1a6b4f Add notes for manual email send
Closes #8902
2015-10-01 17:39:32 +02:00
Claudio Sanches 3a536ac8b7 Sanitize shipping method label/title, closes #9159 2015-10-01 17:17:45 +02:00
Mike Jolley 7b751dc622 Clean post cache after variation update
Closes #9173
2015-10-01 16:48:41 +02:00
Claudio Sanches 7c05671188 Added new actions to make easy add custom fields for variations, closes #8827 2015-10-01 16:30:02 +02:00
Claudio Sanches f6a5e48a59 Register all styles on admin before call #8488 2015-10-01 16:10:18 +02:00
Claudio Sanches 0966fedb12 Moved JS vendor libraries for our own directories #8488 2015-10-01 15:46:08 +02:00
Shiva Poudel b614222b11 Removed unused global variable 2015-10-01 15:28:41 +05:45
Mike Jolley 324e3cac0f Add billing column (off for new users)
Closes #9240
2015-10-01 10:52:03 +02:00
Manos Psychogyiopoulos 37b24ae525 move version check into loop 2015-09-30 11:01:25 +03:00
Manos Psychogyiopoulos e36c5ae630 fix file version check path 2015-09-29 12:36:03 +03:00
Claudio Sanches df508c82a3 Merge pull request #9198 from nvartolomei/shop-order-meta-save
Set order date before changing order status.
2015-09-22 13:55:24 -03:00
Claudio Sanches 91c30310ee Fixed stock email recipient description typo, closes #9199 2015-09-22 13:06:10 -03:00
Nicolae Vartolomei dd62484cc2 Set order date before changing order status. 2015-09-22 12:02:29 +03:00
Claudio Sanches c4a845e9ac Merge pull request #9178 from krautnerds/fix-report-chart-highlighting
[2.4] Fixed wrong highlighting of reports chart
2015-09-21 16:50:24 -03:00
Claudio Sanches 63b389d21c Merge pull request #9181 from woothemes/issues/8721-fix-network-activated-plugins-not-showing-up
Fix network activated plugins not showing up in system status report.
2015-09-21 16:43:40 -03:00
Claudio Sanches ebc0996f4c [2.4] Show tax fields in product bulk edit only when tax is enabled 2015-09-21 16:36:46 -03:00
Claudio Sanches d07441f518 [2.4] Show tax fields in product quick edit only when tax is enabled 2015-09-21 16:03:03 -03:00
Akeda Bagus 7490600de5 Fix network activated plugins not showing up in system status report.
The array returned by `get_site_option( 'active_sitewide_plugins' )` has
plugin file as array's key while array returned by `get_option( 'active_plugins' )`
has plugin file as array's value.

Fixes #8721
2015-09-20 23:35:03 -05:00
Florian Ludwig 7d2d102dc4 Fixed wrong highlighting of reports chart
The highlight data attributes were totally messed up - Fixed them
according to the current sorting of the graph series
2015-09-20 18:12:31 +02:00
Claudio Sanches f6e828e359 [2.3] unslash shipping label, closes #9160 2015-09-18 12:28:13 -03:00
Claudio Sanches daf371052c Missing ) on order screen for customers select2 2015-09-18 12:21:55 -03:00
Nicolae Vartolomei e15a4367bd Rename action that is executed after permission deletion (typo) 2015-09-18 16:50:26 +03:00
Nicolae Vartolomei c415d1554c Remove downloadable permissions on permanent order deletion 2015-09-18 16:41:50 +03:00
Mike Jolley a175638032 [2.4] unslash file URL 2015-09-17 16:18:11 +01:00
Claudio Sanches ab921ea82c Merge pull request #9088 from khag7/khag7-patch-1
Filter the array which determines what classes are applied to an order note
2015-09-15 20:01:33 -03:00
Claudio Sanches ebedba7906 Merge pull request #9081 from helgatheviking/filter-admin-order-item-thumbnails
Add `woocommerce_admin_order_item_thumbnail` filter in admin
2015-09-15 19:58:23 -03:00
Claudio Sanches 7e63374aaf Merge pull request #8735 from shivapoudel/backbone-modal
Allow support for variable in backbone modal template in extensions
2015-09-15 19:44:50 -03:00
James Koster 82f8b61418 make it clearer that variation drag/drop only applies to the backend. closes #9104 2015-09-15 17:05:55 +01:00
Mike Jolley 4e063fb069 Merge pull request #8925 from shivapoudel/hidden-meta-boxes
Hides 'custom fields' section by default in product
2015-09-15 16:47:05 +01:00
Mike Jolley cc875d7b94 Merge pull request #8939 from SiR-DanieL/_x
Added some comments on translations
2015-09-15 16:45:39 +01:00
Mike Jolley 96814b992f Show more variations per page 2015-09-14 16:54:58 +01:00
Mike Jolley fc78f85bc6 Merge branch 'pr/9034' 2015-09-14 15:56:38 +01:00
Mike Jolley 53c6bebbd0 Select 1=1 instead of '1' when using get_var
Fixes #9102
2015-09-10 16:49:51 +01:00
Kevin Hagerty 1c6dad110e improved spacing, filter name more conventional, added esc_attr 2015-09-09 10:11:09 -04:00
Mike Jolley 71b8f0ddff Change loops wording
Closes #8818
2015-09-09 11:26:11 +01:00
Mike Jolley a0411e7d8b Apparently allowing full screen fixes wistia notices
Fixes #9052
2015-09-09 11:06:26 +01:00
Kevin Hagerty 849a3598c9 add a filter to the array of the html classes for an order note
allow plugins to hook into the display of order notes to add classes.
2015-09-08 20:11:04 -04:00
Kathy Darling 9571b8827e Add `woocommerce_admin_order_item_thumbnail` filter in `html-order-item.php`. 2015-09-08 13:41:12 -04:00
Mike Jolley 14ee9e2daa Merge pull request #9074 from khag7/khag7-patch-1
fix HTML for the order total column
2015-09-08 10:24:19 +01:00
matttallan bbe11fdd6b Don't try add/remove download permissions if order does not exist 2015-09-08 15:28:38 +10:00
Kevin Hagerty a59b3482e8 fix HTML for the order total column
the HTML generated now uses get_formatted_order_total, same solution used for issue #9047
2015-09-07 17:30:55 -04:00
Florian Ludwig 35655f8544 Fixed all inefficient selector usages
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Mike Jolley 3e0986bce0 Merge pull request #9053 from khag7/khag7-patch-1
Improve order total formatting
2015-09-07 14:43:49 +01:00
Mike Jolley 50e4a68235 Merge pull request #9028 from LeGaS/patch-1
Count only published variations
2015-09-07 14:43:01 +01:00
Mike Jolley 13b85f89a6 Tweak wc_create_page to work with trashed pages...
… and to check post IDs are valid pages with correct post statuses.
Fixes #9061

Closes #9062
Closes #9063
2015-09-07 14:17:22 +01:00
James Koster 4aff861626 responsive orders table in dashboard. closes #8996
Also removes unnecessary tooltip on order row.
2015-09-07 12:35:30 +01:00
Kevin Hagerty 3671bcf39d Improve order total formatting
The function get_formatted_order_total already provides formatted HTML with indication of a prior refund. No need to do that logic and formatting again.
2015-09-05 07:48:24 -04:00
Mike Jolley 991bd96fb6 Redirect 'not right now' to referer 2015-09-04 16:02:44 +01:00
Mike Jolley b111331686 Allow line breaks in non-variation attributes 2015-09-04 14:00:42 +01:00
Florian Ludwig 6f3a221c62 Removed senseless sprintf argument 2015-09-03 22:21:23 +02:00
Florian Ludwig 2b6aecb262 Don't use translated key for name in bulk action checkbox
Otherwise the translation will break the code in
https://github.com/woothemes/woocommerce/blob/master/includes/admin/clas
s-wc-admin-api-keys.php#L122

We shouldn’t use the translated string here in my opinion.
2015-09-03 22:12:55 +02:00
Mike Jolley 889d40b8aa Add data attribute to leave options visible
Closes #9017
2015-09-03 15:38:42 +01:00
Szabolcs Légrádi 6bb0dd864b Do not count trashed product variations 2015-09-02 23:11:28 +02:00
Szabolcs Légrádi 68460063a0 Count only published variations 2015-09-02 22:58:07 +02:00
Mike Jolley dd7c32c22c Added 'false' check in variation admin
@claudiosmweb Closes #8966
2015-09-01 16:35:13 +01:00
Caleb Burks c53248896e Allow for multiple email recipients
Allow multiple emails to be used for the low stock / out of stock email.
2015-09-01 07:11:41 -05:00
Mike Jolley 07237d9a09 Set charset when doing html_entity_decode
@claudiosmweb  Closes #8964
2015-08-31 12:29:36 +01:00
Mike Jolley 7643712a52 Sync after save 2015-08-29 13:45:58 +01:00
Mike Jolley 4849d7d56e Sync stock status during save
Closes #8950
2015-08-26 13:51:51 +01:00
Mike Jolley 1f3e8b984e use empty to check to see if attributes for variations exist
Closes #8959
2015-08-26 12:56:44 +01:00
Nicola Mustone 6f7b534493 missing comma 2015-08-24 17:27:23 +02:00
Nicola Mustone 657728d778 _x for the order details admin page 2015-08-24 17:15:19 +02:00
Mike Jolley 5e984faebc Allow HTML in store notice. 2015-08-24 16:15:16 +01:00
Nicola Mustone beb97b279e _x for refund reports 2015-08-24 17:13:04 +02:00
Mike Jolley 14b0c20bf2 Ensure variable stock status is based only on variations 2015-08-24 15:03:44 +01:00
Mike Jolley 3c7290a765 During updates, only recreate .htaccess if not using redirect download method.
Fixes #8923
2015-08-24 13:50:14 +01:00
Mike Jolley d9e8787198 WC Setup wizard: Fix manual setting of decimal/thousand separator.
Closes #8930
2015-08-24 12:54:09 +01:00
Shiva Poudel 9cf86e8494 Cleanup docblocks 2015-08-22 02:57:03 +05:45
Shiva Poudel 4018ca4ed3 Tweak - Hide default Custom Fields Meta-Boxes, Closes #8924 2015-08-22 02:52:05 +05:45
Mike Jolley 04a68ad925 Add spinner/loading indication between onboarding steps
Closes #8816
2015-08-21 19:12:36 +01:00
Mike Jolley 393bb012c1 Tweak gateway wording
@mjepson
2015-08-21 19:01:21 +01:00
Mike Jolley 87534d683b Update tweets!
@MarinaWoo
2015-08-21 18:57:14 +01:00
Mike Jolley 714cd8dc9a Merge branch 'pr/8901' 2015-08-21 15:32:11 +01:00
Mike Jolley 574c0b2936 Update wording 2015-08-21 15:25:03 +01:00
Mike Jolley 296d9a8850 Merge pull request #8915 from shivapoudel/fix-site-icon
WC Setup wizard and site icon
2015-08-21 14:09:40 +01:00
Mike Jolley 2d8b3f0c1f menu_order notices on IIS. 2015-08-21 14:08:32 +01:00
Shiva Poudel 7cd88cfa30 Fixed - WC Setup wizard site icon display on WP 4.3 2015-08-21 13:31:10 +05:45
Claudio Sanches 1c348ebc27 Merge pull request #8904 from woothemes/wizard-language-download
Wizard language download, closes #8895
2015-08-20 12:16:01 -03:00
Claudio Sanches d81cea3ab6 Properly escape WC_Admin_Setup_Wizard::get_next_step_link() 2015-08-20 12:15:12 -03:00
Mike Jolley 0f40e8cdf7 Language install prompt 2015-08-20 16:03:29 +01:00
Tor Morten Jensen f6b7ab97b1 Adds tooltips to explain 'tax class' and 'tax status' in product admin. Addresses #8817 2015-08-20 14:33:25 +02:00
JeroenSormani c25cc886ae Add tiptip dependency to wc-admin-meta-boxes 2015-08-20 13:46:52 +02:00
Mike Jolley 24c7f56b03 move attribute code above selector 2015-08-20 10:52:59 +01:00
Lucas Stark 00be9b1324 Update class-wc-admin-settings.php
Reset the $value to array when processing image_width.  Strange bug if the value is a string and the array is not explicitly created.
2015-08-19 13:39:38 -04:00
Claudio Sanches 186257fcd1 Removed the forced redirect 2015-08-19 12:43:13 -03:00
Claudio Sanches aa8e469a9d Download translations in setup wizard 2015-08-19 12:36:59 -03:00
Mike Jolley ac90660f7d Add expand/close links for attributes and match variation UI
Closes #8875
2015-08-19 14:00:26 +01:00
Mike Jolley 57bb0ebe25 Record manual order status change 2015-08-18 16:33:38 +01:00
Mike Jolley c6d6a6b439 Merge pull request #8866 from woothemes/fix/pinking-shears
Pinking Shears.
2015-08-18 14:36:52 +01:00
Mike Jolley dc37e49c02 Suppress set_time_limit errors to prevent issues in some environments
“Warning: Cannot set max_execution_time above master value of 30 (tried
to set unlimited) in
/var/www/web1043/html/wordpress/wp-content/plugins/woocommerce/includes/
class-wc-download-handler.php on line 337</p>”
2015-08-18 13:16:25 +01:00
George Stephanis ffd2b2de30 Pinking Shears. 2015-08-17 17:35:10 -04:00
George Stephanis 81804d8d3b Don't show the `pre` displaying the changes by default. 2015-08-14 11:07:35 -04:00
George Stephanis 2aa1650f54 Rearrange things to get ajax working.
Spread them out throughout WooCommerce.
2015-08-13 17:49:59 -04:00
George Stephanis ec287f116f Add ajax submission processing.
Not quite finished yet, as the add_action isn’t catching.
2015-08-13 16:57:54 -04:00
George Stephanis 2d097a8f4c Minified version of new js file. 2015-08-13 14:29:01 -04:00
George Stephanis 3a87b98ba6 Rewrite onAddNewRow for Backbone models. 2015-08-13 14:10:47 -04:00
George Stephanis b4bd433342 Update the unsaved message to give better data. 2015-08-13 11:58:09 -04:00
Nicola Mustone 51c4599b59 replacing deprecated functions 2015-08-13 17:49:25 +02:00
Mike Jolley 7552704e75 double encode attributes 2015-08-13 12:16:08 +01:00
Mike Jolley a545a3aa02 wp_json_encode is 4.1 + 2015-08-13 12:07:12 +01:00
Claudio Sanches 275849b5da [2.4] Fixe order by user and sorting by total, closes #8803 2015-08-13 00:33:56 -03:00
George Stephanis e10064d0fe Revert back to passing in array values. We can indexBy in JS 2015-08-12 17:17:39 -04:00
George Stephanis f77b77e335 New template for empty set. 2015-08-12 15:29:17 -04:00
George Stephanis 220550621a Populate the search field value attribute 2015-08-12 14:38:25 -04:00
George Stephanis 3ee43646ae Pass in the current page's base url to js for appending. 2015-08-12 14:18:49 -04:00
George Stephanis 4aedda5eb8 Indent the template file properly. 2015-08-12 13:52:04 -04:00
George Stephanis 56218b0824 Add in a notification for unsaved changes. 2015-08-12 12:59:13 -04:00
George Stephanis 8dc2126718 Update the tablenav so the gotos are never out of range. 2015-08-12 12:59:12 -04:00
George Stephanis 837931f99a Check for truthiness.
This avoids silliness where `’0’` evaluates to true.  Just parse it as
an int and evaluate that.
2015-08-12 12:59:11 -04:00
George Stephanis 2a0951e4e5 Add more data attributes to the rows and fields. 2015-08-12 12:59:11 -04:00
George Stephanis 1a066ebbe0 Swap to associative array for model. 2015-08-12 12:59:11 -04:00
George Stephanis ce7cb1f65d Add a `beforeunload` event to prompt before leaving with unsaved changes. 2015-08-12 12:59:10 -04:00
George Stephanis c6e3a577c0 Set backbone and underscore as script dependencies. 2015-08-12 12:59:10 -04:00
George Stephanis 8a416f105b Should be comparing to `'1'` not `1`. 2015-08-12 12:59:10 -04:00
George Stephanis ddba588987 Migrate the logic and queries out of the template file.
Move them where they belong, in the class that calls it.
2015-08-12 12:59:09 -04:00
George Stephanis 5f4cbf78d0 Remove the legacy pagination. 2015-08-12 12:59:09 -04:00
George Stephanis 4df13e6ffb Don't set them for unexistent rates. 2015-08-12 12:59:09 -04:00
George Stephanis 7bebbaff9e Pagination now works by first, prev, next, last.
Still need to get number based pagination working.
2015-08-12 12:59:09 -04:00
George Stephanis cf59aec17d Add in and populate pagination template.
The buttons don’t actually do anything yet, but it outputs accurately
and inherits core styles.
2015-08-12 12:59:09 -04:00
George Stephanis be4c7db8bd Pass rates in as an array, not an associative array, so it's an Array in js. 2015-08-12 12:59:08 -04:00
George Stephanis c9a1ba2f39 A default placeholder to show until the rendering code replaces it. 2015-08-12 12:59:08 -04:00
George Stephanis 536402c183 Insert placeholder divs for search and pagination. 2015-08-12 12:59:07 -04:00
George Stephanis 308c7f8676 Whitespace tweaks 2015-08-12 12:59:07 -04:00
George Stephanis 676af1f308 JSHint fixes.
The other advantage of splitting js out of php files — jshint can run
on it! :) :) :)
2015-08-12 12:59:07 -04:00
George Stephanis 52d4ea822c Extract 'No Rows Selected' string 2015-08-12 12:59:07 -04:00
George Stephanis 973348d6ad Whitespace tidy! 2015-08-12 12:59:06 -04:00
George Stephanis 18293cf365 Extract the autocomplete for states and countries data.
Localize it!
2015-08-12 12:59:06 -04:00
George Stephanis 5d5a64753d Migrate csv columns to localize script. 2015-08-12 12:59:06 -04:00
George Stephanis 39749c4563 Move js in from php template file. 2015-08-12 12:59:06 -04:00
George Stephanis a63ef876d7 Rename and tweak how js is registered.
Thanks @claudiosmweb for the suggestion to match existing conventions.
2015-08-12 12:59:06 -04:00
George Stephanis 0ed5f40fa2 Prefix template name with `wc-`
Good call, @mikejolley
2015-08-12 12:59:06 -04:00
George Stephanis a59ed70774 Big changeover to JS templating for the table.
Switching over to building the table with JS — wp.template.

We are now using the same JS template for existing rows and newly
generated rows on the fly — this should simplify things moving forward.

I’ve also started building stuff in an external JS file rather than
straight on the page.  Will continue migrating things to it and
localizing as needed.

Saved ( 2 * displayed tax rates - 1 ) db queries per page load by doing
the locations all in one query and then parceling them out in php.

More coming.
2015-08-12 12:59:06 -04:00
George Stephanis cb4e3cb774 Tax Rate Search: First whack.
This is by no means complete.  A number of things need to be relocated
and optimized still, but it does a rough search, purely in JS, and
highlights the results in yellow.
2015-08-12 12:59:05 -04:00
Mike Jolley 3bd52a78a5 Use wc_get_attribute_taxonomies instead of global 2015-08-11 17:10:34 +01:00
Mike Jolley f687a5a059 When setting up flat and international shipping during wizard, set availability based on base country 2015-08-10 11:03:36 +01:00
Doug Smith 46536b6374 Minor grammar fixes to the update welcome message 2015-08-07 11:21:49 -05:00
Claudio Sanches 0a657fdd96 Added missing dot 2015-08-07 10:37:45 -03:00
Claudio Sanches 38aa17b67b Fixed hardcoded string 2015-08-07 10:27:40 -03:00
Claudio Sanches c0179c8bb2 Fixed a typo/extra end of line 2015-08-07 10:18:30 -03:00
Mike Jolley d6ceec0817 Flip esc_like and esc_sql, add % 2015-08-07 13:54:50 +01:00
Mike Jolley 5c9ac6a893 Avoid double escape when passing in arrays to sql queries. Use esc_sql 2015-08-07 11:37:19 +01:00
Mike Jolley fcbdd35223 Clean and escape API search 2015-08-07 11:37:19 +01:00
Mike Jolley ddd97b64c3 Remove white space to fix appearance of new rows
Fixes #8730
2015-08-06 11:38:46 +01:00
Shiva Poudel 4cc26ab799 Backbone modal template to support wp.template 2015-08-06 10:22:53 +05:45
Shiva Poudel 0d1c2dc4dc Fix - calls for esc_* 2015-08-06 02:04:21 +05:45
George Stephanis c938fa24da More missing esc_attr calls, :( 2015-08-05 15:17:52 -04:00
Claudio Sanches b091f12393 Fixed some js conding standards 2015-08-05 15:57:15 -03:00
George Stephanis 95e6b84fbb Make sure we esc_attr translation results
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis 29d9a7da8c Found two missing `esc_js()` calls as well. 2015-08-05 14:10:10 -04:00
George Stephanis c7ee929325 Partial _e() => esc_attr_e() changeover.
There’s a lot of them, so I’m breaking them into multiple commits.

This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Claudio Sanches 47492fb273 Merge branch 'master' of github.com:woothemes/woocommerce 2015-08-05 15:03:05 -03:00
Claudio Sanches 054dfe0c7b Changed default Underscore's template for wp.template in API Keys 2015-08-05 15:02:55 -03:00
Nicola Mustone bfb0aa95b3 fix possible fatal error on the order admin page 2015-08-05 14:10:23 +02:00
toddlahman 50d659f380 fix for array_filter() expects parameter 1 to be array, boolean given
array_filter() expects parameter 1 to be array, boolean given
/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-duplicate-
product.php(171)

$exclude is evaluated as a boolean.
2015-08-02 00:35:58 -07:00
Fredrik Rossland 841beb95a6 Found a typo, "Permissons"
Changed "Permissons" to "Permissions"
2015-08-01 19:42:10 +02:00
Mike Jolley e7dfff8687 Update wording and add tooltip
#8690
2015-07-31 17:14:28 +01:00
Mike Jolley 82f50cedb0 Allow menu_order sorting like in 2.3
Also allow setting manually to allow sorting between pages.

Fixes #8690
2015-07-31 12:39:23 +01:00
Mike Jolley 763c7dde35 Fix product image size saving
Fixes #8695
2015-07-31 11:29:04 +01:00
Mike Jolley 64d38f6dd8 STOCK STATUS field for variations should never be hidden
Fixes #8687
2015-07-30 15:45:05 +01:00
Mike Jolley 622dc777f0 Correct number format in coupon total 2015-07-30 12:52:52 +01:00
Mike Jolley 7b2aec4791 Take item qty into consideration when refunding orders
Fixes #8675
2015-07-29 13:13:41 +01:00
Mike Jolley b0ee9a8cc6 Handle text vs select attribute names vs slugs 2015-07-29 10:58:28 +01:00
Claudio Sanches ef5f41d748 Fixed textdomain for api key last access unknown, closes #8672 2015-07-28 12:44:20 -03:00
WordCommerce 19205ec0e6 [2.4] Removed API status notification on the Settings 2015-07-27 23:59:08 +03:00
Claudio Sanches 30f9d81916 Fixed row actions to support WordPress 4.3, closes #8578 2015-07-27 16:14:41 -03:00
Claudio Sanches b0ce578541 Show errors for admin ajax variations 2015-07-27 14:16:52 -03:00
Mike Jolley 8d6858bb80 Sanitize not needed 2015-07-27 16:43:05 +01:00
Mike Jolley 2ea6a2efab Merge branch 'pr/8607' 2015-07-27 13:17:27 +01:00
Claudio Sanches 506f87f138 Removed post filter count, closes #8654 2015-07-24 22:36:51 -03:00
Brent Shepherd c8405d3d29 Remove deprecated comments and commented out code
Because WC_Meta_Box_Product_Data::save_variations() doesn't need to be
deprecated.
2015-07-23 22:24:07 -07:00
Brent Shepherd 4100204344 Match the two save_variations()
Specifically, match WC_Meta_Box_Product_Data::save_variations() to the newer,
almost identical, WC_Ajax::save_variations(), added in SHA: ae18af8c (so that
we can eventually replace the newer WC_Ajax::save_variations().
2015-07-23 22:12:31 -07:00
Claudio Sanches 6f45872646 Disabled DFW feature pointer for products, closes #8595 2015-07-20 14:15:51 -03:00
Claudio Sanches 0eac4914df [2.3] Fix check for relative downloadable product path, closes #8612 2015-07-20 13:56:28 -03:00
Claudio Sanches 791c20ae51 Added param for exclude posts from wc-product-search, closes #8613 2015-07-20 13:41:14 -03:00
Manos Psychogyiopoulos 18a7c6b7fb back-compat with text-based attributes: defaults don't work in WC2.4 2015-07-18 12:34:41 +03:00
Josh Koberstein 38856b29c4 Correcting indentation 2015-07-16 16:02:33 -07:00
Josh Koberstein 922715791c Passing array of term ids to wp_set_object_terms instead of term names. 2015-07-16 15:31:14 -07:00
Claudio Sanches eebd47ecf8 Improved truncated key description 2015-07-16 15:45:00 -03:00
Claudio Sanches e0be5a2e9f Added truncated consumer key and last access fields in woocommerce_api_keys table 2015-07-16 15:42:00 -03:00
Claudio Sanches 0806a66fc5 Fixed Grouping select, stop select if do not have parent_post and allow clear the selection, closes #8586 2015-07-16 12:51:38 -03:00
Claudio Sanches b3f1d41974 Merge pull request #8583 from bekarice/fix-create-api-key-typo
[2.4] Fix typo while creating API keys
2015-07-15 19:25:45 -03:00
Beka Rice f227569659 Fix broken WooCommerce 101 video embeds 2015-07-15 18:19:47 -04:00
Beka Rice 54e00fc84a Fix typo while creating API keys
adds missing closing parentheses around user email:
https://cldup.com/pvTlBGBMot.png
2015-07-15 17:30:41 -04:00
Claudio Sanches 9aca8d689b Added HTML class row-title for coupons, orders, api keys and webhooks table lists 2015-07-15 15:45:57 -03:00
Mike Jolley ed451f278f Unused var 2015-07-15 16:37:29 +01:00
Mike Jolley 3749a10a4a empty $theme_file 2015-07-15 16:16:10 +01:00
Mike Jolley 47c47ab93c Avoid set_time_limit error supression 2015-07-15 16:14:32 +01:00
Mike Jolley 28c75c63dc Unused code 2015-07-15 16:04:49 +01:00
Mike Jolley 0f7342a70d Fix grouped product label 2015-07-15 13:33:45 +01:00
Shiva Poudel cebaf41d34 Tweak - Template check docs btn as primary 2015-07-15 04:48:46 +05:45
Shiva Poudel 3fb422a7c2 Fix - Nonce check when hide admin notices 2015-07-15 04:40:47 +05:45
Shiva Poudel 5f30308512 No longer use of frontend colors notice 2015-07-15 04:39:28 +05:45
Shiva Poudel 6c936a162d Tweak coding standard for update notice script 2015-07-15 04:38:32 +05:45
Claudio Sanches a28c1c1e33 Fixed language update for en_US, closes #8568 2015-07-14 12:18:51 -03:00
Claudio Sanches d2686f3d2e Don't show language update message for en_US #8568 2015-07-14 12:04:14 -03:00
Mike Jolley c707f771ad serializeJSON to maintain POST data structure
@claudiosmweb
2015-07-14 13:49:45 +01:00
Mike Jolley 015ace770d Split up bulk edit ajax methods 2015-07-14 11:39:48 +01:00
Mike Jolley 9b21c1c7a1 Add deprecation notices for woocommerce_update_option_X and keep this action working.
Before this change, options would be overwritten by the new filters.
2015-07-14 10:10:07 +01:00
Claudio Sanches 2cc7fcfa3f Fixed missing textdomains 2015-07-13 11:03:03 -03:00
Nicola Mustone 35d8572e0b new outdated templates tutorial link 2015-07-13 09:36:36 +02:00
Claudio Sanches 9e4dc64f55 Merge branch 'master' of github.com:woothemes/woocommerce 2015-07-10 20:17:27 -03:00
Claudio Sanches b8a28bdab4 Admin variations - Cancel button reset the default form values
@mikejolley
2015-07-10 20:16:35 -03:00
Mike Jolley 86e0aa106e bulk_edit 2015-07-11 00:05:13 +01:00
Mike Jolley 3ec4003bbb Move add variation button and toolbars 2015-07-11 00:04:16 +01:00
Mike Jolley 157503a6d3 20 not 25 2015-07-10 14:26:39 +01:00
Mike Jolley 3446880705 Translators 2015-07-10 14:02:52 +01:00
Mike Jolley 33877624ac Welcome page content 2015-07-10 14:00:21 +01:00
Claudio Sanches 76b312b9e7 Use always min.js files on admin 2015-07-10 01:32:30 -03:00
Claudio Sanches 987a789367 Admin variations - Show link all variations bulk action 2015-07-10 00:49:52 -03:00
Claudio Sanches a64695b7f5 Admin variations - Added new triggers and removed data-product_id 2015-07-09 17:31:48 -03:00
Claudio Sanches c4c2ebd038 Merge pull request #8536 from vicky081/patch-3
Class attribute added for Checkbox in settings
2015-07-09 11:43:00 -03:00
Mike Jolley 34f149bcbf Replace dash with colon 2015-07-08 23:51:44 +01:00
Mike Jolley fedfa53754 expand/close 2015-07-08 23:46:19 +01:00
Mike Jolley a219243e60 Move link all variations to bulk actions 2015-07-08 23:34:21 +01:00
Mike Jolley 8161cbd095 Change remove buttons into links 2015-07-08 23:08:07 +01:00
Claudio Sanches 042a6644e2 Ajaxify grouped product option, closes #7751 2015-07-08 18:38:17 -03:00
Claudio Sanches 94aa610dc0 Admin variations - Prompt when changing page #6995 2015-07-08 17:45:19 -03:00
Claudio Sanches 0a820f055f Admin variations - Add cancel changes button #6995 2015-07-08 16:10:45 -03:00
Claudio Sanches 064af9a54c Admin variations - Split the save button from the link/add buttons #6995 2015-07-08 15:53:00 -03:00
Vignesh 8a4e7e34ca Update class-wc-admin-settings.php 2015-07-08 20:42:04 +05:30
Vignesh 4eef4bf846 Class attribute added for Checkbox in settings
Noticed class attribute missed in checkbox of admin settings function, this class name will help for developer also, can you please consider this as my proposal?
2015-07-08 20:24:36 +05:30
Claudio Sanches 843a55a6b5 Admin ajax variations 2015-07-07 20:53:36 -03:00
Claudio Sanches 4f3fb07dc9 Added new styles for variable pagenav 2015-07-07 19:06:51 -03:00
Claudio Sanches 8b681fddf7 Created bulk edit actions for variable sale schedule 2015-07-07 16:39:59 -03:00
Claudio Sanches 268a696918 Initial bulk edit variations actions 2015-07-06 22:50:35 -03:00
Claudio Sanches de01133142 Save only updated/edited variations and fixed the variations sync and product cache/transients 2015-07-06 19:07:01 -03:00
Claudio Sanches af0b786104 Improved relative path check #8503 2015-07-06 15:02:15 -03:00
Claudio Sanches e888294caa [2.3] Fixed download URL for relative paths, closes #8503 2015-07-06 15:00:04 -03:00
Claudio Sanches 47eb3c5deb Merge pull request #8523 from adnanoner/master
Add variable $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
2015-07-06 13:52:35 -03:00
adnanoner 725e3ee4e0 Add $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
This comes in handy when you want change the line_items loop.
In my case I wanted to have a single line for each order items (per quantity) so I could edit the order and change the product for individual items. Would be appreciated if this could be merged.
2015-07-06 18:09:06 +02:00
Mike Jolley 270eb785da Merge pull request #8522 from shivapoudel/wp_json_encode
Encode pointers into json, with some sanity checks
2015-07-06 18:07:02 +02:00
Mike Jolley e908055f31 Only check changelog for woothemes plugin URI plugins
Closes #8520
2015-07-06 16:02:34 +01:00
Mike Jolley 439ce9eed2 Merge branch 'save-fields-refactor-8495'
Closes #8495
2015-07-06 15:31:43 +01:00
Mike Jolley 2440717f72 live -> interactive 2015-07-06 14:52:41 +01:00
Shiva Poudel 3d328c92c4 Method should be conditional_includes 2015-07-06 15:34:31 +05:45
Shiva Poudel ba2afde068 Encode pointers into json, with some sanity checks 2015-07-06 15:30:10 +05:45
Mike Jolley 792536bd8e Prevent white space in report
Closes #8499
2015-07-06 10:18:23 +01:00
Claudio Sanches ae18af8cc7 Added method to save variations via ajax 2015-07-06 01:50:20 -03:00
Claudio Sanches 2dc0ef3f86 Added method to set the pagenav fields when add and remove variations 2015-07-06 01:09:36 -03:00
Claudio Sanches c3b5ad2337 Refactored the link all variations, remove variation and add variation methods 2015-07-05 23:55:08 -03:00
Claudio Sanches ee437bb646 Improved the navigation and tested if variations have some edition 2015-07-05 22:31:56 -03:00
Claudio Sanches 3de8405cc9 Created variations ajax pagination 2015-07-05 22:00:38 -03:00
Claudio Sanches b16b026647 Load initial variations when click on variations tab 2015-07-05 20:19:45 -03:00
Mike Jolley 18c6a940f1 Merge branch 'onboarding'
Conflicts:
	assets/css/admin.css
	assets/css/select2.css
	assets/css/woocommerce-layout.css
	assets/css/woocommerce.css
	assets/js/admin/order-backbone-modal.min.js
	includes/admin/class-wc-admin-help.php
	includes/admin/class-wc-admin.php
	includes/admin/views/html-admin-page-status-report.php
	includes/admin/views/html-notice-install.php
	includes/admin/views/html-notice-template-check.php
	includes/admin/views/html-notice-theme-support.php
	includes/admin/views/html-notice-tracking.php
	includes/class-wc-install.php
	includes/class-wc-language-pack-upgrader.php

includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Mike Jolley 1257343006 Added missing locales based on popularity (from tracker) 2015-07-04 22:35:23 +01:00
Claudio Sanches 3d59933d6b Created initial methods to load variations by ajax 2015-07-02 17:42:22 -03:00
Mike Jolley 02464c62cf Revised HELP tabs
Added links to education partners (@jobthomas) and included WooCommerce
101 videos in context.
2015-07-01 15:22:43 +01:00
Mike Jolley f779166bd1 onboarding site links #7829 2015-07-01 13:38:24 +01:00
Mike Jolley 84f0b541ed Tweak wording and US states 2015-07-01 13:30:34 +01:00
Mike Jolley 7d1a016502 Adjust sales report to deal with partial shipping refunds and full refunds 2015-07-01 12:11:21 +01:00
Mike Jolley 99b96daf70 Wording for inc/ex prices 2015-06-30 14:06:36 +01:00
Mike Jolley 84bc6e1b1a Merge branch 'geolocate-cache'
Conflicts:
	includes/class-wc-customer.php

Closes #7939
2015-06-23 12:26:03 +01:00
Mike Jolley 14c88b49bc Tweak option labelling 2015-06-23 12:20:13 +01:00
Justin Shreve 55317e69e3 Move the wp_posts ID check out of the string matching so we can find by ID _OR_ find based on sku match 2015-06-17 13:59:39 +00:00
Mike Jolley 4a9c2aece9 Update option wording 2015-06-17 14:27:42 +01:00
Mike Jolley d939d7b395 Merge pull request #8391 from justinshreve/sale-date-8357
Make sure sale prices are properly applied when no from date is set and today is used as default (#8357)
2015-06-17 13:49:53 +01:00
Mike Jolley 5ac994f4f2 Nonces 2015-06-17 13:35:09 +01:00
Justin Shreve 8ae228f535 Do a less than or equals to check in meta-box-product-data in the case of $date_from being exactly the current time. 2015-06-17 12:18:57 +00:00
Mike Jolley 33c298fea7 Experiment with appending geolocation to query string to prevent caching 2015-06-17 12:12:49 +01:00
Evan Mattson 2181cd1d26 rename $email_id to $email_key
`$email_id` here is not the same as `$email->id`, renaming to show this, and for consistency with similar code
2015-06-16 21:37:54 -04:00
Evan Mattson c9c48b718e identify current section by email key to be consistent 2015-06-16 21:36:36 -04:00
Justin Shreve e1130005a5 When figuring out if to store a sale price, make sure $date_from is set to "today" when blank. The date meta was previously set, but the check to set the actual sale price saw $date_from as empty. 2015-06-16 20:00:16 +00:00
Tamara Zuk bd7f07d29f [2.3] Fix bug introduced in #8365
my mistake 🙀
2015-06-16 14:46:54 -04:00
Mike Jolley a31a1911cd Merge pull request #8388 from justinshreve/download-url-help-text
Update the help text to mention that we expect already encoded URLs
2015-06-16 18:09:12 +01:00
Claudio Sanches 1876227c9a Removed dead variable and fixed coding standards on wc_create_page() 2015-06-16 13:08:30 -03:00
Justin Shreve 5d8b17bd6f Update the help text to mention that we expect already encoded URLs. 2015-06-16 15:48:05 +00:00
Mike Jolley bf9265309e Merge pull request #8386 from jobthomas/onboarding
Edited copy text: consistency with second tab.
2015-06-16 15:45:59 +01:00
Mike Jolley e626545f67 Shipping costs for new settings 2015-06-16 15:43:39 +01:00
Mike Jolley b4574ba911 Remove code to view test product 2015-06-16 15:14:14 +01:00
Mike Jolley f8151f416c Merge branch 'text-attribute-handling' 2015-06-16 15:11:58 +01:00
Mike Jolley 622b11ae9f Add version check to prevent pre-2.4 logic kicking in when not needed
@claudiosmweb
2015-06-16 15:10:53 +01:00
Claudio Sanches dde7bc699b Merge pull request #8385 from jobthomas/master
Copy edit shipping settings
2015-06-16 10:54:19 -03:00
Job fd5fec705b Copy edit shipping settings
users > customer's
2015-06-16 15:51:36 +02:00
Mike Jolley 09fb3a604b [2.3] Small tweak to use email ID rather than classname directly
#8365
2015-06-16 14:47:03 +01:00
Mike Jolley 2501af0376 Merge pull request #8365 from tamarazuk/master
[2.3] Email settings save tweak
2015-06-16 14:43:07 +01:00
davidlenehan 2fb7e0b52b Allow trashed pages to be republished
Expanding on @mehulkaklotar’s fix above. One issue is that is a deleted
store page has had its short code removed then it won’t be republished
and that page is still missing.

This fix catches pages that are in the trash but have no short code.
Those pages are now left in the trash and new page with the correct
short code is added in its place.

Fixes #8269
2015-06-16 12:31:15 +01:00
davidlenehan 925b46967a Removing the use of mb_strlen as it is always installed as standard. 2015-06-15 17:06:02 +01:00
davidlenehan 791317cfcf Fixes issue with adding empty order item meta
The changes just check to make sure that either a meta key or meta
value has been entered before it saves. Otherwise it deletes the order
item meta row that has been added. The user must add something to the
order item meta row now or it won’t get saved.

Not sure if this is the cleanest way to fix this issue. I was expecting
to see the function wc_update_order_item_meta() but it is not used in
this case.
2015-06-15 16:22:53 +01:00
Mike Jolley 75b01c5201 [2.3] woocommerce_downloadable_file_allowed_mime_types filter
#8362
2015-06-15 15:37:34 +01:00
Remi Corson 32a22b3337 replaced esc_attr by sanitize_html_class 2015-06-15 09:30:09 +02:00
Tamara Zuk 92c6d3d649 [2.3] Email settings save tweak
Allows emails to use a single common class as is done in Order Status
Manager
2015-06-13 10:15:58 -04:00
Remi Corson 61d7b156f4 added esc_attr 2015-06-12 21:59:51 +02:00
Remi Corson 40a56e2f9e Add debug tools classes 2015-06-12 15:07:01 +02:00
Mike Jolley 753a22734f Prevent Manage stock being forced on
Closes #8336
2015-06-12 11:22:54 +01:00
Mike Jolley 1398ac0feb Merge pull request #8331 from shivapoudel/nav-margin
Tweak nav tab margin for pretty messages
2015-06-12 11:09:45 +01:00
Mike Jolley 05b2505c45 Revise links for @BFTrick 2015-06-11 16:18:01 +01:00
Mike Jolley 12396f4296 Attempted bw compat by comparing sanitised text to real text 2015-06-11 15:42:18 +01:00
Mike Jolley 89f7e15052 Save full version of text based attributes when dealing with variations 2015-06-11 14:43:02 +01:00
Shiva Poudel 292ca3a764 Tweak docs button for small screen device 2015-06-11 18:52:41 +05:45
Justin Shreve 5f627cf850 Move the color preview to its own separate "preview box" rather then changing the color of the input div box. 2015-06-11 07:15:51 +00:00
Patrick Rauland 2d69a0d9c9 removing references to the community forum 2015-06-09 13:55:05 -06:00
Mike Jolley 12eb7aa207 Move dashboard link to footer 2015-06-09 15:54:46 +01:00
Mike Jolley 922ca47cc1 [2.3] woocommerce_downloadable_file_exists filter 2015-06-09 15:27:28 +01:00
Mike Jolley eb4b9a7cd1 Merge pull request #8304 from krautnerds/quick-fix-variation-admin-stock-display
Quick fix stock display for product variations
2015-06-09 12:24:55 +01:00
Mike Jolley 6c557c21e5 woocommerce_duplicate_product_exclude_children, woocommerce_duplicate_product_exclude_meta, woocommerce_duplicate_product_exclude_taxonomies
Closes #8271
2015-06-09 12:07:29 +01:00
Claudio Sanches 4698111dd2 Hide api key fields when generate a new keys 2015-06-08 20:22:49 -03:00
Claudio Sanches 151499db49 Fixed wc-api-keys script load 2015-06-08 20:14:46 -03:00
Patrick Rauland 77748fa923 tweaking onboarding wizard language. see #7829 2015-06-08 17:09:48 -06:00
Claudio Sanches 51c5ef6b20 Removed extra <p> 2015-06-08 19:45:14 -03:00
Claudio Sanches 89ddda9ff6 Added new api key generation methods 2015-06-08 19:41:35 -03:00
Claudio Sanches 3f45c874fe Created wc_api_hash() 2015-06-08 12:57:19 -03:00
Mike Jolley 303b66c445 Payment step 2015-06-08 16:34:13 +01:00
Claudio Sanches 3697ad9de2 Improved the API keys entropy 2015-06-08 12:01:54 -03:00
Mike Jolley 30f981f3ad Last step CTA and revised links
#7829
2015-06-08 15:25:59 +01:00
Job Thomas 610cf66cb9 Edited copy text: consistency with second tab. 2015-06-08 14:56:09 +02:00
Mike Jolley 9e125b37c7 Remove page options #7829 2015-06-08 13:24:57 +01:00
Claudio Sanches 0b861d6587 Fixed filetype check for digital downloads, closes #8316
@mikejolley
2015-06-07 22:39:32 -03:00
Florian Ludwig 2b4e19d0b4 Quick fix stock display for product variations
This fixes bug #8302 in a very ugly way (in my opinion)
2015-06-05 19:22:32 +02:00
Justin Shreve e88c1bfb9e When the status is changed via bulk actions or by the status button, execute order.updated. 2015-06-05 16:43:24 +00:00
Mike Jolley a4c2a73050 Max array keys 2015-06-05 13:37:45 +01:00
Justin Shreve 01a19cc0c7 Round the total_pages calculation up so we always display the right number of pages. 2015-06-03 23:05:52 +00:00
Job Thomas c20ebeb899 Some edits in the copy of the second step of the onboarding wizard.
** Setup (noun) > set up (verb)
** Singular "Customer" + plural verb -> Plural customers
** Notation of where to find settings options conform docs team standards
2015-06-03 12:09:48 +02:00
Mike Jolley 2febc8f20a Add capability checks to ajax requests
Closes #15
2015-06-01 13:38:00 +01:00
Mike Jolley 1505424469 Define allowed_file_types
#13
2015-06-01 13:37:43 +01:00
Mike Jolley 527311d553 Validate file types when saving products. Closes #13
Handles 3 possible types of file;
  1. Relative path on server
  2. Absolute URL
  3. Shortcodes

URLs without extensions are not validated.
2015-06-01 13:37:39 +01:00
Mike Jolley 5b435024ea Use htmlspecialchars to ensure characters get encoded for select2
We cannot update to select2 4.0 until a major release. Closes #4
2015-06-01 13:37:26 +01:00
Mike Jolley c5bb4ad473 Fix tooltip implode 2015-06-01 13:37:21 +01:00
Mike Jolley ed99be9aed Sanitize tooltips with htmlspecialchars and remove esc_attr usage
Part of #4
2015-06-01 13:36:03 +01:00
Claudio Sanches 51c8bbf87c wrong nonce verification 2015-06-01 13:33:51 +01:00
Mike Jolley ec5a693ad7 Use prepare for updating attributes
Closes #7
2015-06-01 13:29:02 +01:00
Claudio Sanches 9eb3b6ddf9 Changed all requests with wp_remote_* to wp_safe_remote_* 2015-06-01 13:28:55 +01:00
Alexander Concha c1db266e80 Explicitly cast as integer the rating comment meta.
On multisite this can contain arbitrary values.
2015-06-01 13:27:16 +01:00
Claudio Sanches 48094b9bf2 Added nonces and check capability when hide admin notices 2015-06-01 13:19:26 +01:00
Alexander Concha f194330aeb Escape properly echoed values
The variables $base_slug/$structures may contain unsafe values due to
the use of urldecode. For example if the post slug is '%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E'
2015-06-01 12:59:03 +01:00
Alexander Concha f38bc86c5d Escape properly the metadata to be copied.
Fixes a SQL injection because the meta key can contain arbitrary values.
2015-06-01 12:58:56 +01:00
Ben Bidner 7b9a22208e readds the `$the_product` global variable 2015-06-01 12:54:14 +01:00
Mike Jolley 1ce272b385 [2.3] Tweak transient clear SQL 2015-06-01 11:38:43 +01:00
Mike Jolley b9708c4df9 Show refunded total shipping and taxes
Closes #8222
2015-06-01 11:06:11 +01:00
Mike Jolley 1e3fcd0e6d [2.3] Avoid initialising classes when saving 2015-05-29 17:38:25 +01:00
Mike Jolley 0a3defd798 Move tax enabled check 2015-05-29 14:55:57 +01:00
roykho b9eefa58fa use esc_textarea function 2015-05-28 16:08:22 -07:00
roykho 54b0a0ca54 changed dynamic variation description to allow limited HTML and some sanitized tweaks 2015-05-28 14:31:45 -07:00
Mike Jolley e51eae80c6 Merge pull request #8167 from roykho/dynamic-variation-description
Dynamic variation description
2015-05-28 15:53:03 +01:00
Mike Jolley 5cac639cff Merge branch 'improve-refund-reporting' Closes #8028
Conflicts:
	includes/admin/reports/class-wc-report-sales-by-date.php
	includes/updates/woocommerce-update-2.4.php
2015-05-28 14:41:20 +01:00
Claudio Sanches 676e09fdd3 Added new woocommerce_api_keys table in wpmu exclude and in status report 2015-05-27 16:46:43 -03:00
Claudio Sanches f503cda874 Improved hold stock input width, closes 8233 2015-05-27 14:26:12 -03:00
Claudio Sanches 169e72b824 Added extra arg to all woocommerce_order_item_name filters #8159 2015-05-27 13:29:15 -03:00
Claudio Sanches 6ff7215f3c Improved the error display for #7959 2015-05-27 13:19:44 -03:00
Claudio Sanches 5c2b14d89f Standardise case of some strings closes #8125 2015-05-27 12:53:04 -03:00
Claudio Sanches cc9721ed9d Merge pull request #7959 from tivnet/patch-4
Check for non-existing attribute ID
2015-05-27 12:24:40 -03:00
Claudio Sanches 267c481d86 Improved admin bar visit store link #8196 2015-05-27 11:55:32 -03:00
Mike Jolley 15e3d23022 Merge pull request #8209 from ChromeOrange/master
Update html-admin-page-status-report.php
2015-05-26 17:50:37 +01:00
Claudio Sanches d53d21781b [2.3] Fixed product category media upload modal and some coding standards, closes #8227 2015-05-26 10:24:49 -03:00
Shiva Poudel 9a818503b9 Updated blockUI Version 2015-05-25 17:03:41 +05:45
Mike Jolley 62c70603ec [2.3] When updating transients, clear previous version of transients
Closes #8131 @claudiosmweb
2015-05-25 01:48:17 +01:00
Andrew Benbow 79d4d921fd Update html-admin-page-status-report.php 2015-05-23 07:22:12 +01:00
Andrew Benbow 54437afc5c Update html-admin-page-status-report.php 2015-05-22 19:33:59 +01:00
Claudio Sanches be0f93f112 [2.3] Fixed theme check notice for core supported themes, closes #8208 2015-05-22 13:52:18 -03:00
Fulvio Notarstefano c0dda8c582 Typos conditonal_includes -> conditional_includes
I believe you meant 'conditional' - I don't think it's referenced elsewhere so it should be safe to rename
2015-05-22 16:01:55 +02:00
Mike Jolley 779b53b2bc Merge pull request #8187 from lukasjuhas/master
#8186 memory exhausted problem fix
2015-05-20 13:48:01 -04:00
Mike Jolley c01bc43369 Adjust #8165 to deal with 0 2015-05-19 12:53:03 -04:00
Mike Jolley a08b2e5968 Loop over all posted attributes by referencing max posted key
Closes #8165
2015-05-19 12:46:32 -04:00
Lukas Juhas 21bda86baa #8186 memory exhausted problem fix
#8186 issue
2015-05-19 17:16:41 +01:00
Claudio Sanches e106d57947 Merged #8021 2015-05-18 16:53:04 -03:00
Claudio Sanches db87add809 Updated the auth endpoint to works with the new woocommerce_api_keys database 2015-05-18 16:46:52 -03:00
Claudio Sanches 22bf7d5c81 Created bulk revoke keys 2015-05-18 16:12:47 -03:00
Claudio Sanches 1c6b91ca14 Improved webhooks nonces and actions 2015-05-18 16:01:51 -03:00
Claudio Sanches 772d45bd06 Added method to revoke api keys 2015-05-18 15:46:16 -03:00
Claudio Sanches c4d4a623b5 Improved the API Keys table list, added actions and fixed the links 2015-05-18 15:33:36 -03:00
Claudio Sanches 2f5df9c185 Added methods to generate and edit API keys 2015-05-18 15:23:05 -03:00
Matt Harrison b656ef904a minor grammar fix. "an SSL" to "a SSL" 2015-05-18 09:03:51 -04:00
Claudio Sanches c49ab520b8 Created page to edit and create keys 2015-05-16 00:09:29 -03:00
Claudio Sanches 2689d8b51e Created api keys table list 2015-05-15 23:03:24 -03:00
Claudio Sanches c76c965b59 Removed user api keys options 2015-05-15 18:04:58 -03:00
Claudio Sanches 572712cb52 Improved the access to the keys/apps section in api tab 2015-05-15 17:14:31 -03:00
Claudio Sanches eb6f25b47b Moved some webhooks admin methods from WC_Settings_Rest_API to WC_Admin_Webhooks class 2015-05-15 16:50:30 -03:00
Claudio Sanches 7b8a24924a Moved api settings to API tab 2015-05-15 16:35:50 -03:00
Claudio Sanches 0edbfeaa35 Created new Settings API tab and moved the old webhooks tab to API tab 2015-05-15 16:12:11 -03:00
Mike Jolley fd772e41fa Show non existing tables in system status report #8147 2015-05-15 15:19:39 +01:00
Mike Jolley bb77120619 Auto load customer details + tweak icons
Closes #8112
2015-05-15 12:52:25 +01:00
roykho b812b2fd94 add dynamic variation description feature 2015-05-14 10:56:26 -07:00
James Koster 0aef556a5c storefront prompt on add ons screen 2015-05-13 14:50:40 +01:00
Mike Jolley 48d071731a Set date after status
Closes #8078
2015-05-05 14:19:22 +01:00
Mike Jolley d1d5a489fc [2.3] Fix round_chart_totals to deal with arrays
Closes #8077
2015-05-05 13:55:56 +01:00
Mike Jolley 5a92126a39 Remove all sslverify false
Closes #8058 cc @claudiosmweb @roykho @barrykooij
2015-05-05 13:39:34 +01:00
Mike Jolley 7254e45edc Remove notice fade class Closes #8096 2015-05-05 13:28:08 +01:00
Claudio Sanches e3782efbf5 Merge pull request #8001 from bordoni/feature/add_context_to_woocommerce_admin_order_item_headers_action
Admin Order Header lacks Variable for context
2015-05-05 08:56:39 -03:00
Claudio Sanches 89cd5ac32d Added esc_html() for #8075 2015-05-05 08:53:43 -03:00
Claudio Sanches 2c52e0e973 Fixed conflicts for #8075 2015-05-05 08:52:28 -03:00
Nicola Mustone 3288997f72 fix coupons amount 2015-05-04 17:19:34 +02:00
Gabor Javorszky fc66b8581a Adds a filter to webhook topic dropdown values
Fixes #8098
2015-05-02 02:31:24 +01:00
Mike Jolley 8a45f4030a Tweak shipping text 2015-05-01 15:26:00 +01:00
Mike Jolley 3b3845872f Change deprecated args
Closes #7210
2015-05-01 14:52:51 +01:00
roykho 7eb7f7df30 fixed issue with bulk edit sale price saving as 0 when not entering any value fixes #8076 2015-04-30 15:49:22 -07:00
Mike Jolley 6c842458b4 fix result 2015-04-30 18:15:47 +01:00
Mike Jolley c1d87f2350 Pointer tweaks 2015-04-30 13:34:51 +01:00
Mike Jolley 18d671731c Pointers 2015-04-30 13:30:03 +01:00
Peter d94b2c95fc Update class-wc-meta-box-order-data.php 2015-04-29 16:47:17 -04:00
Peter c8707a68c1 Update class-wc-meta-box-order-data.php
Set "Order" string to be retrieved from post type object singular name rather than being hard coded. Similar to side bar meta box titles.
2015-04-29 16:01:34 -04:00
Mike Jolley 7cf65a8760 View/add test product using API 2015-04-29 16:34:07 +01:00
Mike Jolley c9ce3baceb Load settings from DB in case of re-run 2015-04-29 14:55:12 +01:00
Mike Jolley 8b5c8182f4 Tweak template notice 2015-04-29 13:04:40 +01:00
Mike Jolley fedf3db92f Add filter to disable notices
Closes #8027
2015-04-29 12:21:48 +01:00
Mike Jolley 4f162d0326 Remove server locale from report 2015-04-29 12:16:54 +01:00
Mike Jolley 218fafe61c Only show notices to users who can manage_woocommerce
#8027
2015-04-29 12:08:15 +01:00
Mike Jolley c4df91eafb Remove frontend colors notice 2015-04-29 11:56:38 +01:00
Mike Jolley 13f6f09e9e Notice string tweaks 2015-04-29 11:55:32 +01:00
Mike Jolley fcf6e97f7c Small code tweaks 2015-04-29 11:32:03 +01:00
Mike Jolley e454c52e58 Optimise admin redirect function 2015-04-29 11:24:29 +01:00
Mike Jolley 7263a4ace2 woocommerce_enable_setup_wizard filter 2015-04-29 10:59:59 +01:00
Mike Jolley 4b92f642b3 Trigger wizard on install 2015-04-29 10:47:57 +01:00
Claudio Sanches c0a8e4d87e [2.3] Error prevention for WC_Admin::admin_footer_text(), closes #8057 2015-04-28 11:06:40 -03:00
Mike Jolley 300528e823 Tracking opt in/out 2015-04-28 14:50:48 +01:00
Mike Jolley 75f23606d7 Class cleanup 2015-04-28 13:27:56 +01:00
Mike Jolley 5466f0edeb Move into separate class 2015-04-28 13:19:16 +01:00
Mike Jolley 3f484b69b6 Ready step 2015-04-28 12:48:01 +01:00
Claudio Sanches 4441436618 [2.3] Fixed system report in WordPress 2.4 with emojis
@mikejolley
2015-04-27 18:12:46 -03:00
Claudio Sanches e1f7f5bb01 Improved the system status to have a section only for API 2015-04-27 17:00:55 -03:00
Claudio Sanches fcf03a4ac1 Merge pull request #8053 from woothemes/api-product-attributes
[API] Product attributes endpoints, closes #8031
2015-04-27 16:35:09 -03:00
Claudio Sanches 2e56790122 [2.3] Fixed the sort order dropdown items when create new product attributes 2015-04-27 13:08:53 -03:00
Claudio Sanches 1b176c73e3 Created wc_check_if_attribute_name_is_reserved() function 2015-04-27 13:06:28 -03:00
Mike Jolley 1276d4521d Reorder pages 2015-04-27 16:51:52 +01:00
Mike Jolley c8bd46501e US tax rates step 2015-04-27 16:33:52 +01:00
Claudio Sanches 611ffff0a5 Created wc_get_attribute_types() and deprecated the woocommerce_admin_attribute_types action 2015-04-27 12:31:34 -03:00
Mike Jolley cb8332cffc shipping 2015-04-27 13:56:30 +01:00
Mike Jolley d3415f2414 [2.3] Remove submitdiv and fix post status
Closes #8039
2015-04-27 11:13:49 +01:00
Ibrahim 7b513ec35c Error message not formatted
The error message that is displayed when adding a reserved term for attribute is not formatted. Hence the user sees %s in his error message.
2015-04-26 11:24:25 +05:30
Mike Jolley 6c8cc42876 Revise reports #8028 2015-04-24 15:58:13 +01:00
Mike Jolley 4ab4865ac6 [2.3] Fix stock report pagination. Closes #8023 2015-04-24 12:01:49 +01:00
Mike Jolley 8731c5b0d2 [2.3] Send back to same status when bulk editing
Fixes #7998
2015-04-23 13:50:40 +01:00
Mike Jolley a2a0e6f10d [2.3] Refund reporting Fixes #8010
- Prevents the refund amount being SUMed and multiplied by the number
of items
- Does LEFT join on qty, so refunds are reported if not done directly
on the line
2015-04-23 10:19:43 +01:00
Mike Jolley 030ac9c50e HTML for shipping and tax options 2015-04-22 15:30:50 +01:00
Gustavo Bordoni 22393df867 The woocommerce_admin_order_item_headers action lacks a variable for context 2015-04-21 23:13:55 -03:00
Mike Jolley 9f792244b4 Pages step 2015-04-20 16:31:54 +01:00
Mike Jolley d8ee1b6005 Locale setup 2015-04-17 14:56:34 +01:00
Mike Jolley 8666e0fe3c Added the basics and general look and feel 2015-04-15 16:34:03 +01:00
Gregory Karpinsky 91246f86b1 Check for non-existing attribute ID
If get_row returns `null`, should not continue. Avoid "not an object" errors on the following lines, and potential data corruption after submitting form with non-existing ID.
2015-04-14 23:59:53 -04:00
Mike Jolley 1e06f82f59 Merge pull request #7948 from dangh/master
Cannot remove shipping class at quick edit
2015-04-14 12:02:17 +01:00
Mike Jolley 38f8c5fd0b Round values in category report
Closes #7949
2015-04-14 10:51:20 +01:00
Claudio Sanches 1dadbb2842 Fixed coding standards for #7879 2015-04-13 12:37:22 -03:00
Claudio Sanches 08c8fad1fc Fixed standards for #7842 2015-04-13 12:31:18 -03:00
Mike Jolley 9f65d2a1fc Added priorities for shipping methods to give more control over defaults.
Closes #7871
2015-04-13 15:32:57 +01:00
DangH 3c9bc90bcc Cannot remove shipping class at quick edit 2015-04-13 18:01:37 +07:00
Mike Jolley 80b6c6ca3f Merge pull request #7908 from SiR-DanieL/patch-2
Conditions improvement
2015-04-13 10:54:49 +01:00
Mike Jolley b82339a4cb Merge pull request #7925 from dominic-p/order-meta-undefined-key
Prevent notices if variation_id isn't set
2015-04-13 10:53:49 +01:00
Mike Jolley e6de50f556 Merge pull request #7842 from nathanielks/hotfix/coupon-meta-box-products-error
Check if product is object before adding to array.
2015-04-13 10:48:09 +01:00
Dominic be8e61161b Prevent notices if variation_id isn't set
It's a minor thing, but I have ran into circumstances where the `$item`
array doesn't have the `variation_id` set (namely after importing data
using another plugin). This tweak checks for the `variation_id` without
throwing a notice if the array key isn't defined.
2015-04-09 16:15:28 -07:00
Mike Jolley a6692c4722 Clarify delete message
Closes #7917
2015-04-09 12:05:07 +01:00
Mike Jolley c8c276d058 Show .org plugin version
Closes #7866 Fixes #7863
2015-04-09 11:26:56 +01:00
Nicola Mustone 5e758bb8f9 conditions improvement 2015-04-08 14:34:50 +02:00
Mike Jolley 204c65ca6a Merge pull request #7836 from aelia-co/master
Added support for JOIN types in WC_Admin_Report
2015-04-08 12:11:04 +01:00
Mike Jolley 44a6952e16 Merge pull request #7331 from shivapoudel/bulk-message
Bulk message
2015-04-08 12:10:56 +01:00
Mike Jolley 26e7a5c705 Merge pull request #7865 from SiR-DanieL/scrutinizer-issues
Fix scrutinizer issues
2015-04-08 11:53:44 +01:00
James Koster cd20ce6789 variation images. closes #7844 2015-04-08 10:19:23 +01:00
James Koster f6346c705c Merge pull request #7889 from shivapoudel/tweak-backbone-modal
Tweak backbone modal
2015-04-08 10:02:42 +01:00
shivapoudel 227c83a084 Use of <button> instead of <a> for modal-close
This was the clone of themes.php modal close button
2015-04-04 13:57:20 +05:45
shivapoudel 29f584ba98 Fix - Unusual slightly dark box on the backdrop of modal right side 2015-04-04 13:51:10 +05:45
Danny van Kooten 88f2e690bb Changing all inefficient selectors of $('body') to $(document.body), which is about 80% faster (and even more on mobile, see https://jsperf.com/jquery-body-vs-document-body-selector/2 ). 2015-04-03 14:21:47 +02:00
Nicola Mustone d2d2bf60b0 revert typecasting format 2015-04-01 17:28:51 +02:00
Nicola Mustone 765b1e2e7d wrong var 2015-04-01 15:35:53 +02:00
Nicola Mustone 85fd634861 fix scrutinizer issues 2015-04-01 15:33:56 +02:00
Mike Jolley 20850bc742 Fix last_month logic which breaks in feb 2015-03-31 13:13:16 +01:00
Mike Jolley b603bde738 [2.3] Respect show_in_admin_all_list 2015-03-31 13:13:16 +01:00
Mike Jolley 36a916ff2f Merge pull request #7772 from SiR-DanieL/patch-7
Added REST API version in system status
2015-03-30 10:34:27 +01:00
Nathaniel Schweinberg 7de9f02574 fixed variable typo 2015-03-28 09:28:31 -05:00
Nathaniel Schweinberg 9c9b494d0f Check if product is object before adding to array. Prevents non-object fatal errors 2015-03-28 09:09:43 -05:00
Diego Zanella 76a0ef1e9f Improved handling of JOIN clauses
* Refactored report logic to allow developers to specify the type of JOIN to use when fetching report data. Ref https://github.com/woothemes/woocommerce/issues/7818.
2015-03-27 17:02:14 +00:00
Mike Jolley aed8ae36cf woocommerce_calc_discounts_sequentially option to keep backwards compatible 2015-03-24 15:51:53 +00:00
Mike Jolley a49ac39519 Tweak note wording for clarity
Closes #7239
2015-03-24 11:27:33 +00:00
Mike Jolley 77e7de0ef7 Add note about #7555
Closes #7555
2015-03-24 10:28:53 +00:00
Claudio Sanches 931679bc82 Fixed the _wc_file_urls sanitization 2015-03-23 11:43:34 -03:00
Nicola Mustone c593e4ca50 added customer order refunded email 2015-03-20 16:31:31 +01:00
James Koster 6209b6d212 Merge pull request #7725 from shivapoudel/html-notice
Tweaks admin notices view pages
2015-03-20 12:35:43 +00:00
Nicola Mustone dc841aba66 added REST API version in system status 2015-03-19 17:11:06 +01:00
shivapoudel 9cc91c36c6 Capitalize first character of some notice buttons 2015-03-19 02:24:30 +05:45
Mike Jolley 485571f274 Merge pull request #7719 from SiR-DanieL/patch-5
Added woocommerce_after_dashboard_status_widget
2015-03-18 10:40:34 +00:00
shivapoudel 1adde0a265 Fix - name definition for woocommerce_wp_select 2015-03-17 23:40:07 +05:45
Claudio Sanches f058d43556 Allowed paths for file url, closes #7746 2015-03-17 14:20:51 -03:00
Mike Jolley 193e3d167f Merge remote-tracking branch 'origin/master'
Conflicts:
	readme.txt
2015-03-17 15:34:59 +00:00
Mike Jolley ec6fe19db1 Allow name definition in woocommerce_wp_select 2015-03-17 14:44:02 +00:00
Gerhard 0e8ef24003 Allow saving of empty download expiry date, closes #773 2015-03-16 14:53:59 +02:00
Mike Jolley 70d125ae96 [2.3] Fix - get_total_discount() function with certain tax setups.
Revised how discounts/discount taxes are stored for consistency. Always
store ex. tax to make data retrieval easier, and to ensure totals are
correct after settings changes. Backwards compatibility maintained
through use of order versioning.

#7728
2015-03-16 12:17:09 +00:00
shivapoudel 9952d7faf2 Apply 'Hide This Notice' for skip buttons if message is suitable xD 2015-03-14 05:41:55 +05:45
shivapoudel 79caf69ed7 Tweaks admin notices view pages 2015-03-14 05:33:15 +05:45
Remi Corson fd80f61609 fix variable product docs URL 2015-03-13 17:51:50 +01:00
Mike Jolley e81d2182f5 Sanitize tax_rate_id when saving taxes in the backend to prevent potential SQL injection. 2015-03-13 12:44:04 +00:00
Nicola Mustone 03daf7126b added action woocommerce_after_dashboard_status_widget 2015-03-13 12:07:39 +01:00
Mike Jolley e2f214b868 Remove space 2015-03-13 10:44:10 +00:00
Mike Jolley 019e0b8728 Switch to jquery/maxcdn version of jquery smoothness theme
Fixes #7717
2015-03-13 10:20:37 +00:00
Mike Jolley c44100f9e7 wc_sanitize_tooltip 2015-03-13 09:14:28 +00:00
Gerhard c3a9c027b9 Reverse html encoding and pass through strip tags as tiptip runs encoded html, avoids xss 2015-03-13 08:35:33 +02:00
Mike Jolley 01ee531136 Same as #7662 for backend 2015-03-09 13:48:47 +00:00
Barry Kooij ca6e9a7371 Merge branch 'master' of github.com:woothemes/woocommerce 2015-03-09 13:19:10 +01:00
Barry Kooij 9c430f5a6a Warn users about unmaintained PHP version on status page. 2015-03-09 13:18:54 +01:00
Mike Jolley 66e6c682ed Only run save_category_fields for product_cat taxonomy.
Closes #7665
2015-03-09 11:29:14 +00:00
Mike Jolley fa0be55b01 transient cache dashboard reports
Closes #7641
2015-03-09 11:07:49 +00:00
shivapoudel 3b0bd8bdc6 Visit Plugin homepage in new tab 2015-03-07 09:14:49 +05:45
shivapoudel 58b6b54e77 Fix the large gap in System Status -> Server Environment after [?] 2015-03-07 09:03:14 +05:45
shivapoudel a56b93a143 Tweaks for System Status 2015-03-07 09:01:08 +05:45
Mike Jolley 2fb7f20633 Merge pull request #7647 from thenbrent/order_notes_by_id
Order "Order Notes" on Edit Order screen by ID
2015-03-06 14:48:14 +00:00
Mike Jolley af2407a089 Move default customer location to general settings tab. 2015-03-06 14:45:04 +00:00
Brent Shepherd 32cd95cc80 Order "Order Notes" on Edit Order screen by ID
So that insertion order is preserved in case multiple comments were inserted within
the same second of each other.
2015-03-05 15:49:45 -08:00
Mike Jolley c8b664ff47 Exclude total sales from duplication Closes #7631 2015-03-05 10:03:36 +00:00
Nicola Mustone f7577c5097 missing "WooCommerce" and update version 2015-03-03 19:05:55 +01:00
Mike Jolley 6658c88adc Add args to correct scripts
Fixes #7610. @claudiosmweb
2015-03-03 10:58:10 +00:00
Mike Jolley 3d2ee4f54a Merge pull request #7567 from tamarazuk/system-status-fatal-fix
System Status: Fix fatal error when `$response` is not an object
2015-03-03 10:04:20 +00:00
Tamara Zuk 5d4a57d8e2 System Status: Use is_wp_error() instead of is_object()
thanks @claudiosmweb!
2015-03-03 02:07:39 -05:00
Mike Jolley 154e289b08 Fix unclosed div element Closes #7575 2015-03-02 11:58:13 +00:00
Mike Jolley b8e01fdfdd Remove unused defaults Closes #7573 2015-03-02 10:03:30 +00:00
Claudio Sanches d0c71bd46e Fixe the admin access for subscsribers and customers 2015-02-27 13:32:47 -03:00
Tamara Zuk 3525b0f193 Append status codes to wp_remote_post and wp_remote_get notes 2015-02-26 02:05:01 -05:00
Tamara Zuk 8e4259b915 System Status: Fix fatal error when `$response` is not an object 2015-02-26 01:50:42 -05:00
Claudio Sanches 37882756d3 Fixed HTML entities for up-sells and cross-sells fields, closes #7553 2015-02-25 10:27:53 -03:00
Mike Jolley 2006c7217e Add reports menu item if user can access reports but not the main WC section.
Closes #7528
2015-02-24 12:29:03 +00:00
Mike Jolley ba582c307b Dashboard - use same query as reports Closes #7529 2015-02-24 12:18:56 +00:00
Mike Jolley 4c411a69e7 * Fix - Saving an order needs to save the discount amount ex. tax like
the cart.
* Tweak - Show discounts inc. tax when showing order totals inc. tax.

Closes #7532

@barrykooij @claudiosmweb How does this look? Looks like we were saving
order discounts inconsistent with the cart/checkout
2015-02-23 17:39:57 +00:00
roykho c9a84030bb add hook to system status report so 3rd party items can display debug info there 2015-02-23 07:07:14 -08:00
Mike Jolley 2657ed251c Adjust syntax 2015-02-23 11:45:34 +00:00
pjv 1cdc3174ca fix BadMethodCallException
receiving lines like this in the php error log:

Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function get_formatted_name() on a non-object (boolean)' in /var/www/example.com/htdocs/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php:484\nStack trace:\n#0 /var/www/example.com/htdocs/wp-admin/includes/template.php(1044): WC_Meta_Box_Product_Data::output()\n#1 /var/www/example.com/htdocs/wp-admin/edit-form-advanced.php(600): do_meta_boxes()\n#2 /var/www/example.com/htdocs/wp-admin/post.php(209): include()\n#3 {main}

The error resulted in a WSOD when trying to edit some products.
2015-02-22 09:01:37 -07:00
Mike Jolley 321d38be0a Round report values.
Closes #7505
2015-02-20 12:27:55 +00:00
Mike Jolley 2a90208f93 Cross/up-sells should not search variations.
Closes #7502
2015-02-20 12:12:03 +00:00
Mike Jolley 2caf287258 Tweak rating prompt text on click, and change once rated
@bftrick This is to keep the .org folk happy and look less spammy :)
2015-02-19 11:38:35 +00:00
Mike Jolley 049abcfdd3 Show random tweet
Closes #7481
2015-02-19 11:16:24 +00:00
Mike Jolley 82ac0fc11e Detect shortcodes when saving URLs.
Fixes #7474
2015-02-19 11:05:04 +00:00
roykho af940dcf72 fix taxes save issue when page is paginated 2015-02-18 22:52:34 -08:00
Claudio Sanches 517a447743 Fixed some issues for scrutinizer 2015-02-18 16:09:02 -02:00
Claudio Sanches 1a45a447b0 Fixed the true-null-false case 2015-02-18 15:34:03 -02:00
Magnus Jepson ded1cf76e0 Fix sales report description
Net Sales report tooltip description was misleading by “excluding
refunds”
2015-02-18 18:19:10 +01:00
Claudio Sanches 6c7a22b910 Removed admin message from user profile pages, closes #7478 2015-02-18 15:06:11 -02:00
Claudio Sanches 69f44e1d4f Changed get_bloginfo("title") to get_bloginfo("name") 2015-02-18 13:47:30 -02:00
Claudio Sanches 0979fc475a Merge pull request #7466 from qTranslate-Team/master
replace get_bloginfo('name') with get_bloginfo('name', 'display')
2015-02-18 13:44:49 -02:00
Mike Jolley 470b259a8a Don't download GeoIP Database until geolocation option is enabled in settings. 2015-02-18 12:53:24 +00:00
John Clause 6c9f863c04 replaced get_bloginfo('name') with get_bloginfo('name','display') 2015-02-17 20:56:18 -07:00
Claudio Sanches c97dffcc66 Improved the WC_Admin::admin_footer_text(), closes #7461 2015-02-17 16:24:11 -02:00
Mike Jolley d1c19d5782 Check for GZIP support 2015-02-17 16:19:33 +00:00
Mike Jolley 5ec61e3acd Tweak transient welcome redirect 2015-02-17 15:24:12 +00:00
Mike Jolley ac8d97ab54 No need to add double quotes here Closes #7447 2015-02-16 14:33:12 +00:00
Mike Jolley 7899dd95d6 Run File URLs through esc_url_raw instead of wc_clean to preserve spaces.
Closes #7442
2015-02-16 14:23:13 +00:00
Mike Jolley 8bdd4fc283 Run item meta label through wc_attribute_label() in admin order page.
Closes #7420
2015-02-16 13:49:44 +00:00
Nicola Mustone 1f0fe09910 Added target _blank to the template structure doc link 2015-02-16 13:55:28 +01:00
Mike Jolley e58e9cb426 Merge pull request #7444 from SiR-DanieL/patch-6
Target _blank on Theme integration guide
2015-02-16 12:46:48 +00:00
Mike Jolley f5e73d792d Fix error when no product is chosen for report.
Fixes #7427
2015-02-16 11:53:37 +00:00
Nicola Mustone fe0cbd505c target _blank on Theme integration guide 2015-02-16 12:41:21 +01:00
Mike Jolley fcbd5c4292 Merge branch 'reports-api-fixes' 2015-02-16 11:35:10 +00:00
Mike Jolley e307786f5e Merge pull request #7438 from paulwilde/upstream
Introduce wc_get_page_permalink
2015-02-16 11:13:02 +00:00
Lucas Karpiuk fc11849054 Fixes issue #7440 2015-02-15 15:36:18 -05:00
Paul Wilde c913316f8b Introduce wc_get_page_permalink. 2015-02-15 19:13:22 +00:00
Mike Jolley 8409d67602 Share data between sales by date report and API.
Also ensures data is consistent. #7416
2015-02-13 21:25:59 +00:00
Claudio Sanches eff087f5ab Merge pull request #7413 from woothemes/plain-text-email
Check support for DOMDocument, closes #7404
2015-02-13 12:55:39 -02:00
Mike Jolley 765dcd174b Tweak text in frontend colors notice 2015-02-13 14:53:22 +00:00
Claudio Sanches 4065f56376 Improved the description for DOMDocument in system status 2015-02-13 12:47:56 -02:00
Claudio Sanches 3a85b8cf95 Fixed a typo 2015-02-13 12:44:47 -02:00
Claudio Sanches 7714901fd5 Added DOMDocument item in system status 2015-02-13 12:43:30 -02:00
Mike Jolley 2f2acc6964 Update dashboard report to show gross, after refunds 2015-02-13 13:53:03 +00:00
Mike Jolley 50322801e5 Sales by date handling for refunds
- Exclude refunds from gross/net
- Correct order counts
- Display refunded order and item count, plot after refunds
- Combine query functions for legend and main chart
2015-02-13 13:42:09 +00:00
Mike Jolley 55969390f0 Taxes by date handling for partial and full refunds 2015-02-13 13:42:09 +00:00
Mike Jolley 8f5ac9417c Taxes by code handling for partial and full refunds 2015-02-13 13:42:09 +00:00
Mike Jolley 857a78c2fc Include posts without parent in join so combinations of orders + refunds can be queried at the same time 2015-02-13 13:42:09 +00:00
Nicola Mustone ca3deba1c7 getting wrong ID 2015-02-13 11:00:41 +01:00
Mike Jolley f0d0fa9394 Auto-generation of slug when adding new attribute. 2015-02-12 23:25:10 +00:00
Mike Jolley 323faed337 Taxes by code - include refunds Closes #7397 2015-02-12 22:58:19 +00:00
Mike Jolley 0ef336d97c Change hooks used to output post columns - fixes columns after quick edit. 2015-02-12 14:26:00 +00:00
Mike Jolley 16e14914d8 Enqueue tracking js when needed only 2015-02-12 11:35:12 +00:00
Mike Jolley 1eb29d0acf Merge pull request #7386 from woothemes/tracking-duplicate-optins
Tracking duplicate optins
2015-02-12 11:30:14 +00:00
Mike Jolley 2a472e64e8 Only run the uninstaller if the "Uninstall on Delete" option is checked in system status. 2015-02-12 11:09:13 +00:00
Gerhard 1ac68adf20 Hide the tracker notice once clicked to avoid double clicks. 2015-02-12 11:41:04 +02:00
Nicola Mustone 78bd357f56 missing _e 2015-02-11 18:15:00 +01:00
Nicola Mustone 5cab9f5f2a escape & 2015-02-11 18:14:03 +01:00
Nicola Mustone 2e6b571f09 added target _blank to the Storefront read more button 2015-02-11 18:12:18 +01:00
Mike Jolley 19b6350afc Changelog code should ignore WC core 2015-02-11 11:21:31 +00:00
Mike Jolley 3a4e9c0d7f Report should include refunded status orders
Fixes #7343
2015-02-10 18:24:46 +00:00
Claudio Sanches 736ed330c8 Fixed a typo in the frontend colors notice 2015-02-10 14:08:05 -02:00
Claudio Sanches af99be8ffc Improved the tracking notice 2015-02-10 14:01:51 -02:00
Claudio Sanches edac0b00c7 Fixed the remote post and get messages in status report 2015-02-10 12:16:25 -02:00
Claudio Sanches 6ca681ce86 Added new filters to help translation plugins, closes #7338 2015-02-10 10:51:44 -02:00
James Collins 0bbb4464ab Fix 2 undefined index notices when editing/saving a product
Fixes:

Notice: Undefined index: upsell_ids in /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php on line 1202
Call Stack
#	Time	Memory	Function	Location
1	0.0110	486692	{main}( )	../post.php:0
2	4.7790	60047856	edit_post( ??? )	../post.php:229
3	4.7917	60075016	wp_update_post( ???, ??? )	../post.php:321
4	4.7930	60089156	wp_insert_post( ???, ??? )	../post.php:3572
5	4.9212	60223012	do_action( ???, ???, ???, ??? )	../post.php:3499
6	4.9213	60224380	call_user_func_array ( ???, ??? )	../plugin.php:496
7	4.9213	60224412	WC_Admin_Meta_Boxes->save_meta_boxes( ???, ??? )	../plugin.php:0
8	7.2460	60224516	do_action( ???, ???, ??? )	../class-wc-admin-meta-boxes.php:207
9	7.2539	60199340	call_user_func_array ( ???, ??? )	../plugin.php:496
10	7.2890	60735660	WC_Meta_Box_Product_Data::save( ???, ??? )	../plugin.php:0

( ! ) Notice: Undefined index: crosssell_ids in /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php on line 1203
Call Stack
#	Time	Memory	Function	Location
1	0.0110	486692	{main}( )	../post.php:0
2	4.7790	60047856	edit_post( ??? )	../post.php:229
3	4.7917	60075016	wp_update_post( ???, ??? )	../post.php:321
4	4.7930	60089156	wp_insert_post( ???, ??? )	../post.php:3572
5	4.9212	60223012	do_action( ???, ???, ???, ??? )	../post.php:3499
6	4.9213	60224380	call_user_func_array ( ???, ??? )	../plugin.php:496
7	4.9213	60224412	WC_Admin_Meta_Boxes->save_meta_boxes( ???, ??? )	../plugin.php:0
8	7.2460	60224516	do_action( ???, ???, ??? )	../class-wc-admin-meta-boxes.php:207
9	7.2539	60199340	call_user_func_array ( ???, ??? )	../plugin.php:496
10	7.2890	60735660	WC_Meta_Box_Product_Data::save( ???, ??? )	../plugin.php:0
2015-02-09 11:51:33 +08:00
shivapoudel 85976ddcfb Comment for Meta-Box Class 2015-02-08 21:32:47 +05:45
shivapoudel cdce6835f5 Comment for Disable Auto Save 2015-02-08 21:30:08 +05:45
shivapoudel 8db46ced4d Clean docblock statement for bulk messages 2015-02-08 20:30:19 +05:45
shivapoudel 7fad3e9428 Move the {post|bulk_post}_updated_messages methods to top 2015-02-08 20:27:48 +05:45
shivapoudel 99ae5c6a53 Specify custom bulk actions messages for a post type 2015-02-08 20:25:19 +05:45
shivapoudel dcdf00e06f Cleanup WC_Admin_Permalink_Settings 2015-02-04 22:12:06 +05:45
Mike Jolley 7795f69f51 Update wording to include refunds
Closes #7290
2015-02-04 15:14:02 +00:00
Mike Jolley 3154b08d3e Replace CDN select2 with local copy
Closes #7287
2015-02-04 15:00:14 +00:00
Mike Jolley 7b294c7cbf Prevent meta boxes being saved multiple times 2015-02-04 11:35:02 +00:00
Mike Jolley 4c3a58c957 Undefined product_ids_titles 2015-02-03 14:12:48 +00:00
Mike Jolley fc826de960 Dead vars in category report 2015-02-03 14:12:04 +00:00
Mike Jolley ff2b0db69b Undefined var customers 2015-02-03 14:10:03 +00:00
Mike Jolley 7acfc0b7f2 Dead var 2015-02-03 14:09:54 +00:00
Mike Jolley 7694f8039c Dead vars when saving variations 2015-02-03 14:08:43 +00:00
Mike Jolley 447ee6e7bb Docblocks 2015-02-03 14:02:38 +00:00
Mike Jolley c11d283ddc Still trying to get scruit to pick up these variables. Testing a few variations. 2015-02-03 13:49:04 +00:00
Mike Jolley 7c019c0c50 More docblocks; the check for WP_POST isn't needed as the second case (isset) runs regardless and is true for posts 2015-02-03 13:13:07 +00:00
Mike Jolley 52c84f407c Fix download save after adding with ajax 2015-02-03 10:57:43 +00:00
Claudio Sanches 566f1ea7b6 Make possible to show log by URL
@mikejolley
2015-02-02 21:58:25 -02:00
Mike Jolley 1785d48096 Update rating text
Based on feedback from Marina and James, cc @bftrick
2015-02-02 14:53:13 +00:00
Mike Jolley d0daa1ecee Tweak reset_admin_notices to add, not remove, notices
Fixes #7254
2015-02-02 14:40:11 +00:00
Gerhard 28385b8868 Update usage tracking notice link 2015-02-02 14:40:52 +02:00
Jack Gregory 836a87d6e7 Add hook to admin product advanced data 2015-02-01 15:17:07 +00:00
Tamara Zuk c1100fbce5 Reviews meta box: avoid undefined index notice
Avoids a notice when updating some Product Reviews Pro review types
2015-01-31 14:05:51 -05:00
msdesign21 2e76a58385 Update html-notice-template-check.php
Would also be nice to include a direct link when we mention the System Status report. Wasn't sure the best way to do that.
2015-01-30 15:34:25 -05:00
Mike Jolley a3e323f4e0 Define vars passed to addons view 2015-01-30 14:21:49 +00:00
Mike Jolley d6ee40191c Split webhooks column_default into multiple columns 2015-01-30 13:57:45 +00:00
Claudio Sanches a87f852122 Make it easy to find all orders that use a coupon #6925 2015-01-30 11:47:32 -02:00
Mike Jolley 9f8a7d1199 Remove datepicker icon's and use focus event 2015-01-30 12:54:33 +00:00
Claudio Sanches 1a3617c55b Improved the select fields in webhooks ui 2015-01-30 10:31:43 -02:00
Bryce 171f189f70 Update URL to link to review form
Closes #7243
2015-01-30 18:26:01 +07:00
Claudio Sanches afb19715d4 Prevented XSS in urls 2015-01-29 12:33:06 -02:00
Claudio Sanches 7890095ba0 Fixed the webhooks topic saving, closes #7236 2015-01-29 11:11:35 -02:00
Claudio Sanches 7eb3ec9a4a Admin footer text improvements #7234
@BFTrick @mikejolley
2015-01-29 10:41:39 -02:00
Claudio Sanches 85adccb416 Merge pull request #7234 from BFTrick/iss-7213
Adding Please Rate Our Plugin Footer Text
2015-01-29 10:37:28 -02:00
Claudio Sanches f7e24c0b77 Fixed more typos 2015-01-29 01:31:03 -02:00
Claudio Sanches 80b70c79f1 Fixed a typo in status report 2015-01-29 00:54:46 -02:00
Patrick Rauland e7224cdc1d using wc_get_screen_ids instead of manually typing them out. see #7213 2015-01-28 17:20:38 -07:00
Patrick Rauland ee11ac6080 adding please rate our plugin footer text. closes #7213 2015-01-28 17:13:13 -07:00
Claudio Sanches 177bcbe7d5 Removed unused code 2015-01-23 16:34:43 -02:00
Claudio Sanches 560d7d24ee Fixed the tracking opt-out 2015-01-23 15:20:09 -02:00
Mike Jolley e52611bbc3 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	includes/class-wc-tracker.php
2015-01-23 16:38:44 +00:00
Mike Jolley 5ffaf97397 Only load tracking during cron and move notices to notices class 2015-01-23 16:36:52 +00:00
Claudio Sanches a1462ccf26 Merge pull request #7198 from splashingpixels/theme-support-notice
fixed theme-support notice closes #7196
2015-01-23 14:32:51 -02:00
Claudio Sanches b1c5e19d56 Improved the system status report script 2015-01-23 14:19:06 -02:00
splashingpixels 6c61bf8c4c fixed theme-support notice closes #7196 2015-01-23 08:15:31 -08:00
Gerhard d09df4fc0f Merge branch '6711-opt-in-tracking' 2015-01-23 17:31:01 +02:00
Gerhard 8610ca6aef Merge branch 'master' into 6711-opt-in-tracking
Conflicts:
	includes/admin/class-wc-admin-status.php
2015-01-23 17:30:11 +02:00
Scrutinizer Auto-Fixer 19f660171e Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-01-23 14:37:20 +00:00
Mike Jolley 2d707689d9 Add transient cache to webhooks Closes #7184 2015-01-23 13:28:30 +00:00
Mike Jolley b289c9446c WC_INSTALLING constant - don't create options for any gateways/shipping methods during install. 2015-01-23 13:05:38 +00:00
Mike Jolley 2584041700 wc_price enhancements
- Renamed some 2.3 methods for consistency
- Allow more args to be passed to wc_price to control output
- Filter wc_price args which Closes #7188
- wc_get_price_decimal_separator function
- wc_get_price_thousand_separator function
- wc_get_price_decimals function
2015-01-23 11:50:32 +00:00
Mike Jolley 6b39849be2 Functions: wc_price_decimal_separator, wc_price_thousand_separator with defaults.
Closes #7167
2015-01-22 16:05:47 +00:00
James Koster 44fd8f69cf child theme context. closes #7173 2015-01-22 10:36:15 +00:00
Claudio Sanches ffbafbf652 Prevent errors in webhook log display 2015-01-21 14:25:33 -02:00
Mike Jolley 064f2ebe17 Fix multiple product section in coupon section. Fixes #7170 2015-01-21 14:24:39 +00:00
Claudio Sanches 5a8ecf3947 Merge pull request #7168 from woothemes/utm-links
Storefront Notice Fixes
2015-01-21 09:10:20 -02:00
Mike Jolley 59b902b50d Refactor menu_highlight 2015-01-21 11:06:55 +00:00
Gerhard d2b6673eef Add utm params to the storefront link 2015-01-21 07:33:22 +02:00
Gerhard 07d728f851 Link to storefront and not hightwind in theme search. 2015-01-21 07:25:01 +02:00
Mike Jolley 2d8f021cc7 Optimise the admin notices class.
@claudiosmweb
2015-01-20 15:23:34 +00:00
Mike Jolley 22f68af061 These should be arrays 2015-01-20 13:50:25 +00:00
Mike Jolley 5404006b29 MAP Url method 2015-01-20 13:31:02 +00:00
Mike Jolley 2693e110c6 Correct @var syntax. 2015-01-20 11:35:59 +00:00
Mike Jolley c0bea39c95 Seeing if magic properties are recognised 2015-01-20 11:06:15 +00:00
Mike Jolley 562743e847 Another @var declaration 2015-01-20 10:52:08 +00:00
Mike Jolley 0e4026941b Move $current_tab to where used 2015-01-20 10:41:26 +00:00
Mike Jolley 0e9bb50aae Docblock experiments continued... 2015-01-20 10:29:54 +00:00
Mike Jolley bc45f7755f Testing to see if scruitinizer recognises docblock 2015-01-20 10:01:28 +00:00
Mike Jolley 8e9539b0c2 scrutinizer issues in sales-by-category report 2015-01-20 09:53:33 +00:00
Mike Jolley 7f2a6b5e41 Fix pagination by preventing old query args from being re-added to the link
Fixes #7164
2015-01-20 09:43:56 +00:00
Mike Jolley 0b393b7e82 Add comment #7163 2015-01-20 09:43:56 +00:00
Brent Shepherd f9f3054c22 Restore $theorder
SHA: 74ba11c189 removed instantiation of `$theorder` global in `WC_Meta_Box_Order_Actions::output()`
as it was mistaken for unused code. However, some callbacks attached to hooks in that function may
actually rely on that global to determine if actions should be displayed for certain orders.
2015-01-19 17:12:26 -08:00
Claudio Sanches ab3553a6fd Select2 translatable, closes #7159 2015-01-19 17:31:22 -02:00
Mike Jolley f75a5d3a83 Merge pull request #7153 from helgatheviking/fix/php-notice-on-parse-query
changes tax_query to false for downloadable and virtual product filters
2015-01-19 14:51:23 +00:00
Mike Jolley 0d64e3854d Add tooltips for manual and auto refunds Closes #7117 2015-01-19 14:50:06 +00:00
Mike Jolley a9301323b5 Merge pull request #7113 from grey-rsi/master
add filters in admin reports
2015-01-19 14:05:58 +00:00
Kathy Darling 631099d6b2 changes tax_query to false for downloadable and virtual product filters. fixes #7152 2015-01-19 14:39:59 +01:00
Claudio Sanches 505501912f Fixed "PHP Notice: Undefined variable: metabox_class" error for non-taxonomy attributes 2015-01-19 11:38:47 -02:00
Mike Jolley 33e046a4d0 Use WC_Cache_Helper to expire shipping cache on setting save, and transient clear
Closes #7151
2015-01-19 13:19:44 +00:00
Nicola Mustone 47b0c4cb97 clearer coupon option description 2015-01-19 09:18:44 +01:00
Claudio Sanches bd468b7ac1 Fixed a typo 2015-01-16 10:47:29 -02:00
Claudio Sanches a82aa2bd13 Fixed refund amount when product dont have taxes 2015-01-15 16:57:33 -02:00
Claudio Sanches b3d6f6358e Fixed the selected attributes in product variations panel, closes #7115 2015-01-15 16:01:55 -02:00
Mike Jolley 5612d54058 Refactor attribute save code 2015-01-15 16:32:13 +00:00
Mike Jolley 5b7d03271e Pass reference to extract 2015-01-15 16:32:13 +00:00
Mike Jolley d37e6d424a Set $loop = 0; 2015-01-15 16:32:13 +00:00
Mike Jolley a52f94fb42 $order_taxes check 2015-01-15 15:19:19 +00:00
Claudio Sanches eda9eb07d4 Fixed quick/bulk edit product weight placeholders 2015-01-15 11:47:20 -02:00
Claudio Sanches 26ea24ae4c Removed useless data-tip in webhooks save button 2015-01-15 09:44:29 -02:00
Claudio Sanches eeea3f0146 Fixed a typo in webhooks table list 2015-01-15 09:35:13 -02:00
Claudio Sanches 6ed21bb0cc Removed ilegal brackets from context/msgctxt 2015-01-15 09:22:32 -02:00
Claudio Sanches b174d7c179 Stopped error when users use the woocommerce_enqueue_styles filter in the wrong way #7104 2015-01-14 12:32:34 -02:00
Claudio Sanches b232e99034 Merge branch 'master' of github.com:woothemes/woocommerce 2015-01-14 10:17:22 -02:00
Mike Jolley e1c54687ac Minor issues with variables 2015-01-14 12:17:19 +00:00
Claudio Sanches 6b8ce0c3fd Merge branch 'master' of github.com:woothemes/woocommerce 2015-01-14 10:17:10 -02:00
Mike Jolley 206a650488 Tidy variation output 2015-01-14 12:17:09 +00:00
Claudio Sanches ebf5763fd6 Added message about WooCommerce Colors plugin, closes #7099 2015-01-14 10:17:03 -02:00
Mike Jolley 8d8e57cbf5 Use @var to define vars passed in 2015-01-14 11:46:03 +00:00
Mike Jolley 32f2a44091 define @global 2015-01-14 11:32:00 +00:00
Mike Jolley d70912c891 Define: $net_order_amounts 2015-01-14 11:28:00 +00:00
Claudio Sanches 9c52a70597 Fixed webhooks status description 2015-01-13 22:09:54 -02:00
Claudio Sanches b55ecea6ba Used wp_unslash() instead of stripslashes_deep()
The WordPress documentation recommends:

"This should be used to remove slashes from data passed to core API that expects data to be unslashed. Use this instead of stripslashes_deep()."
2015-01-13 17:54:10 -02:00
Claudio Sanches 3ddcc68a19 includes/admin/meta-boxes/class-wc-meta-box-webhook-data.php
Removed old webhook file
2015-01-13 16:32:54 -02:00
Claudio Sanches 64f1f7f919 Fixed textdomains 2015-01-13 15:39:26 -02:00
Mike Jolley 04cb8c90c8 contributors 2015-01-13 16:16:01 +00:00
Mike Jolley 45b4364d90 Welcome page update Closes #7089 2015-01-13 16:12:54 +00:00
Sergey b3e9b1e6d8 add do_action in wc_price function and filters in admin reports 2015-01-13 15:34:48 +02:00
Mike Jolley 550e569a29 Tweak placement and styling of view link. #7065 2015-01-13 12:27:07 +00:00
Mike Jolley 9b8c23e2bd Merge pull request #7065 from pagelines/master
Link to find all customers orders from order page.
2015-01-13 12:16:51 +00:00
Claudio Sanches 20470db763 Add select2 to State/Country user meta fields in admin profile #6359 2015-01-12 17:15:37 -02:00
Claudio Sanches 695b04be61 Fixed conflits 2015-01-12 16:02:46 -02:00
Claudio Sanches 8e28c17c66 Merge pull request #7091 from woothemes/chosen-to-select2
Chosen to select2
2015-01-12 15:47:31 -02:00
Claudio Sanches 9a6dc0bf41 Added select2 for all settings fields 2015-01-12 15:45:47 -02:00
Claudio Sanches 017831f1c6 Fixed the backbone modal 2015-01-12 15:11:01 -02:00
Mike Jolley 2c32f6cdd0 Add functions to get money spent/order count for customers and fix in API Closes #7083 2015-01-12 17:09:46 +00:00
Mike Jolley 8110a8376b Upsells and cross sells select2 2015-01-12 16:39:49 +00:00
Mike Jolley 50c6e1e4a0 select2 settings 2015-01-12 16:29:01 +00:00
Claudio Sanches 60b23e6f6f Merge branch 'chosen-to-select2' of github.com:woothemes/woocommerce into chosen-to-select2 2015-01-12 13:48:43 -02:00
Mike Jolley 9852d9c6ec Order data JS select2 + refactor 2015-01-12 15:43:13 +00:00
Mike Jolley 2e82cbb311 Customer ajax searches 2015-01-12 13:04:19 +00:00
Mike Jolley 1fa26f1f6e Product searches select2 2015-01-12 11:56:44 +00:00
Nicola Mustone f00cd875f1 Typo 2015-01-12 12:31:42 +01:00
Claudio Sanches f3e5c03b38 Repositioned the "move to trash" and "save" buttons 2015-01-12 09:27:09 -02:00
Claudio Sanches 56c49daea8 Added empty trash action 2015-01-09 23:03:22 -02:00
Claudio Sanches 052380e191 Added webhooks search field 2015-01-09 22:41:33 -02:00
Claudio Sanches 9fa5ad756e Fixed a typo 2015-01-09 22:25:04 -02:00
Claudio Sanches 572d451aa6 Created webhooks bulk actions 2015-01-09 22:08:45 -02:00
Claudio Sanches c71869cd6e Added method to create webhooks on settings page 2015-01-09 16:21:19 -02:00
Claudio Sanches 2626275782 Edit and deleted webhooks 2015-01-09 15:42:01 -02:00
Mike Jolley 4b7f97c1de Attributes 2015-01-09 16:53:47 +00:00
Mike Jolley 5f5d8076d4 sales by cat select2 2015-01-09 16:43:35 +00:00
Mike Jolley f18b2c6c93 Added and enqueued select2 to admin 2015-01-09 16:39:10 +00:00
Simon 42c570114c Add some spaces. 2015-01-08 18:55:26 +00:00
Claudio Sanches 03193b867b Creted new webhooks edit interface 2015-01-08 16:34:30 -02:00
Simon 4003acd1e6 Link to find all customers orders from order page.
Moved to master branch as instructed.
Added check to only display if valid customer.
Removed pointless ?><?php
2015-01-08 16:57:40 +00:00
Mike Jolley 64901d82e5 Clear order transients when trashing posts. Closes #7052 2015-01-08 15:48:01 +00:00
Claudio Sanches a4dcc9261e Hide the old webhooks menu 2015-01-06 22:08:24 -02:00
Claudio Sanches baca07f9d2 Added webhooks table list views 2015-01-06 22:02:33 -02:00
Claudio Sanches 22ac725ec1 Removed not useful global vars 2015-01-06 17:39:34 -02:00
Claudio Sanches 842d26bc24 Removed old webhook post type actions 2015-01-06 17:29:49 -02:00
Claudio Sanches 3c038e613f Created initial webhooks table list in settings page 2015-01-06 17:24:32 -02:00
Mike Jolley 054d499636 Made checkout JS more modular 2015-01-06 17:49:22 +00:00
Mike Jolley 06ab96f39e Added net sales to sales by date report
Closes #7039
2015-01-06 13:27:44 +00:00
Remi Corson ecfb86a3f2 added link to docs in status report 2015-01-06 11:39:16 +01:00
Mike Jolley 5c86e962e8 Hide restock checkbox until qty is input Closes #6937 2015-01-05 17:19:18 +00:00
Mike Jolley f847b92a0f Merge branch 'wc-geolocation' 2015-01-05 10:18:25 +00:00
Mike Jolley b26ba4b9e4 Made system status export useful for English support people
Closes #7020
2015-01-03 17:45:02 +00:00
Claudio Sanches e53a6f5e57 Fixed variation fields when use "Link all variations" button 2015-01-02 15:07:31 -02:00
shivapoudel 39bf306f1a Fix add tax backbone modal backdrop issue 2015-01-02 20:00:21 +05:45
shivapoudel eab3a23b14 Fix missing icon for add tax backbone modal 2015-01-02 19:56:59 +05:45
Claudio Sanches 794621e3ba Improved the close button in backbone modal #7016 2015-01-02 11:58:57 -02:00
splashingpixels 0923d31de2 use proper label tags for generate api key setting field 2015-01-01 13:33:08 -08:00
Mike Jolley 3698eab0ae Made dashboard sales report match monthly sales report Closes #6871 2014-12-30 15:08:06 +00:00
James Koster 773c87d254 Merge pull request #7006 from corsonr/welcome_screen_fix
Fix cart icon alignment on welcome page
2014-12-27 12:42:01 +00:00
Mike Jolley 5b31745061 Add geolocation option for default address 2014-12-23 17:33:10 +00:00
Claudio Sanches 28d960d5bb Added variable_pricing class/wrap for variable price fields, closes #7008 2014-12-23 14:12:12 -02:00
Remi Corson 3f882480e8 fix cart icon alignment 2014-12-23 16:04:46 +01:00
Mike Jolley 22cc1fb0c7 Add attributes with ajax and don't load all attributes at once.
Significantly improves performance with many attributes in admin.
Closes #6852 cc @claudiosmweb
2014-12-22 14:16:15 +00:00
Mike Jolley 8df8c9b482 Make 'public', and rewrite, optional for attributes
#6852
2014-12-22 14:16:15 +00:00
Bryce 75c40366bc destroy the global! 2014-12-21 22:43:38 +07:00
Bryce 41de9936fe Check we're on the correct post type before editing columns
Closes #6991
2014-12-21 12:48:30 +07:00
Mike Jolley bb6b7c5489 Merge pull request #6967 from BFTrick/issue-6965
Adding Email Styles Back to Email Preview. Fixes #6965
2014-12-21 00:20:46 +00:00
Rtransat d53210dfbf Fix label "for" attribute for products_categories 2014-12-19 17:15:24 +01:00
Claudio Sanches c32b40ac10 Changed the position of the webhook menu 2014-12-17 16:33:51 -02:00
Claudio Sanches 690b04b29a Improved the webhook meta boxes 2014-12-17 16:20:37 -02:00
Claudio Sanches d84e1bae10 Merge pull request #6970 from woothemes/webhooks-ui
Webhooks ui, closes #6912
2014-12-17 16:08:43 -02:00