win_is_writable ( $path )
- (string) $path Windows path to check for write-ability.
- (bool) Whether the path is writable.
- Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Workaround for Windows bug in is_writable() function
PHP has issues with Windows ACL's for determine if a
directory is writable or not, this works around them by
checking the ability to open files rather than relying
upon PHP to interprate the OS ACL.