Commit Graph

3523 Commits

Author SHA1 Message Date
ryan
b4166c403b Allow queries by post type. Enable paging in Manage->Pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@3564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-21 08:39:58 +00:00
ryan
29540c8e2b Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-21 06:11:46 +00:00
ryan
c8e61c99b8 Oops. Missing paren.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 21:23:09 +00:00
ryan
decf6ec071 Move wp_cron from shutdown hook to init. It was acting all funky (in the bad way) in the shutdown hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 21:07:17 +00:00
ryan
0cda0d89f0 Check Published for future posts. fixes #2488
git-svn-id: http://svn.automattic.com/wordpress/trunk@3560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 21:00:19 +00:00
ryan
f517a9c06c Use current_time() instead of time(). fixes #2489
git-svn-id: http://svn.automattic.com/wordpress/trunk@3559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 17:15:13 +00:00
ryan
605d4a617a Fix post/page slug out. Props donncha. fixes #2472
git-svn-id: http://svn.automattic.com/wordpress/trunk@3558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 17:13:06 +00:00
ryan
2fc8c248b3 Add Publish button for pages. fixes #2451
git-svn-id: http://svn.automattic.com/wordpress/trunk@3550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 05:57:54 +00:00
ryan
35c2833427 Add alpha sort to wp_get_archives(). Props skippy. fixes #247
git-svn-id: http://svn.automattic.com/wordpress/trunk@3549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 02:07:13 +00:00
ryan
941ec0ff97 Blog privacy. fixes #2480
git-svn-id: http://svn.automattic.com/wordpress/trunk@3548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-18 07:40:43 +00:00
ryan
70197e85f3 Honor comment_status and ping_status when writing a new post. Props Mark Jaquith. fixes #2445
git-svn-id: http://svn.automattic.com/wordpress/trunk@3547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-18 00:16:41 +00:00
ryan
73affaa5c7 greymatter importer from bungeman. fixes #2464
git-svn-id: http://svn.automattic.com/wordpress/trunk@3546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-18 00:06:33 +00:00
ryan
0f14c31ff1 Use wp_specialchars() to avoid double encoding. Props zonble. fixes #2446
git-svn-id: http://svn.automattic.com/wordpress/trunk@3544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 02:05:40 +00:00
ryan
bfa59b9419 Remove extraneous paren. fixes #2448
git-svn-id: http://svn.automattic.com/wordpress/trunk@3543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:34:37 +00:00
ryan
f34023a445 clean comment author url. fixes #2454
git-svn-id: http://svn.automattic.com/wordpress/trunk@3542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:31:53 +00:00
ryan
e297c36253 Move raquo into gettext. Props SteveAgl. fixes #2453
git-svn-id: http://svn.automattic.com/wordpress/trunk@3541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:29:33 +00:00
ryan
96ee80d399 Remove useless lines. Props majelbstoat. fixes #2455
git-svn-id: http://svn.automattic.com/wordpress/trunk@3540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:25:10 +00:00
ryan
ec22fc85b3 Add post_content_filtered to insert and update in wp_insert_attachment(). Props bungeman. fixes #2457
git-svn-id: http://svn.automattic.com/wordpress/trunk@3539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:09:40 +00:00
ryan
e95ada23ce get_permalink() performance improvement from arnee. fixes #2463
git-svn-id: http://svn.automattic.com/wordpress/trunk@3538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:04:20 +00:00
ryan
34398e5a2e Make sure user_id is set before inserting. Props bungeman. fixes #2459
git-svn-id: http://svn.automattic.com/wordpress/trunk@3537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:00:18 +00:00
ryan
1d49d0373f Dynamic menu reparenting. fixes #2257
git-svn-id: http://svn.automattic.com/wordpress/trunk@3536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 00:57:10 +00:00
ryan
60d01b1f96 Use post_type not post_status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-15 07:16:58 +00:00
ryan
e9442d2d08 schedule future posts with cron when upgrading.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:48:44 +00:00
ryan
521f99d371 Correct inverted logic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:37:28 +00:00
ryan
e91aa85ce7 Bump db ver check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:25:36 +00:00
ryan
a37a1d7440 Give future posts a post_status of future when upgrading.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:22:22 +00:00
ryan
71ceecb82b dotclear importer fix from thomasq. fixes #2430
git-svn-id: http://svn.automattic.com/wordpress/trunk@3530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 22:32:25 +00:00
ryan
d30b5f1c99 Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: http://svn.automattic.com/wordpress/trunk@3529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 20:09:13 +00:00
ryan
bcb996e5d3 Don't show private and draft pages in post lists. fixes #2442
git-svn-id: http://svn.automattic.com/wordpress/trunk@3528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 06:23:03 +00:00
ryan
ecb85e38bb 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/trunk@3527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 01:30:14 +00:00
ryan
535d41ea76 If requesting post caps for a page, redirect to equivalent page caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 01:10:51 +00:00
ryan
f3faa6c75d Fix timestamps for future posts. fixes #2439
git-svn-id: http://svn.automattic.com/wordpress/trunk@3525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 00:12:09 +00:00
ryan
d0f14a4c93 Move generic_ping() to execute-pings.php. fixes #2440
git-svn-id: http://svn.automattic.com/wordpress/trunk@3524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-13 23:14:59 +00:00
ryan
a9fca43a85 get_page_by_path() tweak.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-13 07:04:14 +00:00
ryan
373424383e wp_cron() array warning fix ups from Owen. fixes #2436
git-svn-id: http://svn.automattic.com/wordpress/trunk@3522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-13 05:30:44 +00:00
ryan
c2f5986b03 Trackback only for published posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 09:07:37 +00:00
ryan
e316add4ea Category count fix from MichaelH. fixes #2212
git-svn-id: http://svn.automattic.com/wordpress/trunk@3520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 08:22:42 +00:00
ryan
8b166d5c9b User ref instead of copying. Props m4ttias. fixes #2256
git-svn-id: http://svn.automattic.com/wordpress/trunk@3519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 08:14:10 +00:00
ryan
e309d60bdb i18n fix for next month links from bob58. fixes #2399
git-svn-id: http://svn.automattic.com/wordpress/trunk@3518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 08:00:54 +00:00
ryan
dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan
17b47c6fe0 Hide add cat if user does not have mange_categories cap. Props Mark Jaquith. fixes #2432
git-svn-id: http://svn.automattic.com/wordpress/trunk@3516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:46:34 +00:00
ryan
30bb2362e2 dylsexia
git-svn-id: http://svn.automattic.com/wordpress/trunk@3515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:43:15 +00:00
ryan
a5fc1e9ebe Post status = future. #2426
git-svn-id: http://svn.automattic.com/wordpress/trunk@3514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:41:56 +00:00
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