Ticket #20778: 20778.2.patch
File 20778.2.patch, 493 bytes (added by , 12 years ago) |
---|
-
wp-includes/functions.php
1404 1404 if ( function_exists('sys_get_temp_dir') ) { 1405 1405 $temp = sys_get_temp_dir(); 1406 1406 if ( @is_dir( $temp ) && ( $is_win ? win_is_writable( $temp ) : @is_writable( $temp ) ) ) { 1407 return trailingslashit( $temp);1407 return trailingslashit( rtrim( $temp, '\\' ) ); 1408 1408 } 1409 1409 } 1410 1410