Skip to content

Commit 06cc360

Browse files
committed
update PHP version min require
1 parent af43238 commit 06cc360

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

phpwpinfo.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
3-
Version 1.4.0
4-
Copyright 2012-2016 - Amaury Balmer ([email protected])
3+
Version 1.4.1
4+
Copyright 2012-2019 - Amaury Balmer ([email protected])
55
66
This program is free software; you can redistribute it and/or modify
77
it under the terms of the GNU General Public License, version 2, as
@@ -43,7 +43,7 @@ function phpwpinfo() {
4343
*/
4444
class PHP_WP_Info {
4545
private $debug_mode = true;
46-
private $php_version = '5.2.4';
46+
private $php_version = '5.6.40';
4747
private $mysqli_version = '5.0';
4848

4949
private $db_infos = array();
@@ -114,9 +114,9 @@ public function test_versions() {
114114
// Test PHP Version
115115
$php_version = phpversion();
116116
if ( version_compare( $php_version, $this->php_version, '>=' ) ) {
117-
$this->html_table_row( 'PHP Version', $this->php_version, '> 5.4', $php_version, 'success' );
117+
$this->html_table_row( 'PHP Version', $this->php_version, '> 7.3', $php_version, 'success' );
118118
} else {
119-
$this->html_table_row( 'PHP Version', $this->php_version, '> 5.4', $php_version, 'error' );
119+
$this->html_table_row( 'PHP Version', $this->php_version, '> 7.3', $php_version, 'error' );
120120
}
121121

122122
// Test MYSQL Client extensions/version.

0 commit comments

Comments
 (0)