Commit Graph

1685 Commits

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