Commit Graph

3680 Commits

Author SHA1 Message Date
ryan
d6d431c1be Add new page caps now that pages can be draft or publish. Brings page caps to parity with posts. Add delete caps for posts and pages. fixes #2382 #2336 #2301
git-svn-id: http://svn.automattic.com/wordpress/trunk@3513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-11 09:56:02 +00:00
ryan
9f50b562b5 Pseudo-cron first cut. Props Owen. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-11 02:24:47 +00:00
ryan
67968a6127 get_page_by_path. Some page uri cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-10 00:54:16 +00:00
ryan
f812294867 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: http://svn.automattic.com/wordpress/trunk@3510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 10:03:48 +00:00
matt
28dbf2bf37 Nice new hook, fixes #2398
git-svn-id: http://svn.automattic.com/wordpress/trunk@3509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 09:03:13 +00:00
matt
8f3d06a864 Exclude cats like we said we would, davidhouse. Fixes #2215 and fixes #2187
git-svn-id: http://svn.automattic.com/wordpress/trunk@3508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 08:26:30 +00:00
matt
f4a34c7074 Better email error checking, fixes #2046
git-svn-id: http://svn.automattic.com/wordpress/trunk@3507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 08:11:26 +00:00
matt
d266a0d226 Don't falsely marketh as spam. Fixes #1560
git-svn-id: http://svn.automattic.com/wordpress/trunk@3506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 07:25:25 +00:00
ryan
66828c03e9 Use current_user_can
git-svn-id: http://svn.automattic.com/wordpress/trunk@3505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-07 01:06:04 +00:00
ryan
6c4e7e48d2 Disable cache by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-04 03:21:09 +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
ryan
042f170ed8 Remove unneeded (and broken) line. Props asher. fixes #2314
git-svn-id: http://svn.automattic.com/wordpress/trunk@3466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-20 21:02:59 +00:00
ryan
ee7a432c55 Cache flush improvements from Owen. fixes #2223 #2278
git-svn-id: http://svn.automattic.com/wordpress/trunk@3465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-19 22:12:15 +00:00
ryan
30be2a8f69 8 not 7. fixes #2283
git-svn-id: http://svn.automattic.com/wordpress/trunk@3464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-19 00:21:42 +00:00
ryan
fe8cbf801a Execute pings rework from skeltoac. #2197
git-svn-id: http://svn.automattic.com/wordpress/trunk@3463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-19 00:03:28 +00:00