Commit Graph

90 Commits

Author SHA1 Message Date
azaozz 7842ab84d9 Improve temp file name, props DD32, fixes #10224
git-svn-id: http://svn.automattic.com/wordpress/trunk@11712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-14 08:12:18 +00:00
ryan 75c820b140 Enforce stream_get_contents() requirement for ssh2 fs. Props dd32. fixes #10093 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-23 21:54:53 +00:00
ryan 9d293d9f0e Increase download_url() timeout from 30 to 60. see #10104
git-svn-id: http://svn.automattic.com/wordpress/trunk@11587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-16 19:39:31 +00:00
azaozz e53c5c50f7 Test writability of ABSPATH when upgrading core or WP_PLUGIN_DIR when installing/updating themes and plugins, fixes #9936
git-svn-id: http://svn.automattic.com/wordpress/trunk@11499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 21:08:03 +00:00
westi 7a9955a64a Fix plugin/theme upgrade issues when using ftp extension. Fixes #9980 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-30 17:14:07 +00:00
ryan a4a448741e Fix unlink warning. see #9936
git-svn-id: http://svn.automattic.com/wordpress/trunk@11465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 00:56:32 +00:00
azaozz b773a469eb Improve Filesystem method choice for 'direct'; introduce FS_METHOD constant, props DD32, fixes #9936
git-svn-id: http://svn.automattic.com/wordpress/trunk@11454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-25 10:39:21 +00:00
ryan 2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
markjaquith bdf8e8fb38 Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 22:40:56 +00:00
ryan 5924293d21 Update upload error strings. Props Askapache. fixes #9625
git-svn-id: http://svn.automattic.com/wordpress/trunk@11304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 17:02:34 +00:00
ryan 6f81ec436c Fix hiding off offscreen legends in Firefox. Props Denis-de-Bernardy. fixes #9783
git-svn-id: http://svn.automattic.com/wordpress/trunk@11283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 22:11:13 +00:00
westi 51ff5245cf Set empty file type if skipping file type check. Fixes notices when importing. See #9393 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-07 06:50:54 +00:00
markjaquith 6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz 83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
ryan 14177ba3ef get_home_path() improvements. Props akd907. fixes #9246
git-svn-id: http://svn.automattic.com/wordpress/trunk@11187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 02:45:40 +00:00
ryan 808079dc32 Use invisible class for hiding labels and legends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 21:28:58 +00:00
ryan 12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
westi c8c528f18e 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: http://svn.automattic.com/wordpress/trunk@11168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 09:12:12 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan 857a0563cf SS2 FS fixes. Props DD32. fixes #8210
git-svn-id: http://svn.automattic.com/wordpress/trunk@11063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 23:38:01 +00:00
ryan 1cd542a5e2 consolidate plugin/theme/core upgrade/install functions. Props DD32. see #7875
git-svn-id: http://svn.automattic.com/wordpress/trunk@11005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 19:36:28 +00:00
ryan 533114e89f Add screen icon for plugin upgrade. Props demetris. fixes #9410
git-svn-id: http://svn.automattic.com/wordpress/trunk@10850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-30 16:26:48 +00:00
ryan e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
westi cde6596747 Focus on the first blank field when asking for credentials for upgrade/install. Fixes #9061 props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 21:49:48 +00:00
ryan 6e78e3aaf4 Reset port when saving credntials. Props dwenaus and DD32. fixes #8580 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-12 20:12:16 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
azaozz 696e009118 Remove extra screen icons, fixes #8514
git-svn-id: http://svn.automattic.com/wordpress/trunk@10093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 01:55:06 +00:00
ryan 535db0f29a Allow override of default file permissions with FS_CHMOD_DIR and FS_CHMOD_FILE. Props DD32. see #8478
git-svn-id: http://svn.automattic.com/wordpress/trunk@10050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:58:46 +00:00
ryan 6941ef0547 Use binary mode for fopen in download_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@10048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:47:45 +00:00
azaozz a4f2b6960b Fix field labels in file.php, fixes #8456
git-svn-id: http://svn.automattic.com/wordpress/trunk@10018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-03 01:43:11 +00:00
ryan 27b2375a4f Fix upload error codes. Props sekundek. fixes #8310
git-svn-id: http://svn.automattic.com/wordpress/trunk@9930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:19:12 +00:00
azaozz f0b7562b48 More screen icons and fixes, includes patch by johnconners, fixes #8380
git-svn-id: http://svn.automattic.com/wordpress/trunk@9912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 23:35:23 +00:00
ryan 40c754df1d Unused var fixes. Props DD32. see #8220
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00
ryan 9861eb1a85 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:01:16 +00:00
ryan 778fe45e83 Revert [9523]. fixes #8195 see #7395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 18:48:54 +00:00
azaozz bd2112f197 Store uploads according to the parent post date when using year/month sub-directories
git-svn-id: http://svn.automattic.com/wordpress/trunk@9663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-13 18:22:00 +00:00
ryan 998dfc44e4 Increase memory limit when unzipping. fixes #8149
git-svn-id: http://svn.automattic.com/wordpress/trunk@9612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:11:48 +00:00
azaozz dad2d3b6f1 Add missing "button" class, props Simek, fixes #8067
git-svn-id: http://svn.automattic.com/wordpress/trunk@9527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 18:14:22 +00:00
ryan 4a4a04c076 Support installation of plugins living in a subdir in svn. Props DD32. fixes #7395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 17:07:45 +00:00
ryan d0519602a7 IF copy fails, chmod target to 0644 and try again
git-svn-id: http://svn.automattic.com/wordpress/trunk@9493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 17:16:41 +00:00
ryan 76edf7888a Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@9460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 06:57:00 +00:00
ryan 843149dfa3 Pass along POST info when requesting credentials
git-svn-id: http://svn.automattic.com/wordpress/trunk@9459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-01 06:56:38 +00:00
ryan 6bcdf328b2 Give downloads a longer timeout. see #7793
git-svn-id: http://svn.automattic.com/wordpress/trunk@9186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 16:38:17 +00:00
ryan 97f11e8f42 Report curl errors
git-svn-id: http://svn.automattic.com/wordpress/trunk@9185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 16:35:35 +00:00
ryan 19120448af Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@9165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 16:37:08 +00:00
ryan aceef65ba0 Use set_time_limit() to buy some time during upgrade. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@9164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 16:36:43 +00:00
ryan bb87dcac69 Convert download_url() to http api. Props DD32. see #7793
git-svn-id: http://svn.automattic.com/wordpress/trunk@9142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 23:41:03 +00:00
ryan 5fd146865b phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:03:26 +00:00
ryan 9c89b7fb9e ssh2 fs fixes from ShaneF and DD32. see #7690
git-svn-id: http://svn.automattic.com/wordpress/trunk@8880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-13 18:06:20 +00:00
ryan 231d08add2 Handle ssh keys in ssf2 fs. Props ShaneF. see #7690
git-svn-id: http://svn.automattic.com/wordpress/trunk@8865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 17:44:43 +00:00