Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Chris Marslender
81d1136169
Avoid core list class, so that small screen styling doesn't break
2017-11-17 17:06:24 -07:00
Chris Marslender
d94f69d114
Set up the dashboard class to load the network order widget on network admin
2017-11-17 17:00:48 -07:00
Chris Marslender
24e9811cbd
Move network order styles to their own file, and load this with the widget
2017-11-17 16:44:17 -07:00
Chris Marslender
678e5c7702
Change `buyer` to `customer` in the API response
2017-11-17 15:59:18 -07:00
Chris Marslender
23ef2af311
Prefix script with `wc-`
2017-11-17 15:54:44 -07:00
Chris Marslender
a8ac58af79
Make table headings translatable
2017-11-14 19:05:44 -07:00
Chris Marslender
e953bd3e68
Coding standards fixes for the API endpoint
2017-11-14 19:04:45 -07:00
Chris Marslender
2731de7461
Updates for coding standards
2017-11-14 18:59:20 -07:00
Chris Marslender
77721a1637
When a user can't access any sites, or no orders are returned, show "no orders found" message
2017-11-06 10:44:55 -07:00
Chris Marslender
68e42ab6a2
Add loading indicator for the network order widget
2017-11-06 10:32:30 -07:00
Chris Marslender
f4ad8b8089
Enqueue .min.js version of network order script if SCRIPT_DEBUG not enabled
2017-11-06 10:08:07 -07:00
Chris Marslender
68f309203d
Use WC_VERSION for js version on enqueue
2017-11-06 10:04:43 -07:00
Chris Marslender
a7f1894847
Leave the wp_enqueue_script for network orders in the widget callback, so its always on any page with the widget
2017-11-06 10:02:42 -07:00
Chris Marslender
54c7165e16
Only add the network order widget/register the route when multisite is active
2017-11-06 09:30:44 -07:00
Chris Marslender
2cbdb5b1fe
Pass actual user blogs to the front end and make sure that the deferreds resolve even if a user doesn't have access to a site that we ask for
2017-10-24 20:45:34 -07:00
Chris Marslender
05f486ee59
very basic implementation of REST API Based network order fetching for dashboard widget
2017-10-24 19:51:55 -07:00
Claudio Sanches
8b3d1046e0
Merge pull request #15515 from woocommerce/update/15399
...
Tweak review settings and add global enable option
2017-06-08 15:53:00 -03:00
Mike Jolley
5ee38c54c2
Option to disable reviews globally
2017-06-08 15:26:30 +01:00
Mike Jolley
4ea9ab46a7
Avoid slow substring query
2017-06-08 12:21:55 +01:00
Mike Jolley
4251d71dab
Hide replies from recent reviews widgets
...
Fixes #15307
2017-05-29 10:09:17 +01:00
Peter J. Herrel
3f9bcc2a09
filter recent reviews dashboard widget query
2017-03-01 18:34:42 +01:00
Mike Jolley
1348f6efd7
Merge branch 'master' into db-schema-tweaks
...
# Conflicts:
# includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:33:20 +00:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00:00
Mike Jolley
d080e135ee
Reduce `select *` usage
2017-02-13 12:58:42 +00:00
Rami Yushuvaev
9469673c05
a11y: remove unneeded `title` attributes
2016-11-04 17:40:15 +02:00
Rami Yushuvaev
6cc301e58c
add translators comments
2016-10-29 13:16:03 +03:00
Mike Jolley
6c80a08174
[2.6] Split method up and check permissions
...
Closes #12168
2016-10-25 11:43:44 +01:00
Rami Yushuvaev
140d0efb99
i18n: Avoid using HTML tags in translation strings ( #12166 )
...
* i18n: Remove some HTML tags from translation strings
* i18n: simpler translation string
* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string
* i18n: Avoide using `<code>' HTML tags in translation strings
* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Rami Yushuvaev
f27499b501
i18n Improvements ( #12078 )
...
* use %s in translations strings
* merge simmilar error strings
* i18n: use sprintf() in translation strings to make them easier to understand for translators
* i18n: remove sprintf() function from translation string with unused parameter
* i18n: move colons and brackets into the translation strings
* revert comit addaa5d
* Fix broken sprintf()
* i18n: move colons into the translation strings on error messages
* Fix Travis-CI Error: operator must be surrounded by a single space
2016-10-24 08:33:32 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Mike Jolley
66c61eebc8
Define full path for includes
...
Closes #11087
2016-07-27 11:58:43 +01:00
Mike Jolley
5cae61cb69
Show net sales on dashboard
...
Closes #9948
2016-02-08 11:28:40 +00:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00
Claudio Sanches
9169458590
Updated recent reviews url escaping
2015-10-06 10:35:33 -03:00
Alexander Concha
c1db266e80
Explicitly cast as integer the rating comment meta.
...
On multisite this can contain arbitrary values.
2015-06-01 13:27:16 +01:00
Nicola Mustone
03daf7126b
added action woocommerce_after_dashboard_status_widget
2015-03-13 12:07:39 +01:00
Mike Jolley
fa0be55b01
transient cache dashboard reports
...
Closes #7641
2015-03-09 11:07:49 +00:00
Mike Jolley
ba582c307b
Dashboard - use same query as reports Closes #7529
2015-02-24 12:18:56 +00:00
Mike Jolley
2f2acc6964
Update dashboard report to show gross, after refunds
2015-02-13 13:53:03 +00:00
Claudio Sanches
6ca681ce86
Added new filters to help translation plugins, closes #7338
2015-02-10 10:51:44 -02:00
Mike Jolley
3698eab0ae
Made dashboard sales report match monthly sales report Closes #6871
2014-12-30 15:08:06 +00:00
Tamara Zuk
af442599b1
Code Standards: Finish up admin includes
...
* 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`
@see http://make.wordpress.org/core/handbook/coding-standards/php/
@see part 1: #6157
2014-11-30 01:52:32 -05:00
claudiosmweb
6c4a65dbca
Fixed the WooCommerce Status widget links, closes #6685
2014-11-04 00:22:28 -08:00
shivapoudel
4091fe00ad
Absolute path and Indentation fix for includes/admin/{roots-files}.php :)
2014-09-21 01:37:30 +05:45
Mike Jolley
f4e7211d3a
Fix top seller on dashboard
2014-07-25 15:48:37 +01:00
Mike Jolley
a9e30766d6
fix dashboard total
2014-07-25 15:47:51 +01:00