Changeset 27344 for trunk/src/wp-includes/functions.php
- Timestamp:
- 03/01/2014 09:44:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r27272 r27344 1456 1456 1457 1457 if ( $temp ) 1458 return trailingslashit( rtrim( $temp, '\\' ));1458 return trailingslashit( $temp ); 1459 1459 1460 1460 if ( function_exists('sys_get_temp_dir') ) { 1461 1461 $temp = sys_get_temp_dir(); 1462 1462 if ( @is_dir( $temp ) && wp_is_writable( $temp ) ) 1463 return trailingslashit( rtrim( $temp, '\\' ));1463 return trailingslashit( $temp ); 1464 1464 } 1465 1465 1466 1466 $temp = ini_get('upload_tmp_dir'); 1467 1467 if ( @is_dir( $temp ) && wp_is_writable( $temp ) ) 1468 return trailingslashit( rtrim( $temp, '\\' ));1468 return trailingslashit( $temp ); 1469 1469 1470 1470 $temp = WP_CONTENT_DIR . '/';
Note: See TracChangeset
for help on using the changeset viewer.