diff -r d255fe9cd479 -r 00ac8f60d73f wp/wp-content/plugins/wp-filemanager/incl/create.inc.php
--- a/wp/wp-content/plugins/wp-filemanager/incl/create.inc.php Tue Oct 15 15:48:13 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-$StrFolderInvalidName";
- else if (file_exists($home_directory.$wp_fileman_path.stripslashes($_POST['directory_name']."/")))
- print "$StrAlreadyExists";
- else if (@mkdir($home_directory.$wp_fileman_path.stripslashes($_POST['directory_name']), 0777))
- print "$StrCreateFolderSuccess";
- else
- {
- print "$StrCreateFolderFail
";
- print $StrCreateFolderFailHelp;
- }
- @umask($umask);
-}
-
-else if ($AllowCreateFile && isset($_GET['create']) && isset($_POST['filename']))
-{
- if (!wp_fileman_is_valid_name(stripslashes($_POST['filename'])))
- print "$StrFileInvalidName";
- else if (file_exists($home_directory.$wp_fileman_path.stripslashes($_POST['filename'])))
- print "$StrAlreadyExists";
- else if (@fopen($home_directory.$wp_fileman_path.stripslashes($_POST['filename']), "w+"))
- print "$StrCreateFileSuccess";
- else
- {
- print "$StrCreateFileFail
";
- print $StrCreateFileFailHelp;
- }
-}
-
-else if ($AllowCreateFolder || $AllowCreateFile)
-{
- print "