Commit Graph

3787 Commits

Author SHA1 Message Date
ryan
0c110bc342 Fix page walk bug. fixes #2516
git-svn-id: http://svn.automattic.com/wordpress/trunk@3578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 11:19:04 +00:00
ryan
25c2dcac3c More comment cookie sanitation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 09:49:06 +00:00
ryan
6eadde74ac Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 08:00:39 +00:00
ryan
740d8f1c1f Add name arg to wp_dropdown_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 06:11:59 +00:00
ryan
672530a9da Strip all html from comment author name, email, and url.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 04:22:24 +00:00
ryan
803c970527 wp_dropdown_pages() and walk_page_tree()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 03:57:08 +00:00
ryan
be1f99d329 _SERVER is not escaped by magic_quotes_gpc so don't strip it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 01:52:59 +00:00
ryan
1de4321d0b Fix post save/delete redirects. fixes #2505 #2502
git-svn-id: http://svn.automattic.com/wordpress/trunk@3571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-27 05:15:13 +00:00
ryan
e9c75f4bd2 Bookmark/link rework. #2499
git-svn-id: http://svn.automattic.com/wordpress/trunk@3570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-27 04:57:30 +00:00
ryan
0bc5aae7ef Mac meta keys from Alex King. fixes #2182
git-svn-id: http://svn.automattic.com/wordpress/trunk@3569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-24 03:55:25 +00:00
ryan
c8f803dfbd Fix Write a post link in Dashboard. fixes #2503
git-svn-id: http://svn.automattic.com/wordpress/trunk@3568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-23 20:09:50 +00:00
ryan
83728df100 Fix edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 19:17:28 +00:00
ryan
5322fc2faa current user cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 19:08:55 +00:00
ryan
e06ed8c9b6 Hide cookie layout behind wp_get_cookie_login() so that plugins can customize the cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 07:30:28 +00:00
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