Commit Graph

100 Commits

Author SHA1 Message Date
Ryan Boren
0042fa7b7c Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: https://develop.svn.wordpress.org/trunk@12310 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 22:03:13 +00:00
Ryan Boren
3821d10f89 Fix wpfs root dir location. Props dd32. fixes #11152
git-svn-id: https://develop.svn.wordpress.org/trunk@12268 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 21:52:13 +00:00
Andrew Ozz
4a79139c26 Fix typo, props Harald Nesland, fixes #11002
git-svn-id: https://develop.svn.wordpress.org/trunk@12152 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-06 10:53:41 +00:00
Andrew Ozz
92d16fba05 Add phpdoc and extra filter to file.php, props dd32, fixes #11002
git-svn-id: https://develop.svn.wordpress.org/trunk@12151 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 23:03:48 +00:00
Ryan Boren
af42a894f0 Bring in wp_handle_upload_prefilter from MU
git-svn-id: https://develop.svn.wordpress.org/trunk@12142 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 14:24:20 +00:00
Peter Westwood
2fac03c837 Handle the file upload case on import when post_max_size is smaller than upload_max_filesize and no POST data arrives at all. Fixes #10830.
git-svn-id: https://develop.svn.wordpress.org/trunk@11963 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-23 07:06:58 +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
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
ff64167d03 Remove dot and silence errors in get_filesystem_method()
git-svn-id: https://develop.svn.wordpress.org/trunk@11819 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 08:03:48 +00:00
Andrew Ozz
04b7cd96b4 Strip slashes from POST data in request_filesystem_credentials(), props dd32, fixes #10567
git-svn-id: https://develop.svn.wordpress.org/trunk@11808 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-13 06:03:26 +00:00
Andrew Ozz
f6aaf08cbf Improve temp file name, props DD32, fixes #10224
git-svn-id: https://develop.svn.wordpress.org/trunk@11712 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:12:18 +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
Ryan Boren
ef1354b925 Increase download_url() timeout from 30 to 60. see #10104
git-svn-id: https://develop.svn.wordpress.org/trunk@11587 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-16 19:39:31 +00:00
Andrew Ozz
85df37ac27 Test writability of ABSPATH when upgrading core or WP_PLUGIN_DIR when installing/updating themes and plugins, fixes #9936
git-svn-id: https://develop.svn.wordpress.org/trunk@11499 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-31 21:08:03 +00:00
Peter Westwood
89249d1f77 Fix plugin/theme upgrade issues when using ftp extension. Fixes #9980 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11495 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-30 17:14:07 +00:00
Ryan Boren
c7767c9808 Fix unlink warning. see #9936
git-svn-id: https://develop.svn.wordpress.org/trunk@11465 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 00:56:32 +00:00
Andrew Ozz
b6d0536c00 Improve Filesystem method choice for 'direct'; introduce FS_METHOD constant, props DD32, fixes #9936
git-svn-id: https://develop.svn.wordpress.org/trunk@11454 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-25 10:39:21 +00:00
Ryan Boren
e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Mark Jaquith
a2bf4db52b Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:40:56 +00:00
Ryan Boren
58ab59ad76 Update upload error strings. Props Askapache. fixes #9625
git-svn-id: https://develop.svn.wordpress.org/trunk@11304 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 17:02:34 +00:00
Ryan Boren
9a1ebaa73b Fix hiding off offscreen legends in Firefox. Props Denis-de-Bernardy. fixes #9783
git-svn-id: https://develop.svn.wordpress.org/trunk@11283 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 22:11:13 +00:00
Peter Westwood
fa31602215 Set empty file type if skipping file type check. Fixes notices when importing. See #9393 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@11227 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 06:50:54 +00:00
Mark Jaquith
c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz
3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren
5b834b6daa get_home_path() improvements. Props akd907. fixes #9246
git-svn-id: https://develop.svn.wordpress.org/trunk@11187 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 02:45:40 +00:00
Ryan Boren
4a047f4240 Use invisible class for hiding labels and legends.
git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 21:28:58 +00:00
Ryan Boren
cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Peter Westwood
5db0851318 Support single line Template Name comment blocks for theme Templates and apply same cleanup to all header lines. Fixes #8497 props DD32 and Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11168 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 09:12:12 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +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
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
436520dc92 Add screen icon for plugin upgrade. Props demetris. fixes #9410
git-svn-id: https://develop.svn.wordpress.org/trunk@10850 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-30 16:26:48 +00:00
Ryan Boren
8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Peter Westwood
5203c03197 Focus on the first blank field when asking for credentials for upgrade/install. Fixes #9061 props rmccue.
git-svn-id: https://develop.svn.wordpress.org/trunk@10628 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 21:49:48 +00:00
Ryan Boren
55216d87ac Reset port when saving credntials. Props dwenaus and DD32. fixes #8580 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10198 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-12 20:12:16 +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
161d70aeb9 Remove extra screen icons, fixes #8514
git-svn-id: https://develop.svn.wordpress.org/trunk@10093 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 01:55:06 +00:00
Ryan Boren
1c84611441 Allow override of default file permissions with FS_CHMOD_DIR and FS_CHMOD_FILE. Props DD32. see #8478
git-svn-id: https://develop.svn.wordpress.org/trunk@10050 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 21:58:46 +00:00
Ryan Boren
2e8d387c34 Use binary mode for fopen in download_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@10048 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 21:47:45 +00:00
Andrew Ozz
4194adcfd3 Fix field labels in file.php, fixes #8456
git-svn-id: https://develop.svn.wordpress.org/trunk@10018 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-03 01:43:11 +00:00
Ryan Boren
0bd7e4aa71 Fix upload error codes. Props sekundek. fixes #8310
git-svn-id: https://develop.svn.wordpress.org/trunk@9930 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 21:19:12 +00:00
Andrew Ozz
0b85e05cda More screen icons and fixes, includes patch by johnconners, fixes #8380
git-svn-id: https://develop.svn.wordpress.org/trunk@9912 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 23:35:23 +00:00
Ryan Boren
fab4e5a68e Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 18:10:35 +00:00
Ryan Boren
2dc15c5a81 Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 23:01:16 +00:00
Ryan Boren
a070a5e38f Revert [9523]. fixes #8195 see #7395
git-svn-id: https://develop.svn.wordpress.org/trunk@9664 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 18:48:54 +00:00
Andrew Ozz
f587fabad8 Store uploads according to the parent post date when using year/month sub-directories
git-svn-id: https://develop.svn.wordpress.org/trunk@9663 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 18:22:00 +00:00
Ryan Boren
eb10add065 Increase memory limit when unzipping. fixes #8149
git-svn-id: https://develop.svn.wordpress.org/trunk@9612 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-11 19:11:48 +00:00
Andrew Ozz
464fdd9e4d Add missing "button" class, props Simek, fixes #8067
git-svn-id: https://develop.svn.wordpress.org/trunk@9527 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 18:14:22 +00:00
Ryan Boren
742c91322a Support installation of plugins living in a subdir in svn. Props DD32. fixes #7395
git-svn-id: https://develop.svn.wordpress.org/trunk@9523 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 17:07:45 +00:00
Ryan Boren
20addd1346 IF copy fails, chmod target to 0644 and try again
git-svn-id: https://develop.svn.wordpress.org/trunk@9493 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 17:16:41 +00:00