Max Rice
27163ceec0
REST API base class tweaks
2013-11-04 01:36:16 -05:00
Max Rice
25407c284e
Trash posts by default instead of permanently deleting
2013-11-04 01:34:53 -05:00
Max Rice
2bb83bb1d8
Make WC_Comments::exclude_order_comments static
...
The WC_Comments class is an orphaned global so there's no way for other
code to access it in order to remove the `comment_clauses` filter. This
changes the add_filter and associated method to static so other code
can properly remove the filter for querying order notes
2013-11-04 01:34:21 -05:00
Max Rice
7caffcd8f2
Add REST API base class
2013-11-03 20:06:36 -05:00
Max Rice
45fa450760
Add REST API authentication class
2013-11-03 20:06:28 -05:00
thenbrent
e63021a2ca
Fix "non-static method called statically" notice
2013-11-03 16:54:07 -08:00
thenbrent
d9639947da
Filter gateways for add_payment_method form
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
a1ca487e73
Add a notice that payment method has been added
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
1e0cf3087e
Redirect to My Account page after adding method
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
0e4cd125c5
Call add_payment_method_action()
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
e80f71d73c
Improve form-add-payment-method.php error & button
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
4f825eb36e
Only display add_payment_method() when logged in
...
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
ca01d7b1a5
Fix up markup on form-add-payment-method.php
...
So that checkout.js correctly displays payment method's fields.
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent
ac548d6610
Add form-add-payment-method.php
2013-11-03 16:53:30 -08:00
thenbrent
237b5778a3
Add add_payment_method_action() handler
...
Part of #3396
2013-11-03 16:53:24 -08:00
thenbrent
1bbe03d139
Add new /checkout/add-payment-method/ endpoint
...
Part of #3396
2013-11-03 16:53:14 -08:00
Max Rice
1d113b3e39
Add REST API endpoints/methods to WC API class
2013-11-03 19:29:45 -05:00
Max Rice
4cc1847a66
Remove unused WP_JSON_Posts class
2013-11-03 19:26:29 -05:00
Max Rice
4daaf22304
Add REST API settings stub
2013-11-03 18:55:34 -05:00
Max Rice
a4a8b5e5c0
Add required global functions for WP_JSON_Server class
2013-11-03 18:54:56 -05:00
Max Rice
65f48e8456
Modify WP_JSON_Server to allow authentication
2013-11-03 18:53:35 -05:00
Kathy Darling
a97e1a697d
Add a custom trigger handler based on the value of select#field_to_edit
2013-11-03 18:50:24 +01:00
Max Rice
a0ddef247d
Fix strict standards warning
2013-11-02 18:12:50 -04:00
Max Rice
f6ea020e8d
Add WP JSON API Library
2013-11-02 01:16:45 -04:00
Coen Jacobs
c31a48fa6c
Merge pull request #4049 from thenbrent/fix_deprecated_class
...
Fix use of `__CLASS__` when not in class
2013-11-01 15:19:11 -07:00
thenbrent
dae90d0dd0
Fix use of __CLASS__ when not in class
2013-11-01 15:00:09 -07:00
Coen Jacobs
16162ca8db
We'll let autoload handle this file loading
...
Revert: 1428bf8f9c
2013-11-01 21:05:02 +01:00
thenbrent
9716c985cd
Fix markup on form-pay.php
...
Payment method fields were not displaying on the "Checkout -> Pay" page
because checkout.js was using a input#payment_method_{name} selector, which
worked fine with the payment method markup used in the review-order.php template,
but not with the markup used in the form-pay.php template.
This moves the #payment_method_{name} attribute from the <li/> elements to the
<input/> element so that checkout.js correctly display's payment method fields.
2013-11-01 11:54:29 -07:00
Scott Basgaard
5b4ef0b8bd
Class name consistency for woocommerce_attributes > product_attributes. See #4019
2013-11-01 13:06:14 -04:00
Coen Jacobs
1428bf8f9c
Only load integration abstract when needed #3169
2013-11-01 17:39:33 +01:00
Coen Jacobs
ae64e20bb3
Take out default variations #3169
2013-11-01 17:33:33 +01:00
Mike Jolley
5faf171a48
Merge pull request #4030 from bernardpeh/woocommerce-dev
...
polish up attributes section confusing tips.
2013-11-01 08:47:04 -07:00
Mike Jolley
ab94de75d6
Merge pull request #4038 from emzo/widget-product-categories-orderby
...
Changed label of orderby setting in product category widget.
2013-11-01 07:02:38 -07:00
Mike Jolley
e9c130145a
Merge pull request #4031 from helgatheviking/sync/add-child-to-action
...
pass $children variable (variations) to the woocommerce_variable_product...
2013-11-01 07:01:28 -07:00
Emyr Thomas
ba3282c737
Changed label of orderby setting in product category widget.
2013-10-31 21:42:31 +00:00
Mike Jolley
19fcf30a66
Option to limit reviews to purchasers. Closes #4021
2013-10-31 17:37:36 +00:00
Mike Jolley
3c80c9d655
Dump pre 2.0 readme
2013-10-31 16:26:51 +00:00
Mike Jolley
b4d1c764d5
Move average rating outside of hidden tab. Closes #3867 .
2013-10-31 16:26:20 +00:00
Mike Jolley
447b9d8b4f
Unlike the suggestion in #3965 , the HTML email preview should preview the layout only (selected colours etc). Content is irrelevant.
...
Closes #3965
2013-10-31 15:07:43 +00:00
Mike Jolley
f6b317f199
Labels need to be clickable
2013-10-31 12:01:11 +00:00
Kathy Darling
b444b42275
pass $children variable (variations) to the woocommerce_variable_product_sync hook
2013-10-31 09:17:00 +01:00
Bernard Peh
f4291f9333
polish up attributes section confusing tips.
2013-10-31 17:14:35 +11:00
Mike Jolley
bbbcae2027
Merge pull request #4028 from ragulka/estonian-translation
...
Update estonian translation
2013-10-30 08:36:17 -07:00
Mike Jolley
67c7671bb2
woocommerce_apply_base_tax_for_local_pickup when no methods are chosen yet
2013-10-30 15:30:20 +00:00
Illimar Tambek
10715c5db6
Update estonina translation
2013-10-30 16:08:24 +02:00
Mike Jolley
e16dc97afb
Merge pull request #4015 from RistoNiinemets/master
...
use wooocommerce_locate_template
2013-10-30 06:07:15 -07:00
RistoNiinemets
ff26037372
replace function with new filter
2013-10-29 20:16:12 +02:00
RistoNiinemets
6a2972f5f3
Merge remote-tracking branch 'upstream/master'
2013-10-29 20:11:00 +02:00
Mike Jolley
95c0a67fdf
Merge pull request #4017 from scottbasgaard/master
...
Define line_subtotal and line_subtotal_tax to avoid PHP notice in cart.
2013-10-29 09:49:55 -07:00
Mike Jolley
f9248a7888
Merge pull request #4018 from dimitrov-adrian/patch-7
...
Massive BG language update
2013-10-29 09:49:12 -07:00