-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af43238
commit 06cc360
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/* | ||
Version 1.4.0 | ||
Copyright 2012-2016 - Amaury Balmer ([email protected]) | ||
Version 1.4.1 | ||
Copyright 2012-2019 - Amaury Balmer ([email protected]) | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License, version 2, as | ||
|
@@ -43,7 +43,7 @@ function phpwpinfo() { | |
*/ | ||
class PHP_WP_Info { | ||
private $debug_mode = true; | ||
private $php_version = '5.2.4'; | ||
private $php_version = '5.6.40'; | ||
private $mysqli_version = '5.0'; | ||
|
||
private $db_infos = array(); | ||
|
@@ -114,9 +114,9 @@ public function test_versions() { | |
// Test PHP Version | ||
$php_version = phpversion(); | ||
if ( version_compare( $php_version, $this->php_version, '>=' ) ) { | ||
$this->html_table_row( 'PHP Version', $this->php_version, '> 5.4', $php_version, 'success' ); | ||
$this->html_table_row( 'PHP Version', $this->php_version, '> 7.3', $php_version, 'success' ); | ||
} else { | ||
$this->html_table_row( 'PHP Version', $this->php_version, '> 5.4', $php_version, 'error' ); | ||
$this->html_table_row( 'PHP Version', $this->php_version, '> 7.3', $php_version, 'error' ); | ||
} | ||
|
||
// Test MYSQL Client extensions/version. | ||
|