From 7b811871b60ce8898dcb6a05c9e27aa9c6ab7b33 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 28 Jan 2013 01:55:39 +0000 Subject: [PATCH] Correct return value for WP_Filesystem_Base::gethchmod(). props bananastalktome. fixes #23121. git-svn-id: https://develop.svn.wordpress.org/trunk@23349 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-filesystem-base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-filesystem-base.php b/wp-admin/includes/class-wp-filesystem-base.php index a9566c76d5..d64fe4bba4 100644 --- a/wp-admin/includes/class-wp-filesystem-base.php +++ b/wp-admin/includes/class-wp-filesystem-base.php @@ -241,7 +241,7 @@ class WP_Filesystem_Base { * @access public * * @param string $file string filename - * @return int octal representation of permissions + * @return string *nix style representation of permissions */ function gethchmod($file){ $perms = $this->getchmod($file);