Commit Graph

24 Commits

Author SHA1 Message Date
Sergey Biryukov 7b811871b6 Correct return value for WP_Filesystem_Base::gethchmod(). props bananastalktome. fixes #23121.
git-svn-id: https://develop.svn.wordpress.org/trunk@23349 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-28 01:55:39 +00:00
Helen Hou-Sandi 1303e7377a its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665.
git-svn-id: https://develop.svn.wordpress.org/trunk@23191 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-20 15:55:32 +00:00
Dion Hulse 6312ae8e06 Make WP_Filesystem_Base::getnumchmodfromh() return the expected values when the executable bit is set in the input. Props Keruspe. Fixes #20365
git-svn-id: https://develop.svn.wordpress.org/trunk@22083 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-29 01:33:15 +00:00
Dion Hulse 641b92e43d WP_Filesystem: When recursivly searching for a directory path, only search for unfound directory entries. This solves a case where the same directory may be entered twice inadvertantly when nested directories using the same name exist. Fixes #20652
git-svn-id: https://develop.svn.wordpress.org/trunk@21222 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-06 11:19:46 +00:00
Dion Hulse a30fde5be4 WP_Filesystem: Correct a rare case where the FTP directory will be detected incorrectly when the final path token exists higher in the chain, for example /x/x/Z/x/Z/ would be detected as /x/x/Z/. Fixes #20934
git-svn-id: https://develop.svn.wordpress.org/trunk@21221 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-06 10:41:32 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +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
Andrew Nacin a657a1986c @since s/3.2/3.2.0/
git-svn-id: https://develop.svn.wordpress.org/trunk@18268 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 04:40:18 +00:00
Peter Westwood 5178cdbfe8 More phpdoc typo fixes. See #17414 props Utkarsh
git-svn-id: https://develop.svn.wordpress.org/trunk@17926 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 09:56:59 +00:00
Dion Hulse abb6e01681 Add an extra FTP_LANG_DIR override constant to short-circuit WP_Filesystem_Base::find_folder(WP_LANG_DIR);. See #11495
git-svn-id: https://develop.svn.wordpress.org/trunk@17579 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 09:17:27 +00:00
Dion Hulse 20603ca19c Be a party-pooper; No more Akismet Dancing upon upgrade; Respect custom WP_CONTENT_DIR for bundled plugins/theme installation; Respect custom WP_CONTENT_DIR/WP_LANG_DIR for Language files when upgrading; Standardise WP_Filesystem path method returns (They're trailing slash'd). Adds an exclusion list to copy_dir() as well as WP_Filesystem_Base::wp_lang_dir(). See #14484 See #11495
git-svn-id: https://develop.svn.wordpress.org/trunk@17576 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-31 13:28:36 +00:00
Dion Hulse 606e4106aa Ensure slashing of paths returned by WP_Filesystem_Base::find_folder() is consistent with the slashing of paths; Affects Windows machines using the Direct transport.
git-svn-id: https://develop.svn.wordpress.org/trunk@14810 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 05:54:32 +00:00
Andrew Nacin c9dfb91763 Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +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
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
Ryan Boren 99e1a865d0 WPFS cleanups. Props DD32. fixes #9525
git-svn-id: https://develop.svn.wordpress.org/trunk@10919 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 16:11:02 +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
Andrew Ozz 4ab4dbf7aa Check if the FTP account is rooted to the base of the WordPress install, props DD32, see #7861
git-svn-id: https://develop.svn.wordpress.org/trunk@9118 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-10 10:40:04 +00:00
Andrew Ozz f88c28ccee Fix for "Unable to locate WordPress directory" on core update and PHPDoc for class-wp-filesystem-base.php, props DD32, fixes #7861
git-svn-id: https://develop.svn.wordpress.org/trunk@9117 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-10 10:02:46 +00:00
Peter Westwood 55ebbd699f Autodetect binary files for FTP filesystems. Fixes #7568 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@8990 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-26 06:53:57 +00:00
Peter Westwood ab17f7283c phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8645 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 06:30:38 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren c38c9fc4e2 Turn off verbose
git-svn-id: https://develop.svn.wordpress.org/trunk@8255 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-04 06:18:20 +00:00
Ryan Boren 43660f8de7 WP_Filesystem updates from DD32. See #7059
git-svn-id: https://develop.svn.wordpress.org/trunk@8018 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-30 16:14:05 +00:00