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:
parent
73eee04d38
commit
f12b0f9aad
|
@ -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' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue