WordPress.org

Make WordPress Core

Ticket #5586: 5586.17.diff

File 5586.17.diff, 478 bytes (added by DD32, 13 years ago)

add missing(yet unused by WordPress) method chdir() in Direct FS wrapper

  • wp-admin/includes/class-wp-filesystem-direct.php

     
    3737        function cwd(){
    3838                return @getcwd();
    3939        }
     40        function chdir($dir){
     41                return @chdir($dir);
     42        }
    4043        function chgrp($file,$group,$recursive=false){
    4144                if( ! $this->exists($file) )
    4245                        return false;