Commit Graph

252 Commits

Author SHA1 Message Date
ryan
095e27c43a Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 22:11:33 +00:00
ryan
545da15950 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
ryan
3fc6097a5a phpdoc corrections from jacobsantos. see #7918
git-svn-id: http://svn.automattic.com/wordpress/trunk@9243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 20:46:30 +00:00
ryan
d7fccb66d3 Sanitation and error handling for plugin install. Props DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@9163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 15:56:33 +00:00
ryan
c209f15b5c Don't die with 503 if WP_INSTALLING. Don't load plugins if WP_INSTALLING. Remove old files and working dir before exiting maintenance mode. see #5560
git-svn-id: http://svn.automattic.com/wordpress/trunk@9085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 05:45:34 +00:00
azaozz
e1226189ad Fix typo in wp-settings.php. Props mictasm, fixes #7638
git-svn-id: http://svn.automattic.com/wordpress/trunk@8772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-29 09:32:48 +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
azaozz
a5d9355329 Revert 8562 (last was incorrect)
git-svn-id: http://svn.automattic.com/wordpress/trunk@8565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 01:00:33 +00:00
azaozz
dc9f3139a1 Revert 8562
git-svn-id: http://svn.automattic.com/wordpress/trunk@8564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 00:44:40 +00:00
azaozz
0c6394a0b9 Stop fatal error in post revisions when setting the include path is disabled. Props santosj, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 23:56:52 +00:00
ryan
3c99cfc4f5 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-01 05:00:07 +00:00
westi
33ad189d78 Make the validate_file check more explict and obvious.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 06:48:30 +00:00
azaozz
80c409458f Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: http://svn.automattic.com/wordpress/trunk@8495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 23:10:12 +00:00
ryan
a3a1f83d7f Use ORIG_PATH_INFO if PATH_INFO is not available. fixes #7058 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 16:26:59 +00:00
ryan
c94918ca9f i18n fixes from nbachiyski. fixes #7195
git-svn-id: http://svn.automattic.com/wordpress/trunk@8211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-28 16:27:21 +00:00
ryan
775ea980f3 Set auth cookie for plugins directory to support direct load plugin files that call auth_redirect(). see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 22:54:21 +00:00
ryan
f42b96cd5e Mark string that cannot be gettexted. Props nbachiyski. fixes #7074
git-svn-id: http://svn.automattic.com/wordpress/trunk@8168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-23 15:40:43 +00:00
ryan
6adcab8b27 Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-11 17:25:55 +00:00
ryan
b666a1c910 Cache get_plugins() list. Props DD32. fixes #7113
git-svn-id: http://svn.automattic.com/wordpress/trunk@8068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-10 16:57:33 +00:00
ryan
995fe002be Use siteurl instead of home. Props msi08. fixes #7050
git-svn-id: http://svn.automattic.com/wordpress/trunk@8006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-28 16:53:29 +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
9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +00:00
ryan
58e47dcb4a wp_cache_add_global_groups() and wp_cache_add_non_persistent_groups(). fixes #6740
git-svn-id: http://svn.automattic.com/wordpress/trunk@7986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 17:28:54 +00:00
ryan
bc07ef1efe Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: http://svn.automattic.com/wordpress/trunk@7961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 17:19:33 +00:00
ryan
b8654e4cdf Check WP_INSTALLING when setting cookiehash. Props DD32. fixes #6990
git-svn-id: http://svn.automattic.com/wordpress/trunk@7947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-18 20:06:31 +00:00
ryan
3c8cb2b079 Revisioning for pages from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 15:59:17 +00:00
ryan
8d6d1af393 Check if PATH_INFO is set to avoid undefined index errors. see #5160
git-svn-id: http://svn.automattic.com/wordpress/trunk@7757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-21 17:35:20 +00:00
ryan
6e662d708b Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:07:34 +00:00
westi
abb5051775 Improved wording for the missing mysql error message. Fixes #6141 props MtDewVirus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 08:44:59 +00:00
ryan
6e80433a40 Fallback to UTF-8 if not valid mb_internal_encoding. Props tenpura. fixes #6092
git-svn-id: http://svn.automattic.com/wordpress/trunk@7157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 19:25:00 +00:00
ryan
c2c7fa0aef Make sure encoding is not empty. Props tenpura. see #6902
git-svn-id: http://svn.automattic.com/wordpress/trunk@7156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 17:12:04 +00:00
ryan
6e181bb941 Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: http://svn.automattic.com/wordpress/trunk@7140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 21:05:23 +00:00
ryan
54f091eebf Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: http://svn.automattic.com/wordpress/trunk@6982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 17:36:09 +00:00
ryan
833447d59e Image size options from tellyworth. fixes #5933
git-svn-id: http://svn.automattic.com/wordpress/trunk@6952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 06:00:15 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
a5246f532f absint is not defined yet. see #4762
git-svn-id: http://svn.automattic.com/wordpress/trunk@6684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 20:00:17 +00:00
westi
520d17d7f0 Switch from abs(intval()) to absint(). See #4762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 18:48:38 +00:00
ryan
5c2f29c467 Increase memory limit. Props darkdragon. see #3141
git-svn-id: http://svn.automattic.com/wordpress/trunk@6681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-29 17:25:45 +00:00
ryan
f3d0aaee55 Require PHP 4.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@6662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 20:06:22 +00:00
matt
f529123061 First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-25 19:21:11 +00:00
ryan
251ad30066 Call WP::init() just before kicking the init action so that the current user is setup as early as possible. fixes #4181
git-svn-id: http://svn.automattic.com/wordpress/trunk@6586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 20:08:59 +00:00
ryan
479fc2e2b3 phpdoc tuneup from darkdragon. see #5611
git-svn-id: http://svn.automattic.com/wordpress/trunk@6585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-09 17:48:00 +00:00
westi
42def106d2 Use ' not " so we don't expand. Fixes #5546 props takayukister.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-29 09:10:51 +00:00
westi
d49cece4a3 Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:17:42 +00:00
ryan
e8dc86950e Custom DB error page. fixes #5500 for 2.4
git-svn-id: http://svn.automattic.com/wordpress/trunk@6447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-21 02:53:57 +00:00
westi
6950e2833b Fix @since for timer_start and timer_stop. See #5211.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 21:28:53 +00:00
westi
75dc7786a9 phpdoc for wp-settings.php. Fixes #5211 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 20:44:52 +00:00
ryan
29ef8b6f5f New secure cookie protocol. see #5367
git-svn-id: http://svn.automattic.com/wordpress/trunk@6387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-16 17:41:59 +00:00
ryan
9a94e7b26c Skip theme validation during normal blog page loads. fixes #3907
git-svn-id: http://svn.automattic.com/wordpress/trunk@6325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-08 04:04:15 +00:00