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
Mike Jolley
86d3fc227f
Merge pull request #6155 from thenbrent/paypal_api_creds_help
...
Add a link to PayPal's guide on API Creds
2014-09-03 09:57:38 +01:00
thenbrent
ac80c8b51c
Add a link to PayPal's guide on API Creds
2014-09-02 14:44:17 -07:00
claudiosmweb
78c7fefe3e
fixed some docblocks
2014-09-02 16:50:19 -03:00
thenbrent
3acfb14214
Store order's editable status in property
...
To save overhead of a function call
2014-09-02 12:27:26 -07:00
thenbrent
4dea71314f
Add 'wc_order_is_editable' filter
2014-09-02 11:49:05 -07: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
08af487754
added simplify pre-orders support
2014-09-02 11:11:21 -03:00
claudiosmweb
54aa162fb4
renamed the simplify "subscriptions" class to "addons"
2014-09-02 10:21:42 -03:00
Mike Jolley
c3b2a24933
Merge pull request #6147 from maxrice/feature-3176-unit-tests
...
Add Unit Testing Suite
2014-09-02 09:15:50 +01:00
shivapoudel
1ae67fb37e
Change title for API Docs #6132
2014-09-02 00:02:51 +05:45
shivapoudel
86c1e7ed01
Change title for Documentation #6132
2014-09-02 00:02:11 +05:45
claudiosmweb
063d1eb349
fixed the access permissions
2014-09-01 12:44:51 -03:00
claudiosmweb
cd154a30ef
improved the line items backward compatibility, closes #6109
2014-09-01 12:35:04 -03:00
Mike Jolley
689272f9b9
Change title text from #6132
2014-09-01 12:46:37 +01:00
Mike Jolley
f9af86ee1d
Merge pull request #6132 from axisthemes/action-links
...
Action links Has now Better Look in Multisite Too.
2014-09-01 12:44:34 +01:00
Mike Jolley
de4eaeac89
Merge pull request #6137 from shivapoudel/patch-1
...
Time Constant HOUR_IN_SECONDS
2014-09-01 12:36:14 +01:00
Max Rice
38dd928f23
[ #3176 ] REST API webhooks endpoint tweaks from unit test
2014-09-01 03:27:19 -04:00
Max Rice
456d10bcec
REST API: allow coupon description in create/edit coupon
2014-08-30 18:43:47 -04:00
Max Rice
53b53114a7
REST API: Fix edit coupon typos
2014-08-30 18:43:26 -04:00
Max Rice
28536f6bd8
REST API: allow adding/updating order meta
...
When creating or updating orders, non-protected scalar meta can now be
set.
2014-08-30 16:17:52 -04:00
Max Rice
ee8bf5bf18
REST API: tweak filter name from #6084
2014-08-30 16:16:51 -04:00
Max Rice
744c3767c3
REST API: ensure consistency in create/edit data formats
...
A client should be able to GET a resource, edit a single item and PUT
it back to the server without having to perform any additional
transformation. This commit ensures all PUT/POST endpoints adhere to
this standard.
2014-08-30 15:50:40 -04:00
Max Rice
e1a542498d
Fix notice introduced in #6084
2014-08-30 15:14:59 -04:00
Max Rice
722f888453
REST API: Add field restriction to new endpoints
2014-08-30 15:05:36 -04:00
Max Rice
ec0f92878e
REST API: Add order statuses endpoint
2014-08-30 15:05:31 -04:00
Max Rice
f87ccd364c
REST API: Mitigate possible JSONP flash attacks
...
see http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
2014-08-30 15:05:25 -04:00
Max Rice
b1b7d6257b
REST API: Fix JSONP content-type
2014-08-30 15:05:12 -04:00
Shiva Poudel
7ddedad4a7
Time Constant HOUR_IN_SECONDS
...
_wc_activation_redirect transient have HOUR_IN_SECONDS instead `60*60`.
2014-08-31 00:38:48 +05:45
Max Rice
5b68ec6c80
Backport get_avatar_url() fix to v1 REST API
2014-08-30 13:38:45 -04:00
shivapoudel
513cd24751
Filter hook is not necessary for plugin_action_links
2014-08-30 00:50:09 +05:45
shivapoudel
c6c7353d4a
Filter hook is not necessary for plugin_row_meta
2014-08-30 00:49:25 +05:45
shivapoudel
a3107a03a9
Reverted Documentation to Docs
2014-08-30 00:47:00 +05:45
shivapoudel
e9877726a1
Documentation will be better than Short Docs
2014-08-30 00:33:00 +05:45
shivapoudel
390e178962
Added API Docs too
2014-08-30 00:27:36 +05:45
shivapoudel
d965f797c2
Fixed the missing comma :)
2014-08-29 23:46:31 +05:45
shivapoudel
40d66b2f57
Added Docs and Support URL in plugin_row_meta which was removed from plugin_action_links
2014-08-29 23:39:17 +05:45
shivapoudel
ec64534cb7
Removed docs and support Url from plugin_action_links so that we can add it in plugin_row_meta
2014-08-29 23:28:06 +05:45
shivapoudel
a5fdf5aa76
Moved the action_links from final class to WC_INSTALL class
2014-08-29 23:19:01 +05:45
shivapoudel
677f91d1ab
Added some useful comments on Class Constructor Method
2014-08-29 23:13:23 +05:45
Mike Jolley
a1b78ec918
Add second orderby parameter when sorting by price (ID)
...
Fixes #6121
2014-08-29 10:26:21 +01:00
Mike Jolley
b7aacfcb84
Merge pull request #6120 from thenbrent/protected_variation_meta_data
...
Allow WC_Product_Variation children to extend meta
2014-08-29 09:48:03 +01: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
Mike Jolley
ca7f7955d9
Merge pull request #6128 from thenbrent/fix_refund_button
...
Only display "Refund" when unrefunded order amount > 0
2014-08-29 09:46:16 +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
claudiosmweb
e1e1c14ae7
fixed errors while adding variable products with non-taxonomy attributes, closes #6082
2014-08-28 16:25:08 -03:00
thenbrent
1a15cb03bd
Allow WC_Product_Variation children to extend meta
...
When SHA: 50a0577b81
introduced `$variation_level_meta_data` and
`$variation_inherited_meta_data`, it set their access to `private`.
Child classes of `WC_Product_Variation` should be able to extend these
properties to allow them to take advantage of the parent's `__isset()`
and `__get()` methods.
Related to #6065
2014-08-28 11:30:11 -07:00