Skip to content

Commit d0b8291

Browse files
committed
Add ticket reference
1 parent e8e78a6 commit d0b8291

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/wp-admin/includes/class-wp-filesystem-direct.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ public function owner( $file ) {
256256
*/
257257
public function getchmod( $file ) {
258258
$perms = @fileperms( $file );
259-
260259
if ( false === $perms ) {
261260
return '0';
262261
}

tests/phpunit/tests/filesystem/wpFilesystemDirect/getchmod.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public function test_should_get_chmod_for_a_path_that_exists( $path ) {
3838
* @dataProvider data_paths_that_do_not_exist
3939
*
4040
* @ticket 57774
41+
* @ticket 64426
4142
*
4243
* @param string $path The path.
4344
*/

0 commit comments

Comments
 (0)