WordPress.org

Make WordPress Core

Changeset 7415


Ignore:
Timestamp:
03/20/2008 05:22:43 PM (13 years ago)
Author:
ryan
Message:

wpfs direct fixes from DD32. see #5586

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-direct.php

    r7238 r7415  
    99    }
    1010    function connect(){
    11         return;
     11        return true;
    1212    }
    1313    function setDefaultPermissions($perm){
     
    1818    }
    1919    function get_base_dir($base = '.', $echo = false){
    20         return find_base_dir($base, $echo);
     20        return $this->find_base_dir($base, $echo);
    2121    }
    2222    function get_contents($file){
  • trunk/wp-admin/update.php

    r7303 r7415  
    1111
    1212    if ( 'direct' == $type )
    13         return array();
     13        return true;
    1414       
    1515    if( ! $credentials = get_option('ftp_credentials') )
Note: See TracChangeset for help on using the changeset viewer.