X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/includes/class-wp-filesystem-base.php diff --git a/wp-admin/includes/class-wp-filesystem-base.php b/wp-admin/includes/class-wp-filesystem-base.php index 7e6a80f0..87cf3f55 100644 --- a/wp-admin/includes/class-wp-filesystem-base.php +++ b/wp-admin/includes/class-wp-filesystem-base.php @@ -41,6 +41,7 @@ class WP_Filesystem_Base { /** * @access public + * @var WP_Error */ public $errors = null; @@ -138,7 +139,7 @@ class WP_Filesystem_Base { * @return string The location of the remote path. */ public function find_base_dir( $base = '.', $echo = false ) { - _deprecated_function(__FUNCTION__, '2.7', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' ); + _deprecated_function(__FUNCTION__, '2.7.0', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' ); $this->verbose = $echo; return $this->abspath(); } @@ -160,7 +161,7 @@ class WP_Filesystem_Base { * @return string The location of the remote path. */ public function get_base_dir( $base = '.', $echo = false ) { - _deprecated_function(__FUNCTION__, '2.7', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' ); + _deprecated_function(__FUNCTION__, '2.7.0', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' ); $this->verbose = $echo; return $this->abspath(); } @@ -316,7 +317,7 @@ class WP_Filesystem_Base { * * From the PHP documentation page for fileperms(). * - * @link http://docs.php.net/fileperms + * @link https://secure.php.net/manual/en/function.fileperms.php * * @access public * @since 2.5.0 @@ -384,7 +385,7 @@ class WP_Filesystem_Base { * Converts '-rw-r--r--' to 0644 * From "info at rvgate dot nl"'s comment on the PHP documentation for chmod() * - * @link http://docs.php.net/manual/en/function.chmod.php#49614 + * @link https://secure.php.net/manual/en/function.chmod.php#49614 * * @access public * @since 2.5.0 @@ -705,6 +706,7 @@ class WP_Filesystem_Base { * @since 2.5.0 * @abstract * + * @param string $file Path to file. * @return bool Whether $file is writable. */ public function is_writable( $file ) {