Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions phpwpinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,11 @@ public function test_php_config() {
}

$value = ini_get( 'max_input_vars' );
if ( intval( $value ) < 1000 ) {
$this->html_table_row( 'max_input_vars', '1000', '5000', $value, 'error' );
if ( intval( $value ) < 5000 ) {
$this->html_table_row( 'max_input_vars', '5000', '10000', $value, 'error' );
} else {
$status = (intval( $value ) >= 5000) ? 'success' : 'warning';
$this->html_table_row( 'max_input_vars', '1000', '5000', $value, $status );
$status = (intval( $value ) >= 10000 ) ? 'success' : 'warning';
$this->html_table_row( 'max_input_vars', '5000', '10000', $value, $status );
}

$value = ini_get( 'file_uploads' );
Expand Down Expand Up @@ -1172,4 +1172,4 @@ private function _command_exists($command) {
}

// Init render
phpwpinfo();
phpwpinfo();