- Timestamp:
- 09/22/2013 04:43:29 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-direct.php
r25349 r25560 16 16 */ 17 17 class WP_Filesystem_Direct extends WP_Filesystem_Base { 18 var $errors = null; 18 19 19 /** 20 20 * constructor … … 25 25 $this->method = 'direct'; 26 26 $this->errors = new WP_Error(); 27 }28 29 /**30 * connect filesystem.31 *32 * @return bool Returns true on success or false on failure (always true for WP_Filesystem_Direct).33 */34 function connect() {35 return true;36 27 } 37 28 … … 186 177 * 187 178 * @param string $file Path to the file. 188 * @return string Username of the user.179 * @return string|bool Username of the user or false on error. 189 180 */ 190 181 function owner($file) {
Note: See TracChangeset
for help on using the changeset viewer.