What is wrong about using $wp_filesystem->mkdir ? I get a false positive on that and the advice to use wp_mkdir_p() but that does not have the ability to parse $chmod (The permissions as octal number) which i need to create a directory and set the permissions! It is definitely not php mkdir ! It is from wordpress filesystem. It can't be wrong on using that.
Hi Guys,
What is wrong about using $wp_filesystem->mkdir ? I get a false positive on that and the advice to use wp_mkdir_p() but that does not have the ability to parse $chmod (The permissions as octal number) which i need to create a directory and set the permissions! It is definitely not php mkdir ! It is from wordpress filesystem. It can't be wrong on using that.
Please advice !