Ticket #59406: 59406.diff
File 59406.diff, 638 bytes (added by , 16 months ago) |
---|
-
tests/phpunit/includes/class-wp-test-stream.php
201 201 */ 202 202 public function mkdir( $path, $mode, $options ) { 203 203 $this->open( $path ); 204 $plainfile = rtrim( $this->file, '/' );205 204 206 if ( isset( WP_Test_Stream::$data[ $this->bucket ][ $file] ) ) {205 if ( isset( WP_Test_Stream::$data[ $this->bucket ][ rtrim( $this->file, '/' ) . '/' ] ) ) { 207 206 return false; 208 207 } 209 208 $dir_ref = & $this->get_directory_ref();