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
Tamara Zuk
a0ce139f7d
Coding Standards: Admin - Settings
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Tamara Zuk
0ab6b44bfa
Coding Standards: Admin - Reports
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:19:13 -04:00
Tamara Zuk
fc0e7adacb
Coding Standards: Admin - Meta boxes
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04:00
Tamara Zuk
ce037af961
Coding Standards: Admin - Importers
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:17:58 -04:00
Tamara Zuk
9c7826319c
Coding Standards: Abstract classes
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 01:49:58 -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
Mike Jolley
50a0577b81
Separate inherited meta data from variation level meta data to stop bubbling up.
...
Fixes #6065
2014-08-28 15:38:51 +01:00
Mike Jolley
7b73027417
Remove unused method
...
Closes #6097
2014-08-28 12:20:07 +01:00
Mike Jolley
4a73cb4e7e
Merge pull request #6112 from axisthemes/replacement
...
Replacement for core Tweaks and fixes
2014-08-28 12:07:05 +01:00
Mike Jolley
d526635609
Merge pull request #6096 from axistools/active-plugins
...
System Status report page
2014-08-28 11:44:49 +01:00
Mike Jolley
5d8d30bba3
Merge pull request #6108 from barrykooij/fix/6095
...
Only add the 'do_not_allow' if target user ($args[0]) is set.
2014-08-28 10:08:09 +01:00
Mike Jolley
83516086fb
Merge pull request #6111 from thenbrent/remove_not_remote
...
Fix "remote" typo - should be "remove" in WC 2.2
2014-08-28 10:07:11 +01:00
shivapoudel
c37f7a16e8
use of is_rtl() which were missed
2014-08-28 14:40:36 +05:45
shivapoudel
71986a10d8
Better href method applied
2014-08-28 14:38:14 +05:45
justinstern
8417209d6c
Improve, fix, WC_Payment_Gateway::get_transaction_url()
...
* Make the new get_transaction_url() method a bit more
flexible/convenient by passing in the full order object rather than
transaction_id
* Fix bug with core PayPal gateway get_transaction_url() override
2014-08-27 21:51:03 -04:00
shivapoudel
97ea988843
Remove unusual css stuff (i.e ;)
2014-08-28 06:40:32 +05:45
shivapoudel
d4081a37b8
Remove extra line
2014-08-28 06:39:32 +05:45
shivapoudel
768a4f89ed
Added '<hr />' before return-to-dashboard
2014-08-28 04:39:09 +05:45
shivapoudel
cf42423b80
better using printf()
2014-08-28 02:41:32 +05:45
shivapoudel
4a4673be97
Clean WooCommerce actions in Welcome Page
2014-08-28 02:34:52 +05:45
shivapoudel
716d3f1763
removed in Welcome page
2014-08-28 02:31:17 +05:45
shivapoudel
db852e0f10
Better Screen Help adaptation
2014-08-28 02:28:12 +05:45
shivapoudel
7180e50ece
Removed unused lines
2014-08-28 02:21:04 +05:45
shivapoudel
1e734b1ab7
better _doing_it_wrong()
2014-08-28 02:18:16 +05:45
shivapoudel
0224a3e4ec
Added the use of is_rtl()
2014-08-28 02:11:45 +05:45
thenbrent
30e95ab16e
Fix "remote" typo - should be "remove"
2014-08-27 13:05:35 -07:00
Barry Kooij
f77395c572
Only add the 'do_not_allow' if target user ($args[0]) is set.
...
Fixes #6095 .
2014-08-27 20:18:44 +02:00
Shiva Poudel
34d1454439
Time constant in theme set_transient too...
2014-08-27 19:22:03 +05:45
Shiva Poudel
18012b70c0
Using Time Constants to set transient
...
Rather that '60*60*12` we can use `DAY_IN_SECONDS` which is equivalent of `60*60*24`. Let's use one day rather than (1/2)day as it seems better.
2014-08-26 23:47:41 +05:45
Shiva Poudel
0e313e7b58
Fix for Unnecessary spaces used
2014-08-26 23:13:05 +05:45
Shiva Poudel
c961659eca
Fix some duplicates entry.
2014-08-26 23:07:35 +05:45
Shiva Poudel
e73721c58e
Semantic script adapted
...
@mikejolly I have used id `#status` instead of class `wc_status_table`. Look this `jQuery( '#status thead, #status tbody' )....` and `<table class="wc_status_table widefat" cellspacing="0" id="status">`. Thus will not harm anything. Additionally, I have adapted the sementatic jQuery script here.
2014-08-26 22:58:39 +05:45
Shiva Poudel
b201e8d046
Better Text-Domain maintained...
2014-08-26 22:46:31 +05:45
Shiva Poudel
0f113a5750
Added WP Active Plugins In System Status
...
Although there is list of plugins which were installed but will be informative if number of plugins is displayed before getting list. This will count and display the number of plugin installed and used in the environment section.
2014-08-26 22:39:25 +05:45
Mike Jolley
602254851a
Reset fees before calculating/adding them again
...
Fixes #6090
@claudiosmweb Do you see any issues with this?
2014-08-26 15:39:19 +01:00
Mike Jolley
f33d4200d6
Merge pull request #6084 from krautnerds/rest-api-fix
...
WC 2.2 Extend REST API to access also hidden order item meta
2014-08-26 12:23:26 +01:00
Mike Jolley
be90d3e210
Merge pull request #6085 from krautnerds/jquery-fix
...
Rewrote old JS to jQuery and allow usage of multiple widgets
2014-08-26 12:23:00 +01:00
Mike Jolley
3d69dfadbd
Merge pull request #6088 from shivapoudel/patch-1
...
Better to use Time Constants since WordPress 3.5
2014-08-26 12:22:12 +01:00
thenbrent
56c7d5fe96
Don't create redundant $payment_method var
2014-08-25 12:11:39 -07:00
Shiva Poudel
cbb94f0d11
Better to use Time Constants since WordPress 3.5
...
Reference http://codex.wordpress.org/Transients_API#Using_Time_Constants
2014-08-25 11:16:39 +05:45
Florian Ludwig
3fadc14085
Reduce confusion on using the all_meta filter
2014-08-23 19:07:10 +02:00
Florian Ludwig
82f53037be
Implemented more general filter array
2014-08-23 00:11:03 +02:00
Florian Ludwig
83ed3aa534
Fixed jQuery call
2014-08-22 23:01:25 +02:00
Florian Ludwig
526b677bcf
Extend REST API to access also hidden order item meta
2014-08-22 21:42:28 +02:00
Florian Ludwig
f6294d24be
Rewrote old JS to jQuery and allow usage of multiple product categories widgets on one page
2014-08-22 21:39:10 +02:00
Mike Jolley
72f9374902
Merge pull request #6068 from bryceadams/master
...
Added Lao Kip Currency & Before / After Downloads actions
2014-08-22 10:47:02 +01:00
Mike Jolley
198f00d6b5
Merge pull request #6072 from woothemes/feature-paypal-transactin-url-sandbox
...
Add sandbox support for paypal transaction url
2014-08-22 10:43:28 +01:00
Mike Jolley
96e92d4a98
Merge pull request #6067 from axistools/NPR-Currency
...
Added Nepali(NPR) Currency and Symbol.
2014-08-22 10:27:42 +01:00
claudiosmweb
6cc401b70f
Added paypal refund reason/note
...
cc @mikejolley
2014-08-21 20:22:28 -03:00
claudiosmweb
ff7f1435ab
added sandbox support for paypal transaction url
2014-08-21 19:48:28 -03:00
claudiosmweb
f4f5f061d8
fixed the paypal process_refund() method
2014-08-21 16:17:12 -03:00
claudiosmweb
b08a0cf1f3
stopped deprecated warnings about like_escape() function since WP 4.0
2014-08-21 14:00:39 -03:00
Mike Jolley
d87688f857
Simplfy typo
2014-08-21 17:03:16 +01:00
Bryce
04234a4968
Added Lao Kip Currency
2014-08-21 11:42:46 +07:00
Shiva Poudel
547b96f54d
Tab index fix for PYG Currency and Symbol.
2014-08-21 10:13:39 +05:45
Shiva Poudel
ee7755fd0e
Added Nepali Currency and Symbol.
2014-08-21 10:10:51 +05:45
Mike Jolley
c829788ebc
Set simplify user agent
2014-08-20 16:47:01 +01:00
claudiosmweb
aeaa1577e3
fixed wc_get_customer_available_downloads() query, closes #6057
2014-08-19 14:50:27 -03:00
Mike Jolley
474cba9b87
Merge pull request #6052 from barrykooij/refactor/get_product
...
Renamed get_product to wc_get_product
2014-08-19 11:51:20 +01:00
Barry Kooij
fde10a967b
Soft deprecated get_product function
2014-08-19 12:19:26 +02:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Barry Kooij
7cd2e8c10a
Renamed get_product to wc_get_product
2014-08-19 12:05:02 +02:00
Mike Jolley
16754a7d01
Add file to downloads array Closes #6044
2014-08-19 11:01:55 +01:00
Mike Jolley
c6fe731337
Fix password reset
...
Fixes #6049
2014-08-19 10:43:51 +01:00