Go to file
Dion Hulse 10c377b9b9 Decrease the chances that `wp_tempnam()` will conflict with an existing file by suffixing a random ID to the generated filename.
This also switches from using `touch()` to using `fopen( $file, 'x')` to ensure that we're the process creating the file.

Fixes #34562


git-svn-id: https://develop.svn.wordpress.org/trunk@35644 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-16 05:32:32 +00:00
src Decrease the chances that `wp_tempnam()` will conflict with an existing file by suffixing a random ID to the generated filename. 2015-11-16 05:32:32 +00:00
tests Revert [35639] pending investigation into failures on PHP 5.2. 2015-11-16 00:53:30 +00:00
tools/i18n
.editorconfig
.gitignore
.jshintrc Build: Prevent non-breaking spaces from accidentally being inserted into JavaScript files. 2015-11-12 12:04:55 +00:00
.travis.yml Remove PHP 7 from allowed failures list 2015-11-12 21:44:24 +00:00
Gruntfile.js
package.json
phpunit.xml.dist
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php