Commit Graph

1286 Commits

Author SHA1 Message Date
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