mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Correct variable name in WP_UnitTestCase::temp_filename().
git-svn-id: https://develop.svn.wordpress.org/trunk@30268 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -369,7 +369,7 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase {
|
||||
if ( empty( $tmp_dir ) ) {
|
||||
$tmp_dir = '/tmp';
|
||||
}
|
||||
$tmp_dir = realpath( $dir );
|
||||
$tmp_dir = realpath( $tmp_dir );
|
||||
return tempnam( $tmp_dir, 'wpunit' );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user