Determines if a directory is writable.
Description
This function is used to work around certain ACL issues in PHP primarily affecting Windows Servers.
See also
Parameters
$path
stringrequired- Path to check for write-ability.
Source
function wp_is_writable( $path ) {
if ( 'Windows' === PHP_OS_FAMILY ) {
return win_is_writable( $path );
}
return @is_writable( $path );
}
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.