Commit Graph

21 Commits

Author SHA1 Message Date
Dion Hulse b158ddc175 WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575. Props lordandrei and SergeyBiryukov for initial patches.
git-svn-id: https://develop.svn.wordpress.org/trunk@18964 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 10:43:38 +00:00
Jon Cave 60d321b14b Fix typos in documentation (wp-admin/). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18632 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 14:18:10 +00:00
Ryan Boren 9730cb8d15 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 20:05:12 +00:00
Dion Hulse 1359ecd06b Optimisations to WP_Filesystem; Pass known information to called functions. Props aldenta (John Ford) for investigation and patch. See #10913
git-svn-id: https://develop.svn.wordpress.org/trunk@17525 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-22 00:04:15 +00:00
Andrew Nacin dd306def81 Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Ryan Boren e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Dion Hulse 76592af8d8 Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12723 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 09:23:53 +00:00
Andrew Ozz 707676f0ac Include 'hidden' directories in filesystem dirlist by default, props dd32, fixes #10774
git-svn-id: https://develop.svn.wordpress.org/trunk@11934 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 02:21:00 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Andrew Ozz 38ac50b6eb WP_Filesystem fixes and phpdoc, props hakre dd32, see #10304
git-svn-id: https://develop.svn.wordpress.org/trunk@11831 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 08:34:53 +00:00
Andrew Ozz 10cd9df0ae Add constants for ftp connections timeouts, props dd32, see #10522
git-svn-id: https://develop.svn.wordpress.org/trunk@11823 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 12:01:04 +00:00
Andrew Ozz 82a0986656 Fix class-wp-filesystem-ssh2 put_contents() for empty files, props lostinlafayette dd32, fixes #10604
git-svn-id: https://develop.svn.wordpress.org/trunk@11818 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 07:49:28 +00:00
Ryan Boren b5452371d5 Enforce stream_get_contents() requirement for ssh2 fs. Props dd32. fixes #10093 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11632 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-23 21:54:53 +00:00
Andrew Ozz 5e42829001 Fix typo, props morfiusx and Denis-de-Bernardy, fixes #10137 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11564 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-14 09:28:29 +00:00
Ryan Boren e76b5a0e42 SS2 FS fixes. Props DD32. fixes #8210
git-svn-id: https://develop.svn.wordpress.org/trunk@11063 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 23:38:01 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren ce322c83c7 Fix SSH2 fs exists() method. Props ydekproductions. fixes #8331
git-svn-id: https://develop.svn.wordpress.org/trunk@9862 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-24 20:24:07 +00:00
Ryan Boren d39e61cd74 ssh2 fs fixes from ShaneF and DD32. see #7690
git-svn-id: https://develop.svn.wordpress.org/trunk@8880 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-13 18:06:20 +00:00
Ryan Boren d25dc6aa54 Handle ssh keys in ssf2 fs. Props ShaneF. see #7690
git-svn-id: https://develop.svn.wordpress.org/trunk@8865 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-11 17:44:43 +00:00
Andrew Ozz 291dfd9a4e SSH2 filesystem improvements, props ShaneF, see #7690
git-svn-id: https://develop.svn.wordpress.org/trunk@8852 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-09 03:24:05 +00:00
Ryan Boren 7ccb9abd4b SSH2 filesystem. Props ShaneF. see #7690
git-svn-id: https://develop.svn.wordpress.org/trunk@8812 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 05:47:08 +00:00