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