[wp-trac] Re: [WordPress Trac] #10304: WP_Filesystem fixes
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 30 23:24:08 GMT 2009
#10304: WP_Filesystem fixes
--------------------------+-------------------------------------------------
Reporter: azaozz | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Filesystem | Version: 2.8
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by dd32):
Functions worthwhile removing:
* setDefaultPermissions()
* find_base_dir() - Deprecated in 2.7
* get_base_dir() - Deprecated in 2.7
* gethchmod() - Not used within core, If a plugin needs it, It might as
well add it itself so it knows it works.
* Remove some vals from dirlist() that reference gethchmod() (or a
variant of it if returned from 3rd-party items already)
* Should make getchmod() return 0xxx for all classes under all OS's.
* Also should consider removing any methods from Direct which are not
supported by the FTP's, Theres a heap of those.. Just so people dont rely
on it and find it doesnt work.
* rmdir() should be redirected to delete() is almost all cases.
* SSH2 needs investigating with regard to using the ssh file wrapper, and
maybe a fallback case in there for systems where that cant be used -
#10195
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10304#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list