- security fixes;

- download last upgrades fixes;
This commit is contained in:
nikitasinelnikov
2019-05-10 15:43:14 +03:00
parent ca1a908aae
commit dc4382acd3
9 changed files with 258 additions and 46 deletions
+4 -2
View File
@@ -171,7 +171,8 @@ if ( ! class_exists( 'um\core\Files' ) ) {
}
}
if ( validate_file( $file_path ) !== 0 ) {
//validate traversal file
if ( validate_file( $file_path ) === 1 ) {
return;
}
@@ -215,7 +216,8 @@ if ( ! class_exists( 'um\core\Files' ) ) {
}
}
if ( validate_file( $file_path ) !== 0 ) {
//validate traversal file
if ( validate_file( $file_path ) === 1 ) {
return;
}