Commit Graph

46 Commits

Author SHA1 Message Date
Mike Jolley 0bfd675238 Wrapper function to get full mysql version string with mariadb handling 2018-05-25 11:15:30 +01:00
Claudio Sanches 0660a50e07 Removed obvious boolean results 2018-03-21 19:57:10 -03:00
Claudio Sanches f0d37ff4f5 Fixed PHPCS violations on REST API 2018-03-06 15:04:58 -03:00
Rodrigo Primo 2feacfb47a Display whether or not external object cache is enabled
This commit adds a new line to the section "WordPress environment" of the system status page to indicate whether or not WP external object cache is enabled.
2018-01-29 15:56:01 -02:00
Rodrigo Primo a15ecc1601 Automatically fix coding standard violations using phpcbf 2018-01-29 15:53:54 -02:00
Mike Jolley 6701917e5a Remove need for wc_get_core_supported_themes 2017-11-07 12:17:03 +00:00
Hisman 78c15569a7 Show theme overrides that are done through the wc_get_template filter in WooCommerce > Status
Fixes #17043

Call the wc_get_template filter on each template and show the file if it exists.
2017-10-14 00:07:38 +07:00
Mike Jolley 0bad6b3e52 add_db_table_prefix method for 5.2 support 2017-08-22 13:51:50 +01:00
Patrick Garman f19a63e1d7 Merge the DB and DB Table Size tables 2017-08-15 19:52:14 -05:00
Patrick Garman 1314158a14 Add “site size” areas to system status report
The size of the site very much impacts the status of the site. This type of information would be extremely helpful when supporting a site.

1) post counts - can reveal high volumes of specific kinds of post types both within WC (orders, products, etc) or outside (revisions, attachments, third party ones, etc)

2) table sizes - a site with a 5MB postmeta table is very different than a site with a 5GB postmeta table, which is different than a site with a 50GB postmeta table, and require different kinds of support and focus.
2017-08-06 01:15:10 -04:00
Jason Conroy 0d91f008ac Add terms and conditions to page to api pages property 2017-07-13 16:26:20 +10:00
Rasmus Bengtsson 6a7fc8650f Remove unused local variables 2017-05-15 12:06:52 +02:00
Mike Jolley 6797b2229d Ensure get_plugin_updates exists
Fixes #14978
2017-05-12 10:56:43 +01:00
Claudio Sanches 9ae846ccad Get outdated plugins using get_plugin_updates()
plugins_api() does a query for each plugin in api.wordpress.org that can takes 15 seconds, what is bad when have a lot of installed plugins and causing "gateway timeout" issues in System Status page.

get_plugin_updates() have already all available updates saved in cache.

Fixes #14799
2017-05-02 19:04:26 -03:00
Mike Jolley f8781b9552 Decrease paypal request timeout so failed requests to not take too long
Closes #14546
2017-04-20 15:45:52 +01:00
Mike Jolley 7d5efe4b78 Add product visibility terms to system status report to help debug
Closes #14147
2017-04-10 15:51:14 +01:00
Claudio Sanches 67274e8c2c Make sure that ID exists 2017-04-05 14:23:50 -03:00
Mike Jolley 811d59feec Fallback to home URL if no shop page is set for system status security check.
Fixes #13921
2017-04-05 10:03:41 +01:00
Claudio Sanches 00b9f636a8 Fixed description of items in system status schema 2017-03-24 00:48:41 -03:00
Claudio Sanches bfbd45cf85 [REST API] System status schema items are all view context only 2017-03-24 00:43:46 -03:00
Claudio Sanches 5cc246b5cb [REST API] All items from system status endpoint should be readonly 2017-03-24 00:41:39 -03:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Claudio Sanches 4352484ed7 REST API v2 2017-02-09 15:06:13 -02:00
Mike Jolley 2d23705431 ID arg definitions 2017-01-26 19:22:57 +00:00
matttallan c45d81e650 Make the system_status GET endpoint more customisable 2017-01-10 16:06:09 +10:00
Mike Jolley 6861131d8f Fix version check 2016-12-22 14:30:47 +00:00
Mike Jolley ba62599da0 Use objects, rather than arrays in schema when properties are defined 2016-12-07 11:36:46 +00:00
Claudio Sanches fe4b45481d Include security data in system status endpoint 2016-11-09 22:19:12 -02: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
Matty d037c4a3f2 Ensures any checks for 'woothemes.com' in logic also check for 'woocommerce.com'. 2016-09-28 12:19:58 +02:00
Aristeides Stathopoulos d4e3faf014 PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket 2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos 72696901f3 WordPress.WhiteSpace.OperatorSpacing.SpacingAfter 2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Mike Jolley 6b6c856cc7 Filter the template path
Closes #11774
2016-08-26 11:03:08 +01:00
corsonr f430c23cdc fix issue 11751 2016-08-23 11:16:38 +02:00
Justin Shreve 35cae38aa2 Fix issues from PR review: sanitize/escape fixes in wp-admin, remove modes. 2016-08-09 10:14:47 -07:00
Justin Shreve b198e6d65b Add the ability to see and update system status modes (shipping debug, template debug, uninstall...) 2016-08-09 09:51:30 -07:00
Justin Shreve 9dbd365be8 First pass at system status tools. Fully functioning endpoints for listing tools, listing data about a specific tool, and executing a tool. 2016-08-09 09:51:30 -07:00
Justin Shreve fe7e26d68d Error fixes:
* Typos
* Consistent edit error handles
* Consistent error messages
2016-08-08 14:52:46 -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
Justin Shreve 5d95b76e1a Rename the endpoint from system-status to system_status (matches the rest of WC endpoints). 2016-07-27 14:06:14 -07:00
Justin Shreve e436e96654 Add missing textdomains, remove wc_ prefix from a few fields, spacing/coding standard fixes. 2016-07-27 13:59:16 -07:00
Justin Shreve 041b5745b4 Finish system status tests 2016-07-27 12:19:14 -07:00
Justin Shreve e255602d91 System status controller 2016-07-27 10:29:10 -07:00