Ryan Ray
b57da86dee
Made a tiny adjustment to the order of words and formatting. The sentence is a bit shorter and clearer (to me) now.
2016-05-12 14:22:48 -04:00
Mike Jolley
9c1aa8afe8
Merge pull request #10899 from woothemes/background-updates
...
Handle DB updates in the background
2016-05-12 16:45:42 +01:00
Mike Jolley
5f46f60cb0
Merge pull request #10907 from corsonr/confirm_delete_order_note
...
Add order note deletion confirmation
2016-05-12 12:26:26 +01:00
Mike Jolley
986bd5abc7
Fix save and striping
2016-05-12 12:18:35 +01:00
Mike Jolley
07db739a47
Revise link wording and page title
2016-05-12 11:37:48 +01:00
Mike Jolley
8be8fe4c8a
Use modal for adding methods on both screens
2016-05-12 11:29:33 +01:00
Mike Jolley
3dba8e3697
Changed icons for methods into text based links and moved save buttons to left to match other settings screens
2016-05-12 11:07:18 +01:00
Mike Jolley
b441a218a4
Remove logged in notice
...
Closes #10904
2016-05-12 10:36:27 +01:00
corsonr
52f3cb3d8a
Add order note deletion confirmation
2016-05-12 10:04:32 +02:00
Claudio Sanches
9635a00b93
Fixed term_id override while trying to get term order_
...
Some old or imported product taxonomy terms don't have any order_ fields
in the wp_termdata and this will return a empty term_id that will
override the WP regular query.
This change avoid override term_id and allow the query work without any
additional data migration.
Closes #10903
cc @mikejolley
2016-05-11 19:33:55 -03:00
Claudio Sanches
5b916de27a
Updated WP-API vendor files
2016-05-11 16:43:51 -03:00
Claudio Sanches
2b1d4eced6
[REST API] Allow batch create, update and delete for almost all endpoints
2016-05-11 16:34:53 -03:00
Claudio Sanches
dac471273f
Merge pull request #10884 from woothemes/wp-api-batch
...
[REST API] Batch create, update and delete items
2016-05-11 16:22:54 -03:00
Claudio Sanches
ccd1f48025
[REST API] Save default total_sales, closes #10898
2016-05-11 13:19:56 -03:00
Claudio Sanches
47ef7e17a1
Created new function to generate webhook secrets based on the user ID and username, closes #10881
2016-05-11 13:14:00 -03:00
Mike Jolley
c1830c12cc
Redirect to install page w/ nonce
...
Fixes #10860
2016-05-11 17:01:34 +01:00
Mike Jolley
c9095abf8e
Save line taxes for shipping rows
...
Fixes #10897
2016-05-11 16:32:51 +01:00
Claudio Sanches
35fdcd243a
[REST API] Added method to check if the request is to the rest api and allow third party plugins
2016-05-11 11:52:29 -03:00
Mike Jolley
2cc0ac294e
Fix return on add_metadata
...
Fixes #10892
2016-05-11 15:28:40 +01:00
Mike Jolley
d1da61a954
Remove update files
2016-05-11 14:26:54 +01:00
Mike Jolley
99cd5187c0
Merge branch 'master' into background-updates
...
# Conflicts:
# includes/updates/woocommerce-update-2.4.php
# includes/updates/woocommerce-update-2.6.php
2016-05-11 14:26:37 +01:00
Mike Jolley
e716993809
Store instance ID transitions to option and fire action
...
Closes #10883 @franticpsyx
2016-05-11 14:25:31 +01:00
Mike Jolley
a7176ae543
this is a legacy update
2016-05-11 14:25:31 +01:00
Mike Jolley
5bb7a3a1c4
Logging
2016-05-11 14:22:42 +01:00
Mike Jolley
9cf0758d3f
Add logging and notices
2016-05-11 14:22:31 +01:00
Mike Jolley
44bca2633e
Notice HTML
2016-05-11 14:22:21 +01:00
Mike Jolley
bba4bab8e1
Save notices during shutdown
2016-05-11 14:22:06 +01:00
Mike Jolley
511e8c3146
Handle updates in install class
2016-05-11 12:44:23 +01:00
Mike Jolley
67fa79b1a4
Move updaters to functions
2016-05-11 12:44:12 +01:00
Mike Jolley
f896d7a040
Background updater class
2016-05-11 12:44:00 +01:00
Mike Jolley
8e0d7d7bb7
Include libs for background processing
2016-05-11 12:43:54 +01:00
Mike Jolley
a8bd4bc6e1
Updating/updated notices
2016-05-11 12:43:35 +01:00
Mike Jolley
8ba2da9820
Store instance ID transitions to option and fire action
...
Closes #10883 @franticpsyx
2016-05-11 11:30:10 +01:00
Mike Jolley
cd01218ee9
this is a legacy update
2016-05-11 11:10:25 +01:00
Mike Jolley
63675c87dc
Merge pull request #10891 from woothemes/add/shipping-zone-method-hooks
...
Add action hooks for shipping zone method actions
2016-05-11 11:07:40 +01:00
Mike Jolley
d3b450139b
Merge branch 'pr/10893'
2016-05-11 10:58:09 +01:00
Mike Jolley
96cb47e037
escape
2016-05-11 10:58:04 +01:00
Mike Jolley
e54a0479fa
Merge branch 'pr/10895'
2016-05-11 10:55:38 +01:00
Mike Jolley
a0b792625d
Adjust action args
2016-05-11 10:55:33 +01:00
Caleb Burks
2fd455769d
Make customer download links available for admins
2016-05-10 23:52:18 -05:00
Claudio Sanches
cae8056172
[REST API] Fixed a conflict with authentication and our old API
...
This make authentication avaiable only on the WP REST API for the wc/v1
namespace.
Closes #10890
2016-05-10 18:27:28 -03:00
Joey Kudish
7f71376418
add action hooks for shipping zone method actions
...
Adds action hooks for shipping zone methods added, deleted and status
toggled
2016-05-10 11:43:47 -07:00
Mike Jolley
e552c3c916
Remove filter to hide variations with no prices in get_children()
...
#10854
2016-05-10 18:23:16 +01:00
Mike Jolley
bc3b9a04b7
Do not add field names when tokenizing
2016-05-10 18:23:16 +01:00
Claudio Sanches
5d47875eed
[REST API] Allow save post_name/slug for products in v3
...
Closes #10888
2016-05-10 13:46:53 -03:00
Claudio Sanches
ad94a25e5e
Merge branch 'master' of github.com:woothemes/woocommerce
2016-05-10 13:41:28 -03:00
Claudio Sanches
d7e874324a
[REST API] Fixed some schema contexts
2016-05-10 13:41:15 -03:00
Mike Jolley
d8620c1504
Merge pull request #10889 from ryross/master
...
Fixing typo in comment
2016-05-10 17:31:02 +01:00
Claudio Sanches
eaa0e6884c
Merge pull request #10771 from danielhuesken/master
...
WooCommerce API: Add sort order fields for product attributes and categories
2016-05-10 13:28:56 -03:00
Claudio Sanches
26fd51ac79
[REST API] Stop load legacy API classes into the WP REST API, closes #10887
2016-05-10 13:26:39 -03:00
Ryder Ross
9a9dd7faf4
Fixing typo in comment
2016-05-10 09:17:28 -07:00
Claudio Sanches
7b3ff6fcf9
Merge pull request #10886 from shoheitanaka/patch-5
...
Japanese post code validation
2016-05-10 13:09:59 -03:00
Mike Jolley
0927cbee8d
Tweaks saved card markup and styling to improve CC form.
2016-05-10 15:43:39 +01:00
Steve
2da25a7708
Update class-wc-admin-attributes.php
2016-05-10 13:13:30 +12:00
Steve
ff03ca81ac
Add 'woocommerce_before_attribute_delete' action
...
Adding an action so 3rd party plugin developers can prevent attributes essential for plugin functionality from being deleted while their plugin is active.
2016-05-10 13:11:53 +12:00
Shohei Tanaka
4c45e995d7
Fix again
...
Fix again, sorry.
2016-05-10 10:05:09 +09:00
Shohei Tanaka
e9c8b8b526
Error fixed
...
Fixed it.
2016-05-10 08:46:38 +09:00
Shohei Tanaka
2d5d7d1494
Japanese post code validation
...
Set Japanese post code validation.
Please check following site.
https://en.wikipedia.org/wiki/Postal_codes_in_Japan
2016-05-10 07:33:47 +09:00
Claudio Sanches
857471843a
Merge pull request #10874 from allendav/master
...
Add filtering for system status page tabs and actions too
2016-05-09 18:37:32 -03:00
Claudio Sanches
0918a6b6bc
Fixed batch errors response
2016-05-09 18:21:36 -03:00
Claudio Sanches
068b77cc43
Created WC_REST_Controller to allow batch create, update and delete items
2016-05-09 18:16:48 -03:00
Allen Snook
98a15d52d7
Changed action name to avoid potential filter collision
2016-05-09 13:42:27 -07:00
Claudio Sanches
17ccd60365
Merge pull request #10880 from shivapoudel/backbone-modal
...
Tweak - Use of single backbone modal script for shipping and order panel
2016-05-09 17:11:53 -03:00
Mike Jolley
7a723a8263
woocommerce_payment_token_set_default action
2016-05-09 18:05:34 +01:00
Mike Jolley
167df8acce
Tokens: Get cards on any screen
2016-05-09 17:36:40 +01:00
Mike Jolley
3db3f3796e
Clear item meta cache when adding new meta
2016-05-09 10:01:15 +01:00
Shiva Poudel
4c7a78ab31
Tweak - Use of single backbone modal script for shipping and order panel
2016-05-08 21:34:05 +05:45
Allen Snook
920f2a7809
Check against tabs list before considering action
2016-05-06 11:38:10 -07:00
Allen Snook
58a04a1922
Add filtering for system status page tabs and actions too
2016-05-06 11:27:56 -07:00
Mike Jolley
15402c2c3d
Store separate cache per package_key
...
Fixes #10872
2016-05-06 17:00:01 +01:00
Harald Rosberg
84887409a0
added a filter to make it possible to override if an attribute is variation by default, #10869
2016-05-06 13:22:32 +02:00
Claudio Sanches
02b74fc474
Keep consistent
2016-05-05 13:58:28 -03:00
Claudio Sanches
1a1c336468
[REST API] Check if tax exists before try to update
...
@mikejolley
2016-05-05 13:56:32 -03:00
Claudio Sanches
8fa6733a04
[REST API] Fixed missing variable
2016-05-05 13:34:28 -03:00
Claudio Sanches
af443ba831
[REST API] Fixed coding standards and docblocks in taxes controller
...
@mikejolley
2016-05-05 12:28:53 -03:00
Mike Jolley
edbb03a5d8
Only exclude variations with no price if filter is set
...
Closes #10854
2016-05-05 16:05:40 +01:00
Mike Jolley
ebf487f6c8
Fix key names
2016-05-05 13:44:48 +01:00
Mike Jolley
cb6f6e2adf
Filter out empty requests
2016-05-05 12:43:52 +01:00
Mike Jolley
407421ef22
Taxes bulk endpoint naming and handling
...
@claudiosmweb Added helper for create or update (handles both cases)
and renamed endpoint to update_items.
2016-05-05 11:19:35 +01:00
Mike Jolley
44b0059a06
Order by downloads remaining when getting permission so orders with same products over multiple lines links work
2016-05-05 09:28:36 +01:00
Claudio Sanches
65e7737956
Ignore trunk when showing update notice
2016-05-04 17:42:53 -03:00
Claudio Sanches
ebd4614b5d
[REST API] Less conditional code for bulk taxes
2016-05-04 17:19:09 -03:00
Claudio Sanches
ad0743efa5
[REST API] Added method to bulk update or create items
2016-05-04 17:14:23 -03:00
Mike Jolley
b39ec6b2d6
Fix undo on storefront
...
Closes #10816
2016-05-03 17:03:46 +01:00
Mike Jolley
fce8dc0868
Ensure alt text is set for product attachments
...
@claudiosmweb Fixes #10822
2016-05-03 16:41:51 +01:00
Mike Jolley
0782b869f5
Remove double filter on meta_key label
...
Fixes #10845
2016-05-03 16:01:16 +01:00
Mike Jolley
fd001669fe
woocommerce_email_order_items_args filter
...
Closes #10812
2016-05-03 15:40:34 +01:00
Mike Jolley
85faaf8b77
Remove old permissions when generating new download permissions
...
Closes #10839
2016-05-03 15:22:49 +01:00
Mike Jolley
e5bbd9c092
Check wc_get_shipping_zone does not exist
...
Closes #10843
2016-05-03 15:16:20 +01:00
Mike Jolley
f5e9875548
Allows stock status to be considered for availability and stock status on frontend.
...
Refactors code which make it so stock status was actually ignored if on
backorder. Fixes #10834
@claudiosmweb
2016-05-03 15:10:31 +01:00
Mike Jolley
c6975fa7d5
Merge branch 'pr/10750'
2016-05-03 12:01:09 +01:00
Mike Jolley
a0faffec85
Lang tweak
2016-05-03 12:01:03 +01:00
Mike Jolley
f35d874ede
Merge pull request #10838 from woothemes/issues/10837/fix-data-updater
...
Fixed fatal error caused by wrong class name to instantiate.
2016-05-03 11:55:18 +01:00
Mike Jolley
dea212b883
wc_round_tax_total filter
2016-05-03 11:34:27 +01:00
Akeda Bagus
098bc57947
Fixed fatal error caused by wrong class name to instantiate.
...
Class WC_Shipping_International_Delivery got renamed to
WC_Shipping_Legacy_International_Delivery per 119f19a
.
Fixes #10837 .
2016-05-02 23:32:38 +07:00
Mike Jolley
ad3f9d0754
Show payment date on order screen
...
Closes #10828
2016-05-02 12:02:07 +01:00
Mike Jolley
e53704431d
Don't use abstract
...
Fixes #10815
2016-04-29 15:28:09 +01:00
Mike Jolley
6a4a6d8471
Fix refund shipping
2016-04-29 11:44:28 +01:00
Claudio Sanches
552b40ad02
[REST API] Defined coupons default values
2016-04-28 18:38:35 -03:00
Claudio Sanches
c061d93d87
Added X-WC-Webhook-Source header in webhooks
2016-04-28 14:45:13 -03:00
Claudio Sanches
e7a632d489
Rename wc_sanitize_postcode() to wc_normalize_postcode()
...
cc @mikejolley
2016-04-28 13:51:43 -03:00
Matheus Lopes
f0c26b7439
Refatoring main code
2016-04-28 13:37:30 -03:00
Claudio Sanches
84f91cad76
Merge branch 'master' of github.com:woothemes/woocommerce
2016-04-28 13:24:36 -03:00
Claudio Sanches
3fc2c82aaf
[API] Fixed variations backorders
2016-04-28 13:24:20 -03:00
Lee Willis
e5b4932495
Fix typo
2016-04-28 13:35:11 +01:00
Mike Jolley
43af207558
Output buffering and redirects after turning off legacy
...
Closes #10806
2016-04-28 12:36:51 +01:00
Claudio Sanches
fb62b9d511
Removed woocommerce_sanitize_postcode filter
2016-04-27 20:59:48 -03:00
Claudio Sanches
83c470987f
Sanitize postcodes before comparisons, closes #10808
2016-04-27 20:43:48 -03:00
Claudio Sanches
9a4dae158f
Introduces woocommerce_format_postcode filter
2016-04-27 19:20:24 -03:00
Claudio Sanches
133c904d1a
Remove product SKU if is not unique while untrashing products, closes #10807
2016-04-27 16:06:32 -03:00
Mike Jolley
d6a085b5ae
Improve lost password flow
...
@claudiosmweb Fixes #10785
Add confirmation and explanation after initial reset.
Also splits template files into lost password, reset password, and
confirmation for clarity.
2016-04-27 16:00:30 +01:00
Mike Jolley
020b8c92c6
Fix URLs with quot; characters
...
Fixes #10795
2016-04-27 15:24:10 +01:00
Mike Jolley
e21313a237
Check for is_mysql
...
Closes #10793
2016-04-27 12:03:52 +01:00
Fredrik Forsmo
398ab8a016
Add `public` keyword to public various methods
2016-04-26 19:26:56 +02:00
Fredrik Forsmo
81bc211c57
Add `public` keyword to public email methods
2016-04-26 18:26:58 +02:00
Manos Psychogyiopoulos
a203c34474
fix undefined package notice in legacy flat rate method
2016-04-26 16:21:42 +03:00
Matheus Lopes
71a46df6b0
Editing titles
2016-04-25 13:51:40 -03:00
Mike Jolley
2b1442c3f0
Added get_rate_id() method for consistent rate nams
2016-04-25 17:06:38 +01:00
Mike Jolley
693a5ab34a
Missing script dependencies
2016-04-25 14:40:08 +01:00
Mike Jolley
9aace06536
Cheques for 'murica
...
Closes #10779
2016-04-25 14:25:39 +01:00
Mike Jolley
6f42514afb
Pass false for product in attribute label filter
...
Closes #10773
2016-04-25 14:11:07 +01:00
Mike Jolley
87dc31ffac
Force name to be set
...
Closes #10782
2016-04-25 13:25:15 +01:00
Mike Jolley
4468d34548
Show invoice email in dropdown
2016-04-25 13:22:31 +01:00
Mike Jolley
29c6acf767
Used positional placeholders in strings where the order of strings may require modification in the locale.
...
Closes #10775
2016-04-25 13:07:41 +01:00
Pascal Birchler
cf80c5855e
Do not filter the embed template path
2016-04-25 11:27:53 +02:00
Matheus Martins
303787b29c
Fixing grammar error
...
Just fixing a little grammar error
2016-04-23 01:32:22 -03:00
Claudio Sanches
653f79b25b
Fixed method retuning value in write context in includes/class-wc-checkout.php
2016-04-22 15:03:10 -03:00
Daniel Hüsken
35a1cd4736
Add menu order to categories and attributes
2016-04-22 19:55:52 +02:00
Claudio Sanches
505dfd7672
Fixed i18n functions
2016-04-22 14:08:44 -03:00
Mike Jolley
9a3aa8e498
Further woocommerce_termmeta removal
2016-04-22 17:43:07 +01:00
Mike Jolley
0ddce2aa65
Correct $matches variable name
2016-04-22 17:08:16 +01:00
Mike Jolley
9fb5fa9efd
@since 2.6
2016-04-22 16:47:54 +01:00
Mike Jolley
cfe7340f45
Use wc_postcode_location_matcher for zones too
2016-04-22 15:45:34 +01:00
Mike Jolley
23271af0f6
Fixed comparisons for ranges and wildcards
2016-04-22 15:42:20 +01:00
Mike Jolley
558211a869
Split postcode matching queries to avoid expansion
2016-04-22 14:02:36 +01:00
Mike Jolley
b0dfb55710
Tweak account settings grouping
...
Closes #10766
2016-04-22 12:29:06 +01:00
Mike Jolley
10f16f074c
Further zone tweaks to delete new rows on cancel
2016-04-22 12:24:20 +01:00
Mike Jolley
a9b8101e48
No blank slate if methods exist
...
Closes #10757
2016-04-22 12:24:20 +01:00
Shiva Poudel
8fd8c58aaa
Change Codex docs to https support
2016-04-22 00:26:15 +05:45
Mike Jolley
a8b2a5668f
Added cancel button to shipping zones UI
...
Closes #10754
2016-04-21 16:18:15 +01:00
Mike Jolley
c71e17a71b
Don't duplicate SKUs
...
Closes #10751
2016-04-21 14:03:20 +01:00
Mike Jolley
0bad68f218
Fixed calculate_extra_shipping
2016-04-21 13:59:13 +01:00
Mike Jolley
0425ad5060
Check for set but non existing pages
...
Closes #10758
2016-04-21 12:23:50 +01:00
Mike Jolley
fbca27b3d4
Tweak postcode example text
...
Closes #10755
2016-04-21 12:15:17 +01:00
Mike Jolley
39e8d981a0
Support order items when calling get_permalink on a variation.
2016-04-21 10:36:46 +01:00
Fredrik Forsmo
4e19676acf
Add `public` to `needs_shipping_address` method
2016-04-20 21:05:23 +02:00
Matheus Lopes
2c191f5bb7
Enable countries exceptions to Billing and Shipping
2016-04-20 14:55:05 -03:00
Mike Jolley
7c61e9be6c
Merge branch 'pr/10746'
2016-04-20 15:03:20 +01:00
Mike Jolley
412195905b
Pass package in all add_rate calls
2016-04-20 15:03:10 +01:00
Mike Jolley
4901117f64
Data must exist
2016-04-20 15:02:41 +01:00