From 428e9baba7c91a718a27fac34f99d008724772a5 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: http://core.svn.wordpress.org/trunk@23349 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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);