Commit Graph

186 Commits

Author SHA1 Message Date
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
Andrew Ozz
291dfd9a4e SSH2 filesystem improvements, props ShaneF, see #7690
git-svn-id: https://develop.svn.wordpress.org/trunk@8852 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-09 03:24:05 +00:00
Ryan Boren
eb093c7182 Don't append HTTPOnly if cookie domain is empty. see #7677
git-svn-id: https://develop.svn.wordpress.org/trunk@8811 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 05:35:58 +00:00
Peter Westwood
761360fa68 Add names for attachment templates, fix page template name extraction. See #7576.
git-svn-id: https://develop.svn.wordpress.org/trunk@8718 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-23 09:49:52 +00:00
Ryan Boren
dd385234e4 Use WP_CONTENT_PATH to find find files. Props Terragg. fixes #7575 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8716 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-22 22:55:30 +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
7d958a43d1 Automatic upgrade, first cut. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@8595 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 22:49:35 +00:00
Ryan Boren
80a4ec8e37 Fix bad bracketing in unzip_file()
git-svn-id: https://develop.svn.wordpress.org/trunk@8580 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 19:15:04 +00:00
Peter Westwood
0d522c3898 Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Ryan Boren
f56c238807 Image sideloader fix from noel. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8192 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-25 16:45:04 +00:00
Ryan Boren
8712abb23c Delete plugin confirmation from DD32. see #7091
git-svn-id: https://develop.svn.wordpress.org/trunk@8095 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 18:35:48 +00:00
Ryan Boren
c9fe66f9c8 Use WP_CONTENT_DIR to fix theme editor file loading. Props ionfish. fixes #7097
git-svn-id: https://develop.svn.wordpress.org/trunk@8053 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-05 16:39:20 +00:00
Ryan Boren
3d6cc17ced Press This enhancement from noel. see #7066
git-svn-id: https://develop.svn.wordpress.org/trunk@8048 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 16:13:55 +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
9faab00411 Add some page template validation
git-svn-id: https://develop.svn.wordpress.org/trunk@7921 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 23:51:54 +00:00
Ryan Boren
b8799eb470 Use full path to fs abstraction class. Props DD32. fixes #6912
git-svn-id: https://develop.svn.wordpress.org/trunk@7895 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 17:06:29 +00:00
Ryan Boren
b1629f1455 tempnam workarounds from DD32. see #6465
git-svn-id: https://develop.svn.wordpress.org/trunk@7840 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-25 21:34:54 +00:00
Ryan Boren
32e9822516 Use error handler instead of die when moving files to upload dir fails. Props simonwheatley. fixes #6450 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7644 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:01:59 +00:00
Ryan Boren
69139c4672 Return WP_Error from download_url() on HTTP Errors. Fix cases where current plugin filename differs from the WordPress.org slug. Props DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7547 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-27 07:36:30 +00:00
Ryan Boren
e6c6a44a6c Enable wpfs auto selection. Props DD32. seee #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7414 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 06:08:27 +00:00
Ryan Boren
045e4af5d0 Fix typo in ftpext class. Handle safe mode errors. PRops DD32. see #5586
git-svn-id: https://develop.svn.wordpress.org/trunk@7393 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 02:46:27 +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
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
7d6440bba2 Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7172 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 19:48:54 +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
fdb55cf267 get_temp_dir(). fixes #5984
git-svn-id: https://develop.svn.wordpress.org/trunk@7058 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 00:47:15 +00:00
Ryan Boren
26fadd399f Revert [7054]. No idea how I managed that.
git-svn-id: https://develop.svn.wordpress.org/trunk@7055 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 00:36:33 +00:00
Ryan Boren
a1a893cc0c Fix users query
git-svn-id: https://develop.svn.wordpress.org/trunk@7054 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 00:25:08 +00:00
Ryan Boren
bdc4f31eda Add new file descriptions for the theme editor. Props SteveAgl. fixes #5897
git-svn-id: https://develop.svn.wordpress.org/trunk@6892 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-18 17:05:37 +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
Ryan Boren
791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren
e605fb7f4d Extra traversal check.
git-svn-id: https://develop.svn.wordpress.org/trunk@6520 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-29 03:14:33 +00:00
Ryan Boren
49d95f21c1 unique filename fixes from tellyworth. fixes #5482
git-svn-id: https://develop.svn.wordpress.org/trunk@6401 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-18 03:32:43 +00:00
Ryan Boren
f4d8e3a731 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: https://develop.svn.wordpress.org/trunk@6390 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 21:34:48 +00:00
Mark Jaquith
a18368bf3f Properly name files with unknown extensions (for people with unfiltered_upload cap, natch). props Nazgul. fixes #4974 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6116 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-14 21:13:23 +00:00
Ryan Boren
b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren
627652c9ee Set eol-style
git-svn-id: https://develop.svn.wordpress.org/trunk@5566 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 00:04:33 +00:00
Matt Mullenweg
824eb7db2a A helpful pointer for a possible cause of this error.
git-svn-id: https://develop.svn.wordpress.org/trunk@5565 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 22:08:42 +00:00
Ryan Boren
09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00