Commit Graph

1113 Commits

Author SHA1 Message Date
Gerhard 69553d53ab Add button to tools page to reset usage settings. 2014-11-27 09:43:43 +02:00
Mike Jolley 4bc63de72a Added 'stupidtable' script to allow order item sorting on the order screen (by name, cost, qty).
Closes #5998
2014-11-26 15:37:06 +00:00
Mike Jolley 3904035003 Disable already added attributes #6189 2014-11-26 11:35:07 +00:00
Mike Jolley 06129f60cd Message when updating attributes #6189 2014-11-26 11:14:08 +00:00
Mike Jolley d9f26e7848 Remove troublesome 'featured image' text replacement
Little gain in keeping this - not worth the overhead. Closes #6451
2014-11-26 11:03:39 +00:00
Mike Jolley dbcc8430e9 Installer tweaks + unit tests closes #6356 2014-11-25 17:09:24 +00:00
Mike Jolley 3c82331a8b Store discount 'tax' to show discounts on prices including tax more accuratly
Also deprecated some functions named after having 2 levels of discounts.
2014-11-25 13:05:03 +00:00
Mike Jolley 4a8c541fbf Remove 'order' discounts from classes 2014-11-25 11:05:14 +00:00
Mike Jolley 549d7ab2c0 Removed 'apply before tax' options for coupons - this should be the default core behaviour 2014-11-24 17:24:25 +00:00
Mike Jolley f90c146d01 Give product gallery low priority
Closes #5976
2014-11-24 15:29:37 +00:00
Mike Jolley 3a927d62dd Add tip to reports
Closes #5729
2014-11-24 15:18:41 +00:00
Bryce e93c32565c merge changes 2014-11-22 00:09:11 +07:00
Mike Jolley 40e0fe7a4e Merge pull request #6811 from bryceadams/patch-5537
#5537 - Fix bulk edit overlap, bulkedit improvements
2014-11-21 16:40:28 +00:00
Mike Jolley 8b4332a037 Refactors to shipping tax rate methods 2014-11-21 13:06:33 +00:00
Bryce bad3b31a18 #5537 - Fix bulk edit overlap, bulkedit improvements 2014-11-21 13:37:14 +07:00
Bryce a6c88c9104 Only enqueue/localize on profile page 2014-11-21 12:42:32 +07:00
Mike Jolley f088f81dcf Optimise tax rate importer and use same code as tax settings class 2014-11-20 18:41:51 +00:00
Mike Jolley add83a75dc Tax rate importer parse error 2014-11-20 17:09:07 +00:00
Mike Jolley 1ec8dabf8a Added method for expanding postcode ranges 2014-11-20 17:08:17 +00:00
Mike Jolley 97d241c33c Moved delete tax rate rule 2014-11-20 15:46:07 +00:00
Mike Jolley 7472a722b2 Corrected format_ methods 2014-11-20 15:43:40 +00:00
Mike Jolley ce1a9b84c7 Redo construct and move settings/html to separate files 2014-11-20 15:03:45 +00:00
Mike Jolley 4fd8cd63cb Split up save_tax_rates() method 2014-11-20 11:11:08 +00:00
Bryce 8b1cc5f902 #5850 - Add QR code to API credentials
This uses https://github.com/jeromeetienne/jquery-qrcode for generating
the QR code.

This is what it looks like:

![see screen shot](http://cld.wthms.co/11wpb+)

It’s small, **but**, it scans perfectly without any issues.
2014-11-20 15:46:46 +07:00
Mike Jolley c70c232e2c Optimised save tax rate logic 2014-11-20 00:51:06 +00:00
claudiosmweb 8eeb6fc204 Removed more some unused code 2014-11-19 22:43:09 -02:00
claudiosmweb 74ba11c189 Removed some unused code 2014-11-19 21:36:47 -02:00
claudiosmweb 9b16425142 Fixed some coding style issues 2014-11-19 17:01:06 -02:00
Illimar Tambek e41368c99a DRY up order status bulk actions 2014-11-19 14:26:27 +02:00
Illimar Tambek d510372d64 DRY up mark_order_{$status} 2014-11-19 14:13:24 +02:00
claudiosmweb f34cead914 Removed old code in favor of wc_tax_enabled() and wc_prices_include_tax() 2014-11-18 14:45:29 -02:00
Mike Jolley b3782fa1a5 Removing Mijireh from core 2.3 2014-11-18 16:37:43 +00:00
Mike Jolley 003094c9c3 Ensure remaining hashes are translated Closes #6518 2014-11-18 16:29:21 +00:00
Mike Jolley ed1ff0f48c WooConf is over 2014-11-18 16:26:12 +00:00
Mike Jolley e7fc5520a8 Merge pull request #6776 from axisthemes/welcome
Welcome Page Cleanup
2014-11-18 16:25:44 +00:00
Nicola Mustone 22a32ae9c8 Fixes #6555 2014-11-18 14:20:47 +01:00
claudiosmweb 6077a10e44 Removed some dead variables 2014-11-18 10:42:54 -02:00
shivapoudel 78f9759e1c Some modification for theme-support notice 2014-11-18 17:22:15 +05:45
shivapoudel 36e74b3b0d Some curley braces 2014-11-17 22:59:49 +05:45
Mike Jolley a0bf72f7b5 Bulk edit sales schedule on variations
Closes #6300
2014-11-17 16:50:25 +00:00
shivapoudel d688a37f54 Some mistake revoked 2014-11-17 22:34:27 +05:45
shivapoudel 3d4954a3e1 Some gap added intensionally ;) 2014-11-17 22:27:39 +05:45
shivapoudel 85440b5927 use of final class helper function 2014-11-17 22:03:15 +05:45
shivapoudel 61dfac7ccd Unused var if needed in future we can use WC_PLUGIN_BASENAME constant 2014-11-17 21:44:32 +05:45
shivapoudel 5b0be2f102 Cleanup for the WC_Admin_Welcome Class 2014-11-17 21:41:36 +05:45
Mike Jolley 82145be444 Merge pull request #6773 from axisthemes/menu-order
Simplify the condition for custom menu order
2014-11-17 14:31:37 +00:00
shivapoudel 825d56f8ba Modified since current_user_can() returns boolean ;) 2014-11-17 20:00:01 +05:45
shivapoudel 891d3a4573 Simplify the condition for custom menu order :) 2014-11-17 15:21:47 +05:45
Bryce 71909a7c72 Update default for 'Default Product Sorting' option 2014-11-17 15:37:02 +07:00
Bryce 295fed6467 Add placeholder attribute for settings API #6764 2014-11-16 14:49:43 +07:00
Mike Jolley 2e2ce3c286 [2.2] During refunds, correctly set shipping tax totals
Fixes #6691
2014-11-14 12:52:43 +00:00
Mike Jolley 9abbf4cef8 Fix coupons by date queries to prevent inflated results
Closes #6742
2014-11-13 17:25:45 +00:00
Mike Jolley 4c8a3eaba5 Merge pull request #6738 from bryceadams/master
Add script_debug $suffix for admin settings.js
2014-11-13 08:43:51 -08:00
Illimar Tambek a7a913ab09 Custom attributes for select, checkbox and textareas 2014-11-13 13:26:52 +02:00
Bryce d717eed3ad Add script_debug $suffix for admin settings.js 2014-11-13 15:57:09 +07:00
Mike Jolley 622c031f05 Merge pull request #6733 from SiR-DanieL/patch-3
Improved Shop Page Display option
2014-11-12 09:05:54 -08:00
Mike Jolley 87c417e56a When bulk editing variable products, set the stock status for non-stock managed variations
Fixes #6661
2014-11-12 15:15:05 +00:00
Nicola Mustone fc2429549e Improved Shop Page Display option
I tweaked the text of the second option in Shop Page Display because i guess it confuse users that only read "Show subcategories". What about main categories?

I'd like to change also "Show both" to "Show all". What do you think?
2014-11-12 15:01:17 +01:00
James Koster 6a0fe9974f reports print styles. closes #4544 2014-11-12 12:53:57 +00:00
Mike Jolley 9e53b3fb33 Clear shipping transient on save
Closes #6723
2014-11-11 16:22:29 +00:00
James Koster 57809bc017 coding standards 2014-11-11 15:47:14 +00:00
James Koster ecb5c77eae coding standards 2014-11-11 14:40:13 +00:00
James Koster 0321fc79d1 yoda 2014-11-11 14:31:27 +00:00
James Koster 7fd28c1295 order. #6639 2014-11-11 14:29:54 +00:00
James Koster c153a62406 Products setting tab. #6639 2014-11-11 14:25:46 +00:00
Mike Jolley f8bc4a0abd Add item cost column Closes #6650
@jameskoster
2014-11-11 13:40:47 +00:00
Mike Jolley 83fb26e30d Dump chosen select option. Closes #6593 2014-11-11 12:12:28 +00:00
Mike Jolley 01091c304c Fix conflicts in #5949 2014-11-11 11:23:44 +00:00
Mike Jolley 7490438da7 Merge pull request #6648 from SiR-DanieL/cancelled-order-email
Added cancelled order admin email
2014-11-11 02:53:35 -08:00
claudiosmweb 2f7fcb56ae Improved the Shipping class field in quick edit and bulk edit, closes #6681 2014-11-04 11:49:15 -08:00
claudiosmweb 6c4a65dbca Fixed the WooCommerce Status widget links, closes #6685 2014-11-04 00:22:28 -08:00
James Koster 5c04007605 products settings tab. #6639 2014-10-31 19:07:04 +00:00
Nicola Mustone 011bb0a784 Added cancelled order admin email 2014-10-29 15:05:43 +01:00
Mike Jolley 9be06dd9e5 Merge pull request #6635 from tivnet/patch-2
Avoid notices if file does not exist
2014-10-29 10:37:28 +00:00
Mike Jolley 3d1285c8c4 Allow some limited html in text attributes
Fixes #6620. @claudiosmweb @barrykooij see any issues with adding this
one? Doesn’t appear to break anything…
2014-10-29 10:29:51 +00:00
claudiosmweb a5ad428faf [2.2] fixed the value format in stock field with wc_stock_amount(), closes #6622 2014-10-28 18:37:53 -02:00
Gregory Karpinsky 5460e0fed0 Avoid notices if file does not exist
1. I've got notices on files
my-theme/woocommerce/single-product\add-to-cart\bundle.php, 
my-theme/woocommerce/single-product\bundled-item-image.php, 
my-theme/woocommerce/single-product\bundled-item-title.php
which are Template Overrides (WooCommerce Product Bundles)
and do not exist in the WC plugin.

2. There should be a more elegant way, because this is just to shut up notices. No version comparison performed.
2014-10-27 20:21:33 -04:00
James Koster fd81658cba storefront prompt. closes #6351 2014-10-27 13:38:04 +00:00
Mike Jolley 2b8be95360 Remove # (hash) from get_order_number and add to strings instead as needed.
Most places use Order #X
Some places use Order Number: X

Both are now valid.

Fixes #6518
2014-10-24 14:53:43 +01:00
Nicola Mustone 2080bcc0c4 Typo in the system report 2014-10-24 13:54:51 +02:00
Mike Jolley cde08791f6 System status table separation Closes #6290 2014-10-24 12:49:27 +01:00
Mike Jolley c62a13148b Instead of using saved title from order, use payment method_title for refund buttons
Closes #6334
2014-10-24 12:11:28 +01:00
Mike Jolley eff1cf53c4 Fixes for sales by cat report, Closes #6606 2014-10-24 11:58:25 +01:00
Mike Jolley 44d0152bfc [2.2] Low stock report should hide no stock
Closes #6611
2014-10-24 11:42:05 +01:00
Nicola Mustone dcde2a52e2 Removed GMT 2014-10-22 17:31:12 +02:00
Nicola Mustone cbbdfadb74 Order note use comment_date instead of GMT date
The order comment note should not use always GMT date. I think using `comment_date` is better.

Ref Ticket: #224994
2014-10-22 17:28:25 +02:00
Mike Jolley 997e7e7910 extra sanitisation for product data 2014-10-22 12:12:25 +01:00
claudiosmweb 861a34c348 Removed the frontend styles setting #6589 2014-10-21 20:12:39 -02:00
Mike Jolley b349c0883c WP remote GET test for updater
cc @kloon @ChromeOrange
2014-10-21 16:38:03 +01:00
Mike Jolley e4b212cb3a [2.2] Fix stock report queries Closes #6565 2014-10-21 14:50:18 +01:00
Nicola Mustone a14bc870c4 Improved system status 2014-10-18 11:56:58 +02:00
Mike Jolley 20279831e7 Tweak to naming in #6375 2014-10-17 16:24:21 +01:00
Mike Jolley 21784e80cd Merge pull request #6375 from dominic-p/settings-desc
Moved description and tip generation to a separate method
2014-10-17 16:19:02 +01:00
James Koster e27d4afee1 data tabs tweaks. #6562 2014-10-17 14:50:23 +01:00
Mike Jolley ebea42f7ee Merge branch 'pr/6322'
Conflicts:
	.gitignore
2014-10-17 14:43:54 +01:00
Mike Jolley 10fc2f7321 Add separate meta box for wc endpoints 2014-10-17 14:42:35 +01:00
James Koster eb258950bd variations markup / css refactor. #6562 2014-10-17 12:17:30 +01:00
Mike Jolley 1af90cd169 Only show integrations subnav when there are multiple integrations. 2014-10-16 15:53:12 +01:00
Nicola Mustone 437e041d3d Fix potential bug
Added `default` to prevent notices and reordered the code.
2014-10-16 08:56:28 +02:00
Mike Jolley 44ad43216e Turn caching back on 2014-10-14 17:01:15 +01:00
Mike Jolley c01bc63020 Correct report handling for full and partial refunds.
Fixes #6530

@claudiosmweb look good?
2014-10-14 16:39:57 +01:00
Barry Kooij acf6644830 Confirm to user email is sent when sending email from within order edit screen.
Fixes #6461.
2014-10-14 15:18:09 +02:00
Mike Jolley e43285f677 [2.2] Fix /shop/ base URL Non Latin issue with url decode
Fixes #6512
2014-10-14 12:24:45 +01:00
Mike Jolley 4a2a2714f6 Make cart total consider taxes
Fixes #6522
2014-10-14 12:20:38 +01:00
Mike Jolley b340fd68ae Made tax importer expand postcode ranges.
Closes #4463
2014-10-10 15:18:47 +01:00
Mike Jolley 5c1b931438 [2.2] Fix refund date.
Fixes #6499
2014-10-09 16:43:26 +01:00
Mike Jolley 728086d175 Merge pull request #6324 from SiR-DanieL/reports-currency
Fixing currency position in reports
2014-10-09 12:39:20 +01:00
Mike Jolley 02f5ed7542 Merge pull request #6327 from SiR-DanieL/order-notes
Fixing order notes date
2014-10-09 12:39:00 +01:00
Mike Jolley 666b25b352 Removed save_post remove_action call which breaks 3rd party plugins.
Fixes #6485, but means #6376 needs another solution.
2014-10-08 21:30:52 +01:00
Mike Jolley 853e17d28f [2.2] Prevent address fields being empty when editing an address within an order
Fixes #6476
2014-10-08 15:13:26 +01:00
Mike Jolley c6c5265493 Conflict 2014-10-07 11:10:29 +01:00
Mike Jolley 3f6e6309be define $view 2014-10-07 11:09:42 +01:00
Mike Jolley 090ab4a56d Tweaks to report class 2014-10-07 11:09:22 +01:00
Mike Jolley ac14427c32 get_order_report_data should return string 2014-10-07 11:09:19 +01:00
Mike Jolley 1de3b8a034 Set default $query 2014-10-07 11:09:16 +01:00
Mike Jolley d52664d738 Tweak report debug output - add pre 2014-10-07 11:09:12 +01:00
Mike Jolley 98ec3da5ac Merge pull request #6472 from thenbrent/edit_order_currency
Display order & item totals with correct currency on Edit Order screen
2014-10-07 10:16:16 +01:00
thenbrent 66cbf9f3a3 Tabs & spaces 2014-10-07 15:16:59 +10:00
thenbrent 6869403a39 Disable autosave for all order types w/ meta boxes 2014-10-07 15:13:56 +10:00
thenbrent 94355b73dc Display order & item totals with correct currency
If a store changes currency or is using an extension which allows for
purchasing in multiple currencies, the currency symbol displayed on the
Edit Order admin screen may be incorrect for previous orders because
it uses the `wc_price()` fallback, which is the site wide currency
rather than the currency for that specific order. This fixes that.
2014-10-07 09:59:52 +10:00
Mike Jolley 589da28f42 Small tweak on text in #6457 2014-10-06 14:31:32 +01:00
Mike Jolley 83d8eb7fd8 Merge pull request #6457 from bryceadams/master
Re-do coupon free shipping option desc issue #6391
2014-10-06 14:29:16 +01:00
Mike Jolley 46a753cb74 [2.2] Unhook save_meta_boxes after first successful run to prevent race conditions
Fixes #6376
2014-10-06 14:26:22 +01:00
Mike Jolley 700369c386 Refund report changes
1. Ensure refund order_total is negative and reflects the full amount,
not just line items
2. Ensure transients are cleared when doing refunds
3. sales-reports order types so we can exclude refunds from pure
‘sales’ reporting
4. Tweak placement of refunds in legend.

Closes #6411
2014-10-06 13:39:53 +01:00
Gustavo Bordoni c335d223d8 Remove all calls to get_page(), as it was deprecated on WordPress 3.5.0 2014-10-06 06:55:45 -03:00
Mike Jolley 9947c22cfe Prevent order statuses affecting other queries.
Closes #6437
2014-10-03 14:35:45 +01:00
Bryce 5a6f0b1529 Re-do coupon free shipping option desc issue #6391
I didn’t update the POT as was having some poedit issues
2014-10-03 16:44:57 +07:00
Mike Jolley c8ffee57ff [2.2] Ensure rate is double
Fixes #6442
2014-10-03 10:11:14 +01:00
Mike Jolley 3d36f446d3 Deprecate woocommerce_admin_css action - it's pointless
Will be removed in 2.4. Closes #6456
2014-10-03 10:07:28 +01:00
Mike Jolley b6835a009c wc_paying_customer to only increase for 'simple' orders and added tool to refresh stats to customer list.
Closes #6395
2014-10-02 16:44:36 +01:00
Mike Jolley 819436f0a3 Merge pull request #6388 from quadshot/action-buttons
Allow adding custom 'action buttons' in order item metabox
2014-10-02 14:06:11 +01:00
Mike Jolley 3964d3fc3c Merge pull request #6417 from corvannoorloos/attachment-thumbnail-url
category and product (-column) image(s) should be inserted as a thumbnail
2014-10-02 13:52:12 +01:00
Mike Jolley 3e20b113d6 Add hook to refund html
Closes #6406
2014-10-02 13:40:34 +01:00
Mike Jolley b519eb09d4 Merge pull request #6426 from ChuckMac/Checkbox_Tooltip
Enable tooltip for woocommerce_wp_checkbox in metabox
2014-10-02 13:32:36 +01:00
Chuck Mac ec83e932ed Adding refunds to Sales by Date report
Create a new axis for "in refunds" on the sales by date report.  Include
the refunds in the included time period.  Refunds do not reduce the sales
total in the report.
2014-10-01 23:35:34 -04:00
Chuck Mac d8a8970bd4 Enable tooltip for woocommerce_wp_checkbox in metabox
Allow the use of the `desc_tip` value to add a tooltip to the checkbox
field as allowed by other metabox fields.
2014-09-29 12:15:26 -04:00
Ratnakar ad1b2afb4a Use of WordPress Insert instead of direct query 2014-09-29 10:56:03 +05:30
Cor van Noorloos e4bc36fcec category meta box and category column thumbnail 2014-09-28 17:23:58 +02:00
Cor van Noorloos ed1d64fc63 product column thumbnail 2014-09-28 17:23:27 +02:00
James Koster e92be69c9c Increase default product image sizes. closes #5480 2014-09-26 17:49:27 +01:00
James Koster 81bf8d3a9d remove tooltip and add edit action link. #6360 2014-09-26 14:53:45 +01:00
James Koster a66ae12707 bye bye coupon styling. closes #6360 2014-09-26 14:37:26 +01:00
Patrick Rauland c6635d84e3 capitalizing the update translation button 2014-09-25 15:41:18 -06:00
Loushou a37ea4976b new filter for adding custom 'action buttons' on the order_items metabox in the admin edit order screen
loushou
2014-09-24 17:41:13 -07:00
Dominic a96c8fa836 Moved description and tip generation to function
This would allow plugins to easily generate the necessary HTML for the
tooltips and field descriptions when implementing their own custom
setting field types.
2014-09-23 15:27:15 -07:00
claudiosmweb 2a255de172 changed the LESS compiler to SCSS compiler #5606 2014-09-22 15:30:07 -03:00
Mike Jolley a91c74d794 Merge pull request #6309 from quadshot/before-oi-meta
filter for adding info before order item itemmeta in order metabox
2014-09-22 10:36:48 +01:00
Mike Jolley 0aca8e01f8 Merge pull request #6305 from quadshot/line-buttons
filter to allow custom 'add line' buttons
2014-09-22 10:23:46 +01:00
Mike Jolley 506a66b3a4 Merge pull request #6342 from axisthemes/ASBPATH-2
Absolute path should have curly braces
2014-09-22 10:21:05 +01:00
Mike Jolley e42d4b24da Merge pull request #6333 from quadshot/save-order-items
Inform plugins of 'save_order_items'
2014-09-22 10:18:00 +01:00
shivapoudel ae3bc4051f Absolute path, Indentation & docblocks fix for includes/admin/meta-boxes/*.php :) 2014-09-21 01:50:06 +05:45
shivapoudel a318f9dae2 Absolute path and Indentation fix for includes/admin/reports/*.php :) 2014-09-21 01:43:32 +05:45
shivapoudel ab52b93592 Absolute path and Indentation fix for includes/admin/settings/*.php :) 2014-09-21 01:40:47 +05:45
shivapoudel 8c211705ca Absolute path and Indentation fix for includes/admin/importers/*.php :) 2014-09-21 01:39:24 +05:45
shivapoudel 4091fe00ad Absolute path and Indentation fix for includes/admin/{roots-files}.php :) 2014-09-21 01:37:30 +05:45
splashingpixels bf9c1689fb revised quick-edit featured product option not able to unselect 2014-09-19 10:49:26 -07:00
Loushou 1252db79f8 changed filter name to be past tense for clarity
loushou
2014-09-19 09:08:54 -07:00
Loushou becdc0977d filter to inform other plugins that order items have been saved in the admin
loushou
2014-09-19 08:57:02 -07:00
Loushou 0f8c8886e0 adding the after
loushou
2014-09-19 08:34:34 -07:00
Loushou 09159f83c7 removing extra param and correcting whitespace 2014-09-19 08:05:25 -07:00
Mike Jolley 4803937222 Fix adding items to orders
* Fix - When manually adding items to an order, show tax columns.
* Fix - When manually adding items to an order, include variation data.

Closes #6313
2014-09-19 12:52:26 +01:00
Mike Jolley 8f62f00f4d Fix - When bulk editing, don't allow sale price to be negative.
Fixes #6325
2014-09-19 12:18:07 +01:00
Mike Jolley fe3ee67b4f Merge pull request #6301 from anagio/master
Small grammar edit to template notice
2014-09-19 10:44:01 +01:00
Nicola Mustone 46689ce083 Fixing order notes date 2014-09-19 09:55:16 +02:00
Nicola Mustone 8a7ed9a053 Fixing currency position in reports 2014-09-19 09:23:58 +02:00
Nicola Mustone 1f1d5d6bab Adding endpoints in Appearance > Menus 2014-09-19 09:06:28 +02:00
claudiosmweb 8c0ddfcb02 fixed admin post type filters, closes #6312 2014-09-18 17:10:02 -03:00
Loushou f17bb56891 filter to allow custom 'add line' buttons
loushou
2014-09-18 09:05:42 -07:00
Loushou f0c4b80113 filter for adding info before order item itemmeta in order metabox
loushou
2014-09-18 08:55:13 -07:00
Loushou 76f3049751 adding a method to allow default billing information in order metabox
loushou
2014-09-18 08:33:49 -07:00
anagio c1ba19991f Small grammar edit to template notice 2014-09-18 09:34:21 -04:00
Mike Jolley 28e13bdab3 Add notice when order is no longer editable.
Closes #6298
2014-09-18 11:32:25 +01:00
Mike Jolley 579ec4ee0c Totals in taxes by date report.
Fixes #6299
2014-09-18 10:28:45 +01:00
Mike Jolley 8e35bbf0ba Clear transients for new parent when saving a grouped product. Closes #6278 2014-09-17 14:18:43 +01:00
claudiosmweb 8719910441 Fixed WooCommerce submenu in multisites
reported in
https://wordpress.org/support/topic/error-message-in-multi-site-from-223

@mikejolley
2014-09-16 19:03:50 -03:00
Mike Jolley ce1236bd95 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	readme.txt
2014-09-16 10:48:46 +01:00
Mike Jolley 6dd8b11762 Fixed minor XSS issue on reports screens by escaping and sanitizing 'range' GET variable. 2014-09-16 10:33:47 +01:00
claudiosmweb 6a0d5ebf0c Fixed number of processing orders display
Reported in
http://wordpress.org/support/topic/number-of-processing-orders-missing-from-left-panel

Cannot use wc_get_order_type() before wc_register_order_type()

@mikejolley
2014-09-15 23:32:34 -03:00
claudiosmweb 8464ad0b17 improved the WC_Admin_Post_Types::media_view_strings() 2014-09-15 22:10:20 -03:00
claudiosmweb 89a0c82b54 fixed "Set product image" media gallery title in non-product post type, closes #6267 2014-09-15 19:09:25 -03:00
claudiosmweb f9454b7c3b fixed the decimal format in wc_save_order_items() for taxes, close #6253 2014-09-15 14:03:14 -03:00
claudiosmweb b47e649e6a Improved the translation update messages
When is multisite shows only the button for download directly
If not is multisite will show the button for make the download with the
WordPress update system and the button to download directly
And added a new button to hide the update message

@mikejolley
2014-09-12 19:32:21 -03:00
claudiosmweb dc0122a4d6 Created method for install the translations directly
This will download the package directly from Github and install using
WP_Filesystem()

@mikejolley
2014-09-12 18:55:50 -03:00
claudiosmweb 066eb3c5b0 fixed wc_get_order_status_name() appear as wc 2.1 order status 2014-09-12 10:01:49 -03:00
Mike Jolley aee2b62c85 Added woocommerce_get_settings_ID filters.
Closes #6231
2014-09-12 12:20:06 +01:00
claudiosmweb a84021306e fixed some coding standards in includes/admin/class-wc-admin-settings.php 2014-09-11 21:40:30 -03:00
claudiosmweb ec9e08ba7d Fixed images crop option and wc_get_image_size() function
Reported in http://wordpress.org/support/topic/hard-crop

@mikejolley
2014-09-11 21:22:30 -03:00
Mike Jolley 192c1d4169 In system status, show path to template file override.
Closes #6227
2014-09-11 15:31:55 +01:00
Gerhard deb440ffcf Escape js array labels.
Closes #6222
2014-09-11 15:43:41 +02:00
Mike Jolley edd37f3d20 Tweak - Display of locale information on system status page.
Closes #6211
2014-09-11 10:49:59 +01:00
Remi Corson b126cc1c63 fixed order status translation 2014-09-11 08:39:00 +02:00
Mike Jolley 5343833427 Fix - Saving of variation stock when parent stock management is disabled. 2014-09-10 21:03:37 +01:00
claudiosmweb 37ba3c2de9 fixed the mijireh plugin slug 2014-09-10 15:03:13 -03:00
Barry Kooij 14221c0fba Display a backgroud color so text is readable while image loads. 2014-09-10 15:56:29 +02:00
Barry Kooij dc165a5bb6 Fixed a small typo. 2014-09-10 15:49:04 +02:00
Barry Kooij fed1af8811 Only display WooConf banner if WooConf hasn't happend yet. 2014-09-10 15:48:13 +02:00
James Koster 3afde01226 wooconf plug on welcome screen. 2014-09-10 12:18:43 +01:00
James Collins 1e251d36b6 Fix query error when saving tax rates
Fixes #6202
2014-09-10 09:47:09 +08:00
Mike Jolley a187d29242 Update support links and read me versions/text 2014-09-08 16:19:25 +01:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley 9e25450572 Replaced get_language call for get_locale 2014-09-04 11:38:36 +01:00
Mike Jolley fd0a9e52b6 Replace usage of WPLANG with get_locale() for installs without WPLANG set
cc @claudiosmweb
2014-09-04 11:33:30 +01:00
Mike Jolley 1d13f767b3 Merge pull request #6157 from tamarazuk/coding-standards
Coding standards Part 1
2014-09-03 17:05:42 +01:00
Mike Jolley 265ffee23a Remove $can_be_edited in favour of ->is_editable()
For #6154
2014-09-03 10:09:04 +01:00
Mike Jolley cb76bd7fb8 Merge pull request #6154 from thenbrent/is_editable
Add `WC_Abstract_Order::is_editable()` method and `'wc_order_is_editable'` filter
2014-09-03 10:06:04 +01:00
claudiosmweb 78c7fefe3e fixed some docblocks 2014-09-02 16:50:19 -03:00
thenbrent 78d932e6d2 Add WC_Abstract_Order::is_editable()
To centralise logic used to determine if an order can be edited from
the Edit Order screen
2014-09-02 11:47:56 -07:00
claudiosmweb cd154a30ef improved the line items backward compatibility, closes #6109 2014-09-01 12:35:04 -03:00
Tamara Zuk a0ce139f7d Coding Standards: Admin - Settings
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Tamara Zuk 0ab6b44bfa Coding Standards: Admin - Reports
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:19:13 -04:00
Tamara Zuk fc0e7adacb Coding Standards: Admin - Meta boxes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04:00
Tamara Zuk ce037af961 Coding Standards: Admin - Importers
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:17:58 -04:00
Mike Jolley 721d0e5782 Merge pull request #6125 from axisthemes/notices
Better Notices in themes.php
2014-08-29 09:47:43 +01:00
Mike Jolley e6defc0ddd Merge pull request #6127 from tamarazuk/master
Order totals: 4 new action hooks
2014-08-29 09:46:57 +01:00
thenbrent 175923056a Only display "Refund" when unrefunded amount > 0
If an order has been fully refunded, the "Refund" button was still
displayed despite there being no amount to refund.
2014-08-28 22:04:51 -07:00
Tamara Zuk eb9460aa2d Order totals: 4 new action hooks 2014-08-28 21:56:30 -04:00
shivapoudel 730563f1c1 If other notices are closed this translation won't have stylesheet so 2014-08-29 04:03:26 +05:45
Mike Jolley 4a73cb4e7e Merge pull request #6112 from axisthemes/replacement
Replacement for core Tweaks and fixes
2014-08-28 12:07:05 +01:00
Mike Jolley d526635609 Merge pull request #6096 from axistools/active-plugins
System Status report page
2014-08-28 11:44:49 +01:00
shivapoudel c37f7a16e8 use of is_rtl() which were missed 2014-08-28 14:40:36 +05:45
shivapoudel 71986a10d8 Better href method applied 2014-08-28 14:38:14 +05:45
justinstern 8417209d6c Improve, fix, WC_Payment_Gateway::get_transaction_url()
* Make the new get_transaction_url() method a bit more
flexible/convenient by passing in the full order object rather than
transaction_id
* Fix bug with core PayPal gateway get_transaction_url() override
2014-08-27 21:51:03 -04:00
shivapoudel 97ea988843 Remove unusual css stuff (i.e ;) 2014-08-28 06:40:32 +05:45
shivapoudel d4081a37b8 Remove extra line 2014-08-28 06:39:32 +05:45
shivapoudel 768a4f89ed Added '<hr />' before return-to-dashboard 2014-08-28 04:39:09 +05:45
shivapoudel cf42423b80 better using printf() 2014-08-28 02:41:32 +05:45
shivapoudel 4a4673be97 Clean WooCommerce actions in Welcome Page 2014-08-28 02:34:52 +05:45
shivapoudel 716d3f1763 removed in Welcome page 2014-08-28 02:31:17 +05:45
shivapoudel db852e0f10 Better Screen Help adaptation 2014-08-28 02:28:12 +05:45
shivapoudel 7180e50ece Removed unused lines 2014-08-28 02:21:04 +05:45
shivapoudel 0224a3e4ec Added the use of is_rtl() 2014-08-28 02:11:45 +05:45
Shiva Poudel 34d1454439 Time constant in theme set_transient too... 2014-08-27 19:22:03 +05:45
Shiva Poudel 18012b70c0 Using Time Constants to set transient
Rather that '60*60*12` we can use `DAY_IN_SECONDS` which is equivalent of `60*60*24`. Let's use one day rather than (1/2)day as it seems better.
2014-08-26 23:47:41 +05:45
Shiva Poudel 0e313e7b58 Fix for Unnecessary spaces used 2014-08-26 23:13:05 +05:45
Shiva Poudel c961659eca Fix some duplicates entry. 2014-08-26 23:07:35 +05:45
Shiva Poudel e73721c58e Semantic script adapted
@mikejolly I have used id `#status` instead of class `wc_status_table`. Look this `jQuery( '#status thead, #status tbody' )....` and `<table class="wc_status_table widefat" cellspacing="0" id="status">`. Thus will not harm anything. Additionally, I have adapted the sementatic jQuery script here.
2014-08-26 22:58:39 +05:45
Shiva Poudel b201e8d046 Better Text-Domain maintained... 2014-08-26 22:46:31 +05:45
Shiva Poudel 0f113a5750 Added WP Active Plugins In System Status
Although there is list of plugins which were installed but will be informative if number of plugins is displayed before getting list. This will count and display the number of plugin installed and used in the environment section.
2014-08-26 22:39:25 +05:45
Shiva Poudel cbb94f0d11 Better to use Time Constants since WordPress 3.5
Reference http://codex.wordpress.org/Transients_API#Using_Time_Constants
2014-08-25 11:16:39 +05:45
Barry Kooij 94365791af Changed all use of get_product to wc_get_product 2014-08-19 12:09:29 +02:00
Mike Jolley 0333cf9d0d Merge pull request #6039 from thenbrent/i18n_product_type_alert
Tweak language used for i18n_product_type_alert
2014-08-18 13:29:52 +01:00
claudiosmweb 6081f3b61f fixed some missing and wrong textdomains 2014-08-15 16:08:43 -03:00
thenbrent 320156aca0 Tweak language used for i18n_product_type_alert 2014-08-15 11:16:30 -07:00
Mike Jolley 575ba5974e Variation level backorder 'parent' option makes no sense now parent backorder select is hidden
#6035
2014-08-15 15:29:14 +01:00
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02:00
Mike Jolley 6bd38b5ce0 Tweak display order text 2014-08-15 11:50:53 +01:00
Mike Jolley 1c3b4fdc5c Deprecate Mijireh - .org repo requested
Closes #6027
2014-08-15 11:50:53 +01:00
Mike Jolley 3f53512c7f Fix up visibility of stock options, drop downs, and get_availability() when parent is managing stock for a variation.
Fixes #6017
2014-08-13 15:03:30 +01:00
Mike Jolley dfe30bfe84 Tweak max spend text for #5992 2014-08-13 11:43:28 +01:00
Mike Jolley dc60cea213 Merge pull request #5992 from adamawesomeface/master
maximum ammount for coupon functionality added
2014-08-13 11:41:33 +01:00