]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-wp-filesystem-base.php
Wordpress 4.6
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-filesystem-base.php
index 7e6a80f00f7b90e674d5da57007ee532165a2520..87cf3f559be7107519c94a61ff4519ec41dcbc43 100644 (file)
@@ -41,6 +41,7 @@ class WP_Filesystem_Base {
 
        /**
         * @access public
 
        /**
         * @access public
+        * @var WP_Error
         */
        public $errors = null;
 
         */
        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 ) {
         * @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();
        }
                $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 ) {
         * @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();
        }
                $this->verbose = $echo;
                return $this->abspath();
        }
@@ -316,7 +317,7 @@ class WP_Filesystem_Base {
         *
         * From the PHP documentation page for fileperms().
         *
         *
         * 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
         *
         * @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()
         *
         * 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
         *
         * @access public
         * @since 2.5.0
@@ -705,6 +706,7 @@ class WP_Filesystem_Base {
         * @since 2.5.0
         * @abstract
         *
         * @since 2.5.0
         * @abstract
         *
+        * @param string $file Path to file.
         * @return bool Whether $file is writable.
         */
        public function is_writable( $file ) {
         * @return bool Whether $file is writable.
         */
        public function is_writable( $file ) {