Commit Graph

90 Commits

Author SHA1 Message Date
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
Ryan Boren 15392065d3 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@9460 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 06:57:00 +00:00
Ryan Boren 9e262e7d0f Pass along POST info when requesting credentials
git-svn-id: https://develop.svn.wordpress.org/trunk@9459 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 06:56:38 +00:00
Ryan Boren 3db8a45955 Give downloads a longer timeout. see #7793
git-svn-id: https://develop.svn.wordpress.org/trunk@9186 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-15 16:38:17 +00:00
Ryan Boren 1bd22eb542 Report curl errors
git-svn-id: https://develop.svn.wordpress.org/trunk@9185 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-15 16:35:35 +00:00
Ryan Boren 335bea59ba Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@9165 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 16:37:08 +00:00
Ryan Boren 5b794466f4 Use set_time_limit() to buy some time during upgrade. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@9164 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 16:36:43 +00:00
Ryan Boren c1d3d0cf35 Convert download_url() to http api. Props DD32. see #7793
git-svn-id: https://develop.svn.wordpress.org/trunk@9142 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 23:41:03 +00:00
Ryan Boren f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +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