Commit Graph

3584 Commits

Author SHA1 Message Date
ryan
1acb5366d9 Make sure posts array is not empty before checking preview state. #2498
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 02:18:55 +00:00
ryan
b81908910f Back port of #2398 to 2.0 branch. fixes #2398
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 03:08:56 +00:00
ryan
d235862593 DB escaping in fix_attachment_links(). #2434
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 02:49:06 +00:00
ryan
4fb60ce690 Sanitize comment coookies.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-01 21:17:34 +00:00
ryan
b66c98e979 _SERVER is not escaped by magic_quotes_gpc so don't strip it.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 21:50:06 +00:00
ryan
7ddf41069e i18n fix for next month links from bob58. fixes #2399
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 11:25:30 +00:00
ryan
10c4b7f229 Category count fix from MichaelH. fixes #2212
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 11:24:21 +00:00
ryan
b4166d8f13 Fix edit and delete page buttons. Props wellsdjohn. fixes #2382
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 11:22:28 +00:00
ryan
879bd88403 Honor comment_status and ping_status when writing a new post. Props Mark Jaquith. fixes #2445
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 10:57:27 +00:00
ryan
b0955e263c Hide add cat if user does not have mange_categories cap. Props Mark Jaquith. fixes #2432
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 10:52:03 +00:00
ryan
f8df40a153 Use current_user_can. fixes #2441
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 10:47:51 +00:00
ryan
1f2edc0f05 Don't walk rewrite structure when generating comment feed rewrite rules. This fixes a bug uncovered when we switched from unions to merges. Props joshkidd. fixes #2379
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 10:28:09 +00:00
ryan
bd2ef6f582 2.0 branch
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 23:54:32 +00:00
ryan
7ce71f8001 WordPress 2.0.1
git-svn-id: http://svn.automattic.com/wordpress/tags/2.0.1@3503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-01 22:11:17 +00:00
matt
7d7b32416c Bump!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-31 20:05:42 +00:00
ryan
4f895adff7 Remove execute bit from uploaded files. #2190
git-svn-id: http://svn.automattic.com/wordpress/trunk@3501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-30 22:03:06 +00:00
ryan
537e956fbc Add text/javascript header to cat-js.php. Props Juergen. fixes #2351
git-svn-id: http://svn.automattic.com/wordpress/trunk@3500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-30 21:39:20 +00:00
ryan
fa6f173c88 Remove core_files_loaded action due to general uselessness. fixes #2347
git-svn-id: http://svn.automattic.com/wordpress/trunk@3499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-30 21:29:22 +00:00
ryan
60ccea94fd Check if HTTP_RAW_POST_DATA is set to avoid undefined var warning. Props Juergen. fixes #2350
git-svn-id: http://svn.automattic.com/wordpress/trunk@3498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-30 21:19:44 +00:00
ryan
f035ac9b20 Make check_admin_referer() pluggable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 23:06:58 +00:00
ryan
81908816ab Flush all_page_ids when a page is addded or deleted.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 19:58:48 +00:00
ryan
325a641cac Delete usermeta field if set to empty string. Props David House. fixes #2341
git-svn-id: http://svn.automattic.com/wordpress/trunk@3495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 19:48:09 +00:00
ryan
cd678d9a32 Allow empty usermeta fields. Props David House. fixes #2341
git-svn-id: http://svn.automattic.com/wordpress/trunk@3494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 00:21:48 +00:00
ryan
e4e35319e1 Fix RSD link. Props Juergen. fixes #2349
git-svn-id: http://svn.automattic.com/wordpress/trunk@3493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 00:15:57 +00:00
ryan
1fe8b77d26 TB fix. fixes #2197
git-svn-id: http://svn.automattic.com/wordpress/trunk@3492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 00:12:14 +00:00
ryan
5c166af378 CGI ping fixes. fixes #2197
git-svn-id: http://svn.automattic.com/wordpress/trunk@3491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-28 18:41:19 +00:00
matt
dd14d47290 Caching typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-28 06:19:11 +00:00
ryan
a191df007e Make sure we have an array. Props David House. fixes #2344
git-svn-id: http://svn.automattic.com/wordpress/trunk@3489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-27 19:22:55 +00:00
ryan
a225d305fa Reinstate user_firstname, user_lastname, and user_description in the user object for backwards compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-27 18:14:33 +00:00
ryan
10c1b81d0a Use double quotes. fixes #2332
git-svn-id: http://svn.automattic.com/wordpress/trunk@3487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-26 02:33:14 +00:00
ryan
710a6ef5b5 post_custom cleanup. fixes #2160
git-svn-id: http://svn.automattic.com/wordpress/trunk@3486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 07:38:43 +00:00
ryan
f87324b259 update_option_* actions. fixes #2332
git-svn-id: http://svn.automattic.com/wordpress/trunk@3485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 06:46:21 +00:00
ryan
72dfd6faab 404 if category not found. fixes #2123
git-svn-id: http://svn.automattic.com/wordpress/trunk@3484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:59:41 +00:00
ryan
e868acbee9 Role display fix from Owen. fixes #2338
git-svn-id: http://svn.automattic.com/wordpress/trunk@3483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:44:35 +00:00
ryan
9cff7433a7 add_role() fix from nielshackius. fixes #2298
git-svn-id: http://svn.automattic.com/wordpress/trunk@3482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:39:59 +00:00
ryan
99385a2f18 Username sanitization cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:09:16 +00:00
ryan
9afb7a18db Upload links fix. fixes #2337
git-svn-id: http://svn.automattic.com/wordpress/trunk@3480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 00:49:13 +00:00
ryan
f5b9962831 uksort() not usort()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 09:44:17 +00:00
ryan
392ba189b3 Bumpity, bump, bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 07:53:26 +00:00
ryan
4c08bf3d7c Sort plugins by plugin name, not file name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 07:48:21 +00:00
ryan
7cba6fd969 Don't list current theme in the availablet themes list.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 07:38:29 +00:00
ryan
7310346328 wp-mail quote escaping fix from majelbstoat. fixes #2209
git-svn-id: http://svn.automattic.com/wordpress/trunk@3475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:49:22 +00:00
ryan
6a4f2fbec8 add_query_arg() fix from majelbstoat. fixes #2326
git-svn-id: http://svn.automattic.com/wordpress/trunk@3474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:42:25 +00:00
ryan
9a6867aa44 is_preview() fixes from David House. fixes #2188
git-svn-id: http://svn.automattic.com/wordpress/trunk@3473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:39:56 +00:00
ryan
f4071a3759 Use array_append() instead of unions. Props majelbstoat. fixes #2321
git-svn-id: http://svn.automattic.com/wordpress/trunk@3472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:20:17 +00:00
matt
cdc37f33a4 Compat function, fixes #2319
git-svn-id: http://svn.automattic.com/wordpress/trunk@3471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:15:17 +00:00
matt
51944d9f2c Link OPML changes, fixes #2325
git-svn-id: http://svn.automattic.com/wordpress/trunk@3470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:10:08 +00:00
ryan
2c5c084ccc updateOtherIcon. fixes #2315
git-svn-id: http://svn.automattic.com/wordpress/trunk@3469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-21 05:41:52 +00:00
ryan
b708753730 Don't use glob. Props David House. fixes #2312
git-svn-id: http://svn.automattic.com/wordpress/trunk@3468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-20 21:09:19 +00:00
ryan
3fa51b528a Make sure we have an array. Props Ozh and David House. fixes #2313
git-svn-id: http://svn.automattic.com/wordpress/trunk@3467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-20 21:07:10 +00:00