Commit Graph

176 Commits

Author SHA1 Message Date
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
azaozz
f4bc8da1a7 SSH2 filesystem improvements, props ShaneF, see #7690
git-svn-id: http://svn.automattic.com/wordpress/trunk@8852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-09 03:24:05 +00:00
ryan
d3abd242b0 Don't append HTTPOnly if cookie domain is empty. see #7677
git-svn-id: http://svn.automattic.com/wordpress/trunk@8811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 05:35:58 +00:00
westi
74b0ab00d2 Add names for attachment templates, fix page template name extraction. See #7576.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-23 09:49:52 +00:00
ryan
35dfa69559 Use WP_CONTENT_PATH to find find files. Props Terragg. fixes #7575 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 22:55:30 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
05305465e4 Automatic upgrade, first cut. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@8595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 22:49:35 +00:00
ryan
57e2267904 Fix bad bracketing in unzip_file()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 19:15:04 +00:00
westi
35f46f0d4b Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
ryan
b42b7b33a7 Image sideloader fix from noel. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-25 16:45:04 +00:00
ryan
22e486c4f8 Delete plugin confirmation from DD32. see #7091
git-svn-id: http://svn.automattic.com/wordpress/trunk@8095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 18:35:48 +00:00
ryan
f3de02cca6 Use WP_CONTENT_DIR to fix theme editor file loading. Props ionfish. fixes #7097
git-svn-id: http://svn.automattic.com/wordpress/trunk@8053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-05 16:39:20 +00:00
ryan
6aaddbee0a Press This enhancement from noel. see #7066
git-svn-id: http://svn.automattic.com/wordpress/trunk@8048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-04 16:13:55 +00:00
ryan
ffd63e3b33 Make WP_Filesystem work with new directory constants. Props DD32. fixes #7059
git-svn-id: http://svn.automattic.com/wordpress/trunk@8009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 17:29:32 +00:00
ryan
6c8d35de32 Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: http://svn.automattic.com/wordpress/trunk@7999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:55:24 +00:00
ryan
dcf35ab2ed Add some page template validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@7921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 23:51:54 +00:00
ryan
742f09dbc7 Use full path to fs abstraction class. Props DD32. fixes #6912
git-svn-id: http://svn.automattic.com/wordpress/trunk@7895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-05 17:06:29 +00:00
ryan
2a8733a159 tempnam workarounds from DD32. see #6465
git-svn-id: http://svn.automattic.com/wordpress/trunk@7840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-25 21:34:54 +00:00
ryan
796ae7104e Use error handler instead of die when moving files to upload dir fails. Props simonwheatley. fixes #6450 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 16:01:59 +00:00
ryan
3cfb4b406c 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: http://svn.automattic.com/wordpress/trunk@7547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-27 07:36:30 +00:00
ryan
3b9c0f73d5 Enable wpfs auto selection. Props DD32. seee #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-20 06:08:27 +00:00
ryan
12c62fa4d4 Fix typo in ftpext class. Handle safe mode errors. PRops DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 02:46:27 +00:00
ryan
568d64e73e FTP CWD fixes from DD32. see #6245
git-svn-id: http://svn.automattic.com/wordpress/trunk@7327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-16 09:49:10 +00:00
ryan
d1753e67e6 Auto update fixes from DD32. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 16:37:44 +00:00
ryan
c506a8173c Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@7172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 19:48:54 +00:00
ryan
04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan
c71d96e269 Plugin updater updates. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@7126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-01 21:20:23 +00:00
ryan
15c0ccc933 get_temp_dir(). fixes #5984
git-svn-id: http://svn.automattic.com/wordpress/trunk@7058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:47:15 +00:00
ryan
03b47d4ddc Revert [7054]. No idea how I managed that.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:36:33 +00:00
ryan
fb02817dfc Fix users query
git-svn-id: http://svn.automattic.com/wordpress/trunk@7054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 00:25:08 +00:00
ryan
b8621c5f1e Add new file descriptions for the theme editor. Props SteveAgl. fixes #5897
git-svn-id: http://svn.automattic.com/wordpress/trunk@6892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-18 17:05:37 +00:00
ryan
9aab2ce97a First cut at plugin update. Props DD32 for the filesystem abstraction. see #5586
git-svn-id: http://svn.automattic.com/wordpress/trunk@6779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-11 05:45:54 +00:00
ryan
1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan
5104e0dad0 Extra traversal check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-29 03:14:33 +00:00
ryan
83ccac4372 unique filename fixes from tellyworth. fixes #5482
git-svn-id: http://svn.automattic.com/wordpress/trunk@6401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-18 03:32:43 +00:00
ryan
e9c9b1fbf2 Import file attachments. Props tellyworth. fixes #5466
git-svn-id: http://svn.automattic.com/wordpress/trunk@6390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 21:34:48 +00:00
markjaquith
d3db272764 Properly name files with unknown extensions (for people with unfiltered_upload cap, natch). props Nazgul. fixes #4974 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-14 21:13:23 +00:00
ryan
2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan
e3f7055082 Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 00:04:33 +00:00
matt
0ee4823f71 A helpful pointer for a possible cause of this error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 22:08:42 +00:00
ryan
770613e763 Admin includes reorg. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 07:16:21 +00:00