Justin Shreve
e3b1f6dbc9
A few fixes to customer CRUD:
...
* Implement some missing legacy functions
* Stop calling legacy functions from some pages
* Prevent extra meta from being deleted, unless requested by the CRUD (was causing problems with user/customer)
* Prevent save when loading from session AND logged out
2016-08-04 13:13:07 -07:00
Justin Shreve
f4353f6aa9
Don't save to the database if we are working with sessions, save to the session when save() is called instead.
2016-08-04 11:39:34 -07:00
Justin Shreve
47c299583d
Merge pull request #11618 from woothemes/update/wp-admin-system-status
...
Update wp-admin's system status page to share backend code with the API
2016-08-04 10:55:19 -07:00
Mike Jolley
8867368b97
Fix unit tests
2016-08-04 17:24:23 +01:00
Mike Jolley
a3ae757106
Make set/get_order_id methods private
2016-08-04 17:05:05 +01:00
Mike Jolley
b0963ddb0d
Merge pull request #11176 from woothemes/add/10954-shipping-zones-api
...
Add Shipping Zones API Endpoints.
2016-08-04 15:45:23 +01:00
Mike Jolley
387cd745c2
Add missing textdomains
2016-08-04 14:43:34 +01:00
Mike Jolley
c61c08f405
Merge branch 'master' into tax-rate-auto-ordering
...
# Conflicts:
# assets/css/admin.css
2016-08-04 14:06:52 +01:00
Mike Jolley
644cf79866
Move all query string vars to form in price widget using wc_query_string_form_fields
...
Closes #11593
@claudiosmweb @justinshreve look fine to you?
2016-08-04 13:37:39 +01:00
Mike Jolley
75895f71f9
made comparison strict
...
#11326
2016-08-04 13:09:21 +01:00
Mike Jolley
1bc9da3e91
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# includes/class-wc-coupon.php
2016-08-04 12:10:04 +01:00
Mike Jolley
8e6ca3effe
Merge pull request #11107 from helgatheviking/sortable-select2
...
add drag and drop support to select2 inputs. closes #11106
2016-08-04 11:32:46 +01:00
Mike Jolley
1b71c1b0e7
Merge pull request #11619 from woothemes/fix/product-bulk-edit-webhook
...
Make sure product update webhook fires on bulk and quick edit.
2016-08-04 11:31:12 +01:00
Mike Jolley
475d8fc5ed
[2.6] More password check to else block
...
Closes #11623
2016-08-04 11:27:41 +01:00
Mike Jolley
c416a6d2d1
Merge pull request #11622 from WPprodigy/fix-responsive-category-images
...
Add responsive image markup for category thumbnails
2016-08-04 11:19:40 +01:00
Mike Jolley
fea9a3bce8
Merge pull request #11615 from woothemes/variable-weight-display-10621
...
Show variable weights/dimensions even when parent values are not set.
2016-08-04 11:12:30 +01:00
Mike Jolley
b0064bddf6
Remove boolval
2016-08-04 11:12:14 +01:00
Mike Jolley
f24666adc3
Merge pull request #11624 from WPprodigy/forum-support-author
...
Readme update
2016-08-04 11:10:00 +01:00
Caleb Burks
e02d4b91ff
Readme update
...
For forum support stuffs
2016-08-04 03:33:43 -04:00
Caleb Burks
a32f65df60
Formatting fix
2016-08-04 03:28:03 -04:00
Caleb Burks
abc954dc83
Add responsive image markup to category thumbnails
2016-08-04 03:16:58 -04:00
Justin Shreve
cad08747b9
Add bulk edit and quick edit to the list of hooks for the product.updated webhook.
2016-08-03 13:32:02 -07:00
Justin Shreve
8df6ff3c7b
Convert wp-admin's system status page to use the same backend code as the API.
2016-08-03 10:50:47 -07:00
Mike Jolley
30690a910e
Merge pull request #11614 from swoboda/master
...
ZIP Code formatting for Poland
2016-08-03 16:08:24 +01:00
Mike Jolley
5a9dacd595
Show variable weights/dimensions even when parent values are not set.
2016-08-03 16:07:34 +01:00
Maciej Swoboda
24235564d5
ZIP Code formatting for Poland
...
In Poland we use ZIP code formatting: XX-XXX. So the "-" sign should
not be removed.
2016-08-03 16:06:30 +02:00
Mike Jolley
f694f297e8
Use get_id()
2016-08-03 12:57:32 +01:00
Mike Jolley
b8db53c2c1
made set_type private
2016-08-03 12:54:16 +01:00
Mike Jolley
a053d234c9
get_order() method
2016-08-03 12:52:51 +01:00
Mike Jolley
1310ff09b5
Deprecated function replacements
2016-08-03 12:52:45 +01:00
Mike Jolley
837e08143b
Merge branch 'master' into orders-crud-classes
...
# Conflicts:
# includes/abstracts/abstract-wc-order.php
2016-08-03 12:32:27 +01:00
opportus
fc5fe55bd5
seo tweaks - revision2
2016-08-02 23:17:15 +02:00
Claudio Sanches
4271617c79
Merge pull request #11594 from woothemes/multisite-login-11409
...
Add user to site on login
2016-08-02 16:00:33 -03:00
Justin Shreve
2479d68201
Merge pull request #11501 from woothemes/payment-token-checkout-update-11492
...
Set user's selected payment gateway after checkout fragment refresh (#11492 )
2016-08-02 11:09:11 -07:00
Justin Shreve
5d521b0da5
Fix product review endpoint based on PR feedback: Code cleanup, prepare_item_for_database like WP-API's comments does, better error handling on create, required arg simplification, trash support for reviews.
2016-08-02 11:03:44 -07:00
Justin Shreve
7529b0b3e9
Code cleanup
2016-08-02 10:30:43 -07:00
Justin Shreve
a305da25ef
Add batch support to the product reviews endpoint.
2016-08-02 10:30:43 -07:00
Justin Shreve
b8ec255ea8
First pass at a product reviews REST API that supports creating/updating/deleting product reviews.
2016-08-02 10:30:43 -07:00
Mike Jolley
ffb74a7b09
Add user to site on login
...
Closes #11409
2016-08-02 18:28:31 +01:00
Justin Shreve
9396c5436b
Make sure that the create shipping zone uses the correct permissions function. Also makes sure creating the shipping zone returns 201, with the location of the new entity, like other endpoints.
2016-08-02 10:26:26 -07:00
Justin Shreve
e761edd8d9
Make sure to load abstract-wc-rest-shipping-zones-controller.php
2016-08-02 10:10:47 -07:00
Justin Shreve
9a03eb4407
Use the new API test base for shipping zone tests.
2016-08-02 10:10:47 -07:00
Justin Shreve
1ba2c6e4d6
Line break on spy-server
2016-08-02 10:10:47 -07:00
Justin Shreve
069ee3b9ac
Add an error check when creating a new shipping zone via the API, incase create() fails.
2016-08-02 10:10:47 -07:00
Justin Shreve
33e0b367ac
Add new line at end of files.
2016-08-02 10:10:47 -07:00
Jeff Stieler
ea4285b1ec
Ensure “rest of the world” zone retrieval doesn’t fail by using the core method instead of the REST controller wrapper.
2016-08-02 10:10:47 -07:00
Jeff Stieler
105064ad26
Test coverage for getting a single shipping zone method.
2016-08-02 10:10:47 -07:00
Jeff Stieler
bb23d2eaae
Ensure _links are added to the single shipping zone method endpoint.
2016-08-02 10:10:47 -07:00
Jeff Stieler
e007bc1778
Test coverage for all shipping zone methods endpoint.
2016-08-02 10:10:47 -07:00
Jeff Stieler
5e7c495e10
Add “rest of the world” zone to API response.
2016-08-02 10:10:47 -07:00