Commit Graph

3540 Commits

Author SHA1 Message Date
Ryan Boren 93ec2ffd02 wp_list_cats() rework. Add walk_tree() and walk_category_tree(). Use get_categories() for query.
git-svn-id: https://develop.svn.wordpress.org/trunk@3582 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-01 13:30:19 +00:00
Ryan Boren 55ba231f8e What's up front? #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@3581 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-01 07:08:04 +00:00
Ryan Boren 0b9513d43c walk_page_tree() fix from Mark J. fixes #2516
git-svn-id: https://develop.svn.wordpress.org/trunk@3579 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 21:02:10 +00:00
Ryan Boren 9055457e82 Fix page walk bug. fixes #2516
git-svn-id: https://develop.svn.wordpress.org/trunk@3578 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 11:19:04 +00:00
Ryan Boren f7ee176581 More comment cookie sanitation.
git-svn-id: https://develop.svn.wordpress.org/trunk@3577 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 09:49:06 +00:00
Ryan Boren a1d0a8e672 Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@3576 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 08:00:39 +00:00
Ryan Boren 71232c4705 Add name arg to wp_dropdown_pages().
git-svn-id: https://develop.svn.wordpress.org/trunk@3575 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 06:11:59 +00:00
Ryan Boren e0feeb161a Strip all html from comment author name, email, and url.
git-svn-id: https://develop.svn.wordpress.org/trunk@3574 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 04:22:24 +00:00
Ryan Boren 68b90359ea wp_dropdown_pages() and walk_page_tree()
git-svn-id: https://develop.svn.wordpress.org/trunk@3573 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 03:57:08 +00:00
Ryan Boren 966f2abfe2 _SERVER is not escaped by magic_quotes_gpc so don't strip it.
git-svn-id: https://develop.svn.wordpress.org/trunk@3572 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 01:52:59 +00:00
Ryan Boren ba5d6bafdd Fix post save/delete redirects. fixes #2505 #2502
git-svn-id: https://develop.svn.wordpress.org/trunk@3571 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 05:15:13 +00:00
Ryan Boren a2f5fa5254 Bookmark/link rework. #2499
git-svn-id: https://develop.svn.wordpress.org/trunk@3570 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 04:57:30 +00:00
Ryan Boren fea381e8de Mac meta keys from Alex King. fixes #2182
git-svn-id: https://develop.svn.wordpress.org/trunk@3569 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-24 03:55:25 +00:00
Ryan Boren 44f922a6ae Fix Write a post link in Dashboard. fixes #2503
git-svn-id: https://develop.svn.wordpress.org/trunk@3568 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-23 20:09:50 +00:00
Ryan Boren bc8f242382 Fix edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@3567 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:17:28 +00:00
Ryan Boren cd4a8a24c5 current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:08:55 +00:00
Ryan Boren c25a2ca7af Hide cookie layout behind wp_get_cookie_login() so that plugins can customize the cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@3565 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 07:30:28 +00:00
Ryan Boren dd489dd463 Allow queries by post type. Enable paging in Manage->Pages
git-svn-id: https://develop.svn.wordpress.org/trunk@3564 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-21 08:39:58 +00:00
Ryan Boren b4351fd870 Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3563 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-21 06:11:46 +00:00
Ryan Boren 02c324dd68 Oops. Missing paren.
git-svn-id: https://develop.svn.wordpress.org/trunk@3562 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 21:23:09 +00:00
Ryan Boren 5932545a46 Move wp_cron from shutdown hook to init. It was acting all funky (in the bad way) in the shutdown hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@3561 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 21:07:17 +00:00
Ryan Boren 30c5d8a624 Check Published for future posts. fixes #2488
git-svn-id: https://develop.svn.wordpress.org/trunk@3560 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 21:00:19 +00:00
Ryan Boren 24f330346d Use current_time() instead of time(). fixes #2489
git-svn-id: https://develop.svn.wordpress.org/trunk@3559 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 17:15:13 +00:00
Ryan Boren 5177b31702 Fix post/page slug out. Props donncha. fixes #2472
git-svn-id: https://develop.svn.wordpress.org/trunk@3558 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 17:13:06 +00:00
Ryan Boren bcf84b6e6d Add Publish button for pages. fixes #2451
git-svn-id: https://develop.svn.wordpress.org/trunk@3550 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-19 05:57:54 +00:00
Ryan Boren ae48463e5d Add alpha sort to wp_get_archives(). Props skippy. fixes #247
git-svn-id: https://develop.svn.wordpress.org/trunk@3549 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-19 02:07:13 +00:00
Ryan Boren 28961b459c Blog privacy. fixes #2480
git-svn-id: https://develop.svn.wordpress.org/trunk@3548 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-18 07:40:43 +00:00
Ryan Boren f2979042e5 Honor comment_status and ping_status when writing a new post. Props Mark Jaquith. fixes #2445
git-svn-id: https://develop.svn.wordpress.org/trunk@3547 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-18 00:16:41 +00:00
Ryan Boren f598aff5b6 greymatter importer from bungeman. fixes #2464
git-svn-id: https://develop.svn.wordpress.org/trunk@3546 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-18 00:06:33 +00:00
Ryan Boren d5629b2d53 Use wp_specialchars() to avoid double encoding. Props zonble. fixes #2446
git-svn-id: https://develop.svn.wordpress.org/trunk@3544 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 02:05:40 +00:00
Ryan Boren e7c7898311 Remove extraneous paren. fixes #2448
git-svn-id: https://develop.svn.wordpress.org/trunk@3543 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:34:37 +00:00
Ryan Boren bac53166c4 clean comment author url. fixes #2454
git-svn-id: https://develop.svn.wordpress.org/trunk@3542 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:31:53 +00:00
Ryan Boren e5c3552381 Move raquo into gettext. Props SteveAgl. fixes #2453
git-svn-id: https://develop.svn.wordpress.org/trunk@3541 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:29:33 +00:00
Ryan Boren b8eba14ffa Remove useless lines. Props majelbstoat. fixes #2455
git-svn-id: https://develop.svn.wordpress.org/trunk@3540 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:25:10 +00:00
Ryan Boren 5e2a95ac8e Add post_content_filtered to insert and update in wp_insert_attachment(). Props bungeman. fixes #2457
git-svn-id: https://develop.svn.wordpress.org/trunk@3539 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:09:40 +00:00
Ryan Boren 7ba0ac70b4 get_permalink() performance improvement from arnee. fixes #2463
git-svn-id: https://develop.svn.wordpress.org/trunk@3538 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:04:20 +00:00
Ryan Boren cb87fb3b7f Make sure user_id is set before inserting. Props bungeman. fixes #2459
git-svn-id: https://develop.svn.wordpress.org/trunk@3537 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:00:18 +00:00
Ryan Boren 99cf0b7b90 Dynamic menu reparenting. fixes #2257
git-svn-id: https://develop.svn.wordpress.org/trunk@3536 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 00:57:10 +00:00
Ryan Boren 181d539681 Use post_type not post_status.
git-svn-id: https://develop.svn.wordpress.org/trunk@3535 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-15 07:16:58 +00:00
Ryan Boren a5e4c0a7d9 schedule future posts with cron when upgrading.
git-svn-id: https://develop.svn.wordpress.org/trunk@3534 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:48:44 +00:00
Ryan Boren c28dad5a86 Correct inverted logic.
git-svn-id: https://develop.svn.wordpress.org/trunk@3533 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:37:28 +00:00
Ryan Boren fc5b064604 Bump db ver check.
git-svn-id: https://develop.svn.wordpress.org/trunk@3532 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:25:36 +00:00
Ryan Boren 6add46af14 Give future posts a post_status of future when upgrading.
git-svn-id: https://develop.svn.wordpress.org/trunk@3531 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 23:22:22 +00:00
Ryan Boren 14e0e16c39 dotclear importer fix from thomasq. fixes #2430
git-svn-id: https://develop.svn.wordpress.org/trunk@3530 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 22:32:25 +00:00
Ryan Boren 4fc77411ee Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: https://develop.svn.wordpress.org/trunk@3529 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 20:09:13 +00:00
Ryan Boren b8dd301bf4 Don't show private and draft pages in post lists. fixes #2442
git-svn-id: https://develop.svn.wordpress.org/trunk@3528 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 06:23:03 +00:00
Ryan Boren 0fff955751 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: https://develop.svn.wordpress.org/trunk@3527 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 01:30:14 +00:00
Ryan Boren 143d456a7f If requesting post caps for a page, redirect to equivalent page caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@3526 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 01:10:51 +00:00
Ryan Boren 7bb0afb636 Fix timestamps for future posts. fixes #2439
git-svn-id: https://develop.svn.wordpress.org/trunk@3525 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 00:12:09 +00:00
Ryan Boren 6b1c03c07e Move generic_ping() to execute-pings.php. fixes #2440
git-svn-id: https://develop.svn.wordpress.org/trunk@3524 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 23:14:59 +00:00