WARNING
WARNING = 1
Class MainWP_Server_Information
get_schedule_next_time_to_show(string $job_freq, integer $lasttime_run, integer $local_timestamp) : integer
Get next time of schedule job to show.
string | $job_freq | frequency of schedule job. |
integer | $lasttime_run | Lasttime to run. |
integer | $local_timestamp | current local time. |
next run time of schedule job.
render_directory_row(string $name, string $check, string $result, boolean $passed) : boolean
Renders the directory check row.
string | $name | check name. |
string | $check | desired result. |
string | $result | detected result. |
boolean | $passed | true|false check result. |
true.
render_row(string $config, string $compare, mixed $version, mixed $getter, string $extraText = '', null $extraCompare = null, null $extraVersion = null, null $whatType = null, integer $errorType = self::WARNING)
Renders server information table row.
string | $config | configuraion check. |
string | $compare | comparison operator. |
mixed | $version | reqiored minium version number. |
mixed | $getter | detected version number. |
string | $extraText | additionl text. |
null | $extraCompare | extra compare. |
null | $extraVersion | extra version. |
null | $whatType | comparison type. |
integer | $errorType | global variable self::WARNING = 1. |
render_row_with_description(string $config, string $compare, mixed $version, mixed $getter, string $extraText = '', null $extraCompare = null, null $extraVersion = null, null $whatType = null, integer $errorType = self::WARNING)
Renders server information table row with description.
string | $config | configuraion check. |
string | $compare | comparison operator. |
mixed | $version | reqiored minium version number. |
mixed | $getter | detected version number. |
string | $extraText | additionl text. |
null | $extraCompare | extra compare. |
null | $extraVersion | extra version. |
null | $whatType | comparison type. |
integer | $errorType | global variable self::WARNING = 1. |
render_error_log_page()
Renders Error Log page.
Plugin-Name: Error Log Dashboard Widget Plugin URI: http://wordpress.org/extend/plugins/error-log-dashboard-widget/ Description: Robust zero-configuration and low-memory way to keep an eye on error log. Author: Andrey "Rarst" Savchenko Author URI: http://www.rarst.net/ Version: 1.0.2 License: GPLv2 or later
Includes last_lines() function by phant0m, licensed under cc-wiki and GPLv2+