diff --git a/phpwpinfo.php b/phpwpinfo.php index 125b46c..aa9c90e 100644 --- a/phpwpinfo.php +++ b/phpwpinfo.php @@ -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' ); @@ -1172,4 +1172,4 @@ private function _command_exists($command) { } // Init render -phpwpinfo(); \ No newline at end of file +phpwpinfo();