diff --git a/assets/screenshot-1.png b/assets/screenshot-1.png new file mode 100644 index 0000000..e342c71 Binary files /dev/null and b/assets/screenshot-1.png differ diff --git a/readme.md b/readme.md index 98b631d..bd7116a 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# WP uptime +# WP Uptime Editable non-cached monitorization path for Wordpress. diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..5469cab --- /dev/null +++ b/readme.txt @@ -0,0 +1,70 @@ +=== WP Uptime === +Contributors: codesyntax, bipoza +Donate link: https://codesyntax.com/ +Tags: monitorization, status, wp-json, restapi +Requires at least: 4.7 +Tested up to: 6.1 +Stable tag: 2.0.3 +Requires PHP: 7.0 +License: GPLv2 or later +License URI: https://www.gnu.org/licenses/gpl-2.0.html + +Editable non-cached monitorization path for Wordpress. + +== Description == + +## WP Uptime +Editable non-cached monitorization path for Wordpress. + +## How to use + +Just install the plugin and activate it. + +## Default settings + +By default, the API is at this address and if mysql is running it will return OK. + +``` +https://your-site.com/wp-json/wp-uptime/ok +``` + +## Edition panel + +![wp-uptime-admin-panel](https://user-images.githubusercontent.com/26112509/226600732-58bdf02b-cb17-4acb-87f9-f997b38ff923.png) + + +== Frequently Asked Questions == + += Can I edit the endpoint and the OK response? = + +Yes, from the administration panel you can configure the response from a string to a full JSON. + +For example: +``` +Path: /server-status/ +Response: {"status":"ok"} +``` + +== Screenshots == + +1. Edition panel + +== Changelog == + += 2.0.4 = +* First stable version. + += 2.0.3 = +* Removes the plugin options from the database after uninstalling the plugin. + += 2.0.0 = +* Add edition from the administration panel. +* Add editable fields. + +== Upgrade Notice == + += 2.0.4 = +First stable version. It is recommended to install this version. + += 2.0.3 = +This version fixes a security related bug. Upgrade immediately. diff --git a/wp-uptime.php b/wp-uptime.php index 2301fba..5f127f5 100644 --- a/wp-uptime.php +++ b/wp-uptime.php @@ -11,7 +11,7 @@ * Plugin Name: WPUptime * Plugin URI: https://github.com/codesyntax/wp-uptime * Description: Editable non-cached monitorization path for Wordpress. - * Version: 2.0.3 + * Version: 2.0.4 * Author: CodeSyntax * Author URI: https://codesyntax.com * Text Domain: wp-uptime