Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
Dion Hulse eff9f9e25b Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
git-svn-id: https://develop.svn.wordpress.org/trunk@12999 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:59:30 +00:00
Dion Hulse c6aa08558a Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@12998 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:31:40 +00:00
Dion Hulse bb80851161 Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
git-svn-id: https://develop.svn.wordpress.org/trunk@12997 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:12:29 +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 869f5f8649 Typo fixes, props dd32, fixes #11030
git-svn-id: https://develop.svn.wordpress.org/trunk@12104 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 17:30:58 +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
Ryan Boren 603fba4ad4 consolidate plugin/theme/core upgrade/install functions. Props DD32. see #7875
git-svn-id: https://develop.svn.wordpress.org/trunk@11005 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-19 19:36:28 +00:00
Ryan Boren 077e5b20e9 Revert FTP parts of [10919]. fixes #9535 see #9525
git-svn-id: https://develop.svn.wordpress.org/trunk@10930 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 17:16:44 +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
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 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
Ryan Boren 83ff7f5e58 Make WP_Filesystem work with new directory constants. Props DD32. fixes #7059
git-svn-id: https://develop.svn.wordpress.org/trunk@8009 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 17:29:32 +00:00
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren 90571b05c1 FTP find_base_dir fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7443 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 05:15:21 +00:00
Ryan Boren 222de67dca Check return of tmpfile(). see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7403 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 20:36:23 +00:00
Ryan Boren 7fa4f4fece Basedir location fixes for ftp fs from DD32. see #6245
git-svn-id: https://develop.svn.wordpress.org/trunk@7369 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-18 00:13:11 +00:00
Ryan Boren 3fb7fb7282 Fix var name. see #6236
git-svn-id: https://develop.svn.wordpress.org/trunk@7334 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 18:18:35 +00:00
Ryan Boren 4557a4440f find_base_dir fixes from DD32. see #6245
git-svn-id: https://develop.svn.wordpress.org/trunk@7328 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 09:50:35 +00:00
Ryan Boren e9a73beaca FTP CWD fixes from DD32. see #6245
git-svn-id: https://develop.svn.wordpress.org/trunk@7327 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 09:49:10 +00:00
Ryan Boren 79f4ab9a35 i18n fixes from nbachiyski. fixes #6226
git-svn-id: https://develop.svn.wordpress.org/trunk@7300 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 19:56:43 +00:00
Ryan Boren 40da1d6412 Auto update fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7238 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 16:37:44 +00:00
Ryan Boren 4365b9da33 ftpsockets fix from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7171 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 18:14:58 +00:00
Ryan Boren 16185d747b wpfs fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7164 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 06:06:13 +00:00
Ryan Boren dc6c68d79a wp-fs fixes from DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7155 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 17:10:17 +00:00
Ryan Boren 6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren e05d09f0e6 Plugin updater updates. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7126 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-01 21:20:23 +00:00
Ryan Boren 1bd930f056 Instantiate errors object for ftpsockets class.
git-svn-id: https://develop.svn.wordpress.org/trunk@7033 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 05:23:05 +00:00
Ryan Boren 8a8ee94c63 Set eol-style to native
git-svn-id: https://develop.svn.wordpress.org/trunk@6919 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 00:12:48 +00:00
Ryan Boren 64cfa05c2e ftp fs tweaks. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@6785 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 08:46:11 +00:00
Ryan Boren 3064a1290c First cut at plugin update. Props DD32 for the filesystem abstraction. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@6779 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 05:45:54 +00:00