Ticket #20778: 20778.warning.patch
File 20778.warning.patch, 743 bytes (added by , 12 years ago) |
---|
-
wp-includes/functions.php
1391 1391 1392 1392 if ( function_exists('sys_get_temp_dir') ) { 1393 1393 $temp = sys_get_temp_dir(); 1394 if ( is_dir( $temp ) && ( $is_win ? win_is_writable( $temp ) : @is_writable( $temp ) ) ) {1394 if ( @is_dir( $temp ) && ( $is_win ? win_is_writable( $temp ) : @is_writable( $temp ) ) ) { 1395 1395 return trailingslashit( $temp ); 1396 1396 } 1397 1397 } … … 3758 3758 */ 3759 3759 function wp_checkdate( $month, $day, $year, $source_date ) { 3760 3760 return apply_filters( 'wp_checkdate', checkdate( $month, $day, $year ), $source_date ); 3761 } 3762 No newline at end of file 3761 }