Commit Graph

1673 Commits

Author SHA1 Message Date
Ryan Boren
8409e85f53 Remove unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@3812 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-31 01:40:25 +00:00
Ryan Boren
1647921f71 wp_salt() and more hash work.
git-svn-id: https://develop.svn.wordpress.org/trunk@3811 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-31 01:40:00 +00:00
Ryan Boren
feb562c29f wp_hash() and server secret.
git-svn-id: https://develop.svn.wordpress.org/trunk@3810 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-31 00:24:03 +00:00
Ryan Boren
041d63a599 Add some user filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@3800 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 22:47:13 +00:00
Ryan Boren
e29ccde9a1 Add some category filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@3799 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 22:14:55 +00:00
Ryan Boren
73c56126c0 base64 cached objects and store within multi-line comment block to avoid CRLF injections into the cache. Props Peter Westwood.
git-svn-id: https://develop.svn.wordpress.org/trunk@3798 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 21:14:36 +00:00
Ryan Boren
a3d2d527f8 sanitize_user regex fix from grigs. fixes #2729
git-svn-id: https://develop.svn.wordpress.org/trunk@3795 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 17:27:51 +00:00
Ryan Boren
add8a92036 Enclosure redirect fix from aegrumet. fixes #2551
git-svn-id: https://develop.svn.wordpress.org/trunk@3793 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 17:25:48 +00:00
Ryan Boren
a868cae733 Handle robots.txt requests and obey blog_plubic setting.
git-svn-id: https://develop.svn.wordpress.org/trunk@3791 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 22:06:06 +00:00
Ryan Boren
a08173016f Add parse_request, send_headers, and wp actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@3789 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 19:23:46 +00:00
Ryan Boren
60eeedbcd9 Script loader from mdawaffe. #2701
git-svn-id: https://develop.svn.wordpress.org/trunk@3788 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 17:16:05 +00:00
Ryan Boren
19ead08256 Add publish_page hook
git-svn-id: https://develop.svn.wordpress.org/trunk@3787 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-19 17:22:19 +00:00
Ryan Boren
855864396f Improvements to the nonce AYS from mdawaffe. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3783 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-18 06:49:22 +00:00
Ryan Boren
ab83e29c5c Apply bloginfo_rss filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@3782 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-18 01:23:25 +00:00
Ryan Boren
672dbe7edc Fallback to admin referer check instead of nonce if no action is given to check_admin_referer(). For plugin compatibility.
git-svn-id: https://develop.svn.wordpress.org/trunk@3774 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-17 00:28:26 +00:00
Ryan Boren
8f12196bd1 Remove private posts from front page query. Aadd private posts and page caps. fixes #2613
git-svn-id: https://develop.svn.wordpress.org/trunk@3772 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-11 23:13:35 +00:00
Matt Mullenweg
104a56563c Lots of style and admin tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@3770 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-10 20:35:10 +00:00
Ryan Boren
e0d1ccd210 Add file deletion filter. Props to that Andy guy. fixes #2703
git-svn-id: https://develop.svn.wordpress.org/trunk@3768 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-09 22:44:51 +00:00
Ryan Boren
a72fbca9d1 Category query cleanups from skeltoac. fixes #2709
git-svn-id: https://develop.svn.wordpress.org/trunk@3767 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-08 02:16:24 +00:00
Ryan Boren
8cf29e9e4d Better escaping of strings used in JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@3763 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-05 07:49:05 +00:00
Ryan Boren
27b9cbad2a Pass action to check_admin_referer hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@3761 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-04 09:23:17 +00:00
Ryan Boren
b96cd6f60c nonce functions. #2678
git-svn-id: https://develop.svn.wordpress.org/trunk@3758 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-02 22:08:34 +00:00
Ryan Boren
cb4b90ebd8 Return user ID if email exists.
git-svn-id: https://develop.svn.wordpress.org/trunk@3753 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-27 04:24:14 +00:00
Ryan Boren
d983d337d4 Div balance across more. Props skeltoac. fixes #2348
git-svn-id: https://develop.svn.wordpress.org/trunk@3751 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-25 08:46:19 +00:00
Ryan Boren
aa850594af Fix page depth, again. PRops skeltoac. fixes #2690
git-svn-id: https://develop.svn.wordpress.org/trunk@3750 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-25 00:05:59 +00:00
Ryan Boren
54f3ab72d5 Add some prophylactic int casts and quoting.
git-svn-id: https://develop.svn.wordpress.org/trunk@3740 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-22 00:02:00 +00:00
Matt Mullenweg
be72546992 Updating eol-style native. We must remember to do this when adding new files.
git-svn-id: https://develop.svn.wordpress.org/trunk@3730 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 10:13:28 +00:00
Matt Mullenweg
8658f214f8 Tidy comment_author_url_link just like we do on the bookmarks page
git-svn-id: https://develop.svn.wordpress.org/trunk@3723 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 08:36:45 +00:00
Ryan Boren
0d4e7d2db3 Move htmlentities2 to functions-formatting.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3717 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 03:03:27 +00:00
Ryan Boren
be2be64b99 Remove comment_count_cache. fixes #2670
git-svn-id: https://develop.svn.wordpress.org/trunk@3716 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:53:02 +00:00
Ryan Boren
fb212022a3 Don't forget to pass args. Props Mike Little. fixes #2668
git-svn-id: https://develop.svn.wordpress.org/trunk@3715 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:33:47 +00:00
Ryan Boren
63c32823bd Reorg comment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3714 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:32:12 +00:00
Ryan Boren
2e6f4d8cc2 Move clean_url() to functions-formatting.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3713 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:58:38 +00:00
Ryan Boren
8928035208 Move url_to_postid() to rewrite.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3712 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:47:26 +00:00
Ryan Boren
85ed7859d1 Move theme functions to theme.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3711 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:44:33 +00:00
Ryan Boren
e76c8695e1 Escape single quotes in options.php. fixes #2656
git-svn-id: https://develop.svn.wordpress.org/trunk@3710 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-17 23:33:08 +00:00
Ryan Boren
6c81ba3cab We like big inputs. fixes #2662
git-svn-id: https://develop.svn.wordpress.org/trunk@3709 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-17 23:27:18 +00:00
Ryan Boren
e3e8dfeef4 Make sure permalinks for draft pages use query string style since the slug might not be set yet.
git-svn-id: https://develop.svn.wordpress.org/trunk@3708 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-15 00:59:40 +00:00
Ryan Boren
96db8df95e Default show description option to off for bookmarks list, for now. This seems to be the preferred default.
git-svn-id: https://develop.svn.wordpress.org/trunk@3707 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 05:02:08 +00:00
Ryan Boren
4c868ad943 Default category lists to hierarchical. Update default theme to use wp_list_categories(). Props David House. fixes #2653
git-svn-id: https://develop.svn.wordpress.org/trunk@3706 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:51:45 +00:00
Ryan Boren
8cdd21978f Add wp_revoke_user() and WP_User::remove_all_caps() to help those doing multi blog stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@3705 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:49:38 +00:00
Ryan Boren
112af5d381 Move page walkers to classes. Props David House. fixes #2593
git-svn-id: https://develop.svn.wordpress.org/trunk@3704 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:40:48 +00:00
Ryan Boren
2aece33f8b Thwart the browser cache by versioning tinyMCE. Props to that Andy guy. fixes #2658
git-svn-id: https://develop.svn.wordpress.org/trunk@3703 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 02:57:25 +00:00
Ryan Boren
97a795b914 Split on '; ' not ';'.
git-svn-id: https://develop.svn.wordpress.org/trunk@3702 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-09 22:57:23 +00:00
Matt Mullenweg
7caac09279 walk_tree broken, fixes #2608
git-svn-id: https://develop.svn.wordpress.org/trunk@3701 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-09 22:08:18 +00:00
Ryan Boren
0b6cff1a29 Mac users deserve their own backwards popup layout. Props to that Andy guy. fixes #2645
git-svn-id: https://develop.svn.wordpress.org/trunk@3698 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-06 09:56:56 +00:00
Matt Mullenweg
0004abe8a7 Formatting and eol fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3697 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-06 05:25:50 +00:00
Ryan Boren
eda9ffad88 Removed unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@3696 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-06 00:44:35 +00:00
Ryan Boren
321eeeb875 New SACK and DBX releases and some list manip fixes from mdawaffe. fixes #2642
git-svn-id: https://develop.svn.wordpress.org/trunk@3695 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-05 20:58:57 +00:00
Ryan Boren
4d5eb321e7 Paging fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3694 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-05 20:48:29 +00:00
Ryan Boren
f677c0a9c9 List filters from David House. fixes #2328
git-svn-id: https://develop.svn.wordpress.org/trunk@3691 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 02:02:12 +00:00
Ryan Boren
f1a38b0b9d ob_end_clean() in printr(). Props doit-cu. fixes #2297
git-svn-id: https://develop.svn.wordpress.org/trunk@3689 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 01:02:19 +00:00
Ryan Boren
c08c837e42 texturize fix from that Andy guy. fixes #2634
git-svn-id: https://develop.svn.wordpress.org/trunk@3686 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 00:47:33 +00:00
Matt Mullenweg
d17b992895 Remove use of deprecated variables, don't show bookmarklet form to unrecognized browser.
git-svn-id: https://develop.svn.wordpress.org/trunk@3685 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 00:25:04 +00:00
Ryan Boren
5a51ac7c8e Do a therapuetic double strip on HTTP_IF_MODIFIED_SINCE since we code in an imperfect world. fixes #2597
git-svn-id: https://develop.svn.wordpress.org/trunk@3682 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-03 05:59:03 +00:00
Ryan Boren
27d9f0f97f Don't texturize home. Props Mark Jaquith and David House. fixes #2381
git-svn-id: https://develop.svn.wordpress.org/trunk@3681 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-03 03:04:39 +00:00
Ryan Boren
6f355ce778 Get all error messages with get_error_messages().
git-svn-id: https://develop.svn.wordpress.org/trunk@3679 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:48:14 +00:00
Ryan Boren
4bbee1b73c Some optimization of the post query. #2604
git-svn-id: https://develop.svn.wordpress.org/trunk@3678 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:33:10 +00:00
Ryan Boren
e622346b7d WP_Locale. Props Sewar. fixes #2568
git-svn-id: https://develop.svn.wordpress.org/trunk@3676 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:20:11 +00:00
Ryan Boren
0a7f308884 Prompt for confirmation for mailapprovecomment action. Props mdawaffe. fixes #2615
git-svn-id: https://develop.svn.wordpress.org/trunk@3671 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-31 08:32:30 +00:00
Ryan Boren
fa8d1959e2 Pluggable install functions. fixes #2616
git-svn-id: https://develop.svn.wordpress.org/trunk@3670 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-31 08:07:39 +00:00
Ryan Boren
3f23e768fe Move DB prefix dependent code to separate init routines that can be called independently when the prefix changes. These methods are for internal use only.
git-svn-id: https://develop.svn.wordpress.org/trunk@3668 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:35:42 +00:00
Ryan Boren
657b7d8176 WP_Error. fixes #2600
git-svn-id: https://develop.svn.wordpress.org/trunk@3667 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:18:14 +00:00
Ryan Boren
e706f8cf36 Return after delete so we don't re-add an empty field.
git-svn-id: https://develop.svn.wordpress.org/trunk@3666 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:15:35 +00:00
Ryan Boren
5a5b80e6a0 Ref checks from mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3665 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:12:54 +00:00
Ryan Boren
aa88f20cff tinyMCE 2.0.5 coming at you live. fixes #2598
git-svn-id: https://develop.svn.wordpress.org/trunk@3664 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 07:50:33 +00:00
Ryan Boren
bd6323c272 Future post pinging and cron fixups from masquerade. fixes #2469
git-svn-id: https://develop.svn.wordpress.org/trunk@3663 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 07:36:54 +00:00
Ryan Boren
febb22fa7e Filter comments when updating. Props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3662 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 20:41:13 +00:00
Ryan Boren
cb23290318 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: https://develop.svn.wordpress.org/trunk@3660 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-29 01:51:55 +00:00
Ryan Boren
6d474bde7a update_option() action fix. fixes #2553
git-svn-id: https://develop.svn.wordpress.org/trunk@3659 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-25 21:46:53 +00:00
Ryan Boren
f70e7fc267 Retrieve bookmarks for multiple cats. Props MichaelH. fixes #2592
git-svn-id: https://develop.svn.wordpress.org/trunk@3658 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-24 19:22:22 +00:00
Ryan Boren
ff7c3f55e4 Add meta_key and meta_value options to get_posts() and get_pages(). Props MichaelH. fixes #2563
git-svn-id: https://develop.svn.wordpress.org/trunk@3656 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 22:46:38 +00:00
Ryan Boren
956f814c41 Add include param to get_posts(), get_categories(), get_pages(), and get_bookmarks(). Props MichaelH. fixes #2562
git-svn-id: https://develop.svn.wordpress.org/trunk@3655 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 04:26:50 +00:00
Ryan Boren
26d26f8ce6 Fix backreferences in mysql2date(). Props tenpura. fixes #2564
git-svn-id: https://develop.svn.wordpress.org/trunk@3654 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 04:19:52 +00:00
Ryan Boren
46e081fba2 Put categories dbx box up top and open. fixes #2493
git-svn-id: https://develop.svn.wordpress.org/trunk@3651 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-21 00:25:58 +00:00
Ryan Boren
2f7058acca Don't try to do paging for single page queries. Props westi. fixes #2578
git-svn-id: https://develop.svn.wordpress.org/trunk@3649 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-20 21:19:33 +00:00
Ryan Boren
940499731d edit_comment_link fix from westi. fixes #2559
git-svn-id: https://develop.svn.wordpress.org/trunk@3647 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-20 19:45:46 +00:00
Ryan Boren
7a89d5f0bd Post paging rework from David House. fixes #2536
git-svn-id: https://develop.svn.wordpress.org/trunk@3646 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-20 19:43:57 +00:00
Ryan Boren
eab1586158 Comment feed fixes from David House. fixes #2570
git-svn-id: https://develop.svn.wordpress.org/trunk@3644 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-17 01:16:22 +00:00
Ryan Boren
2216ca5092 ent2ncr optimization. Props random. fixes #2548
git-svn-id: https://develop.svn.wordpress.org/trunk@3641 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-14 02:48:36 +00:00
Ryan Boren
9f23849f9c Remove smilies sort. Props random. fixes #2550
git-svn-id: https://develop.svn.wordpress.org/trunk@3640 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-14 02:32:59 +00:00
Ryan Boren
e2108969c4 Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3639 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-13 01:44:32 +00:00
Ryan Boren
b573abbd16 Rewrite API additions and improvements from David House. #2433
git-svn-id: https://develop.svn.wordpress.org/trunk@3638 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-12 22:57:00 +00:00
Ryan Boren
5fd8e9c8f5 Cron fixes from mdawaffe. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3636 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-08 05:51:42 +00:00
Ryan Boren
91fbcd183e Cron fixes from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3635 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 22:34:05 +00:00
Ryan Boren
457b4b5251 Cron improvements from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3634 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:43:59 +00:00
Ryan Boren
20c6baad57 Don't add UTC offset again when formatting 'U' in mysql2date. Props masquerade. fixes #2537
git-svn-id: https://develop.svn.wordpress.org/trunk@3633 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:24:49 +00:00
Ryan Boren
5ce70ede4b Language support for TinyMCE. Props capt_kirk and Stephen Chu. fixes #2476
git-svn-id: https://develop.svn.wordpress.org/trunk@3623 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-06 22:51:28 +00:00
Ryan Boren
ac58b495e7 Relative links in RTE. fixes #2492
git-svn-id: https://develop.svn.wordpress.org/trunk@3612 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-04 22:44:51 +00:00
Ryan Boren
0a30296803 Isolate backref. fixes #2521
git-svn-id: https://develop.svn.wordpress.org/trunk@3610 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-04 22:41:16 +00:00
Ryan Boren
31dded8a36 Back compat fixes for get_links().
git-svn-id: https://develop.svn.wordpress.org/trunk@3606 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-04 20:39:51 +00:00
Ryan Boren
241fd10669 Normalize argument names.
git-svn-id: https://develop.svn.wordpress.org/trunk@3605 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 21:38:36 +00:00
Ryan Boren
5e18dd3e86 prefix not table_prefix. Props Kafkaesqui. fixes #2528
git-svn-id: https://develop.svn.wordpress.org/trunk@3604 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 20:36:40 +00:00
Ryan Boren
4489be47f5 Use table prefix from wpdb. Props Mark J. #2524
git-svn-id: https://develop.svn.wordpress.org/trunk@3603 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 17:19:05 +00:00
Ryan Boren
e800b7823f Forget to group with parens on [3600]. #2498
git-svn-id: https://develop.svn.wordpress.org/trunk@3601 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 02:17:14 +00:00
Ryan Boren
be34c79158 Make sure posts array is not empty before checking preview state. #2498
git-svn-id: https://develop.svn.wordpress.org/trunk@3600 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 02:14:31 +00:00
Ryan Boren
a429dd1cd9 Use array_merge() to set defaults.
git-svn-id: https://develop.svn.wordpress.org/trunk@3595 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 06:37:00 +00:00
Ryan Boren
c4d9df2c99 Allow args to be passed as query string or as associative array. This avoid multiple parse_str calls when passing args along and provides choice on the cheap.
git-svn-id: https://develop.svn.wordpress.org/trunk@3594 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 05:47:59 +00:00
Ryan Boren
e2df169ed3 Move links.php to template-functions-bookmarks.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3593 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 04:59:27 +00:00
Ryan Boren
50d6b727d8 s/get_linkz/get_bookmarks/
git-svn-id: https://develop.svn.wordpress.org/trunk@3592 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 04:55:31 +00:00
Ryan Boren
621da95d0d Add wp_dropdown_categories(). Deprecate dropdown_categories(). Add wp_list_categories() and make wp_list_cats() an alias.
git-svn-id: https://develop.svn.wordpress.org/trunk@3591 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 04:51:24 +00:00
Ryan Boren
25dc212067 Actually move these this time. #2520
git-svn-id: https://develop.svn.wordpress.org/trunk@3590 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:31:43 +00:00
Ryan Boren
64173c9918 Move deprecated functions to deprecated.php. #2520
git-svn-id: https://develop.svn.wordpress.org/trunk@3589 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:27:48 +00:00
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
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
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
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
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
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
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
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
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
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
Ryan Boren
03f0909476 get_page_by_path() tweak.
git-svn-id: https://develop.svn.wordpress.org/trunk@3523 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 07:04:14 +00:00
Ryan Boren
953064226a wp_cron() array warning fix ups from Owen. fixes #2436
git-svn-id: https://develop.svn.wordpress.org/trunk@3522 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-13 05:30:44 +00:00
Ryan Boren
0fc597ee9e User ref instead of copying. Props m4ttias. fixes #2256
git-svn-id: https://develop.svn.wordpress.org/trunk@3519 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 08:14:10 +00:00
Ryan Boren
c4def34475 i18n fix for next month links from bob58. fixes #2399
git-svn-id: https://develop.svn.wordpress.org/trunk@3518 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 08:00:54 +00:00
Ryan Boren
6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
1f6ae7587d dylsexia
git-svn-id: https://develop.svn.wordpress.org/trunk@3515 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:43:15 +00:00
Ryan Boren
f156e83af5 Post status = future. #2426
git-svn-id: https://develop.svn.wordpress.org/trunk@3514 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:41:56 +00:00
Ryan Boren
bde96bc025 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: https://develop.svn.wordpress.org/trunk@3513 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 09:56:02 +00:00
Ryan Boren
cf622439d5 Pseudo-cron first cut. Props Owen. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3512 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-11 02:24:47 +00:00
Ryan Boren
91421a7124 get_page_by_path. Some page uri cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3511 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-10 00:54:16 +00:00
Ryan Boren
f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Matt Mullenweg
3388fce967 Exclude cats like we said we would, davidhouse. Fixes #2215 and fixes #2187
git-svn-id: https://develop.svn.wordpress.org/trunk@3508 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 08:26:30 +00:00
Matt Mullenweg
b17e0b1ef3 Better email error checking, fixes #2046
git-svn-id: https://develop.svn.wordpress.org/trunk@3507 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 08:11:26 +00:00
Matt Mullenweg
0628227ea0 Don't falsely marketh as spam. Fixes #1560
git-svn-id: https://develop.svn.wordpress.org/trunk@3506 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 07:25:25 +00:00
Ryan Boren
6cb2813239 Use current_user_can
git-svn-id: https://develop.svn.wordpress.org/trunk@3505 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-07 01:06:04 +00:00
Ryan Boren
8a9ce54916 Disable cache by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@3504 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-04 03:21:09 +00:00
Matt Mullenweg
753a2c01ad Bump!
git-svn-id: https://develop.svn.wordpress.org/trunk@3502 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-31 20:05:42 +00:00
Ryan Boren
d9f55997b3 Make check_admin_referer() pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3497 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 23:06:58 +00:00
Ryan Boren
ef222cf77c Flush all_page_ids when a page is addded or deleted.
git-svn-id: https://develop.svn.wordpress.org/trunk@3496 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 19:58:48 +00:00
Ryan Boren
b0907797f3 Delete usermeta field if set to empty string. Props David House. fixes #2341
git-svn-id: https://develop.svn.wordpress.org/trunk@3495 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 19:48:09 +00:00
Ryan Boren
e729765dca Allow empty usermeta fields. Props David House. fixes #2341
git-svn-id: https://develop.svn.wordpress.org/trunk@3494 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 00:21:48 +00:00
Ryan Boren
8ebb403282 Fix RSD link. Props Juergen. fixes #2349
git-svn-id: https://develop.svn.wordpress.org/trunk@3493 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-29 00:15:57 +00:00
Ryan Boren
2307a29c94 CGI ping fixes. fixes #2197
git-svn-id: https://develop.svn.wordpress.org/trunk@3491 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-28 18:41:19 +00:00
Matt Mullenweg
88aba4e4c2 Caching typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@3490 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-28 06:19:11 +00:00
Ryan Boren
e3834a8f51 Make sure we have an array. Props David House. fixes #2344
git-svn-id: https://develop.svn.wordpress.org/trunk@3489 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-27 19:22:55 +00:00
Ryan Boren
47d31a3d8d Reinstate user_firstname, user_lastname, and user_description in the user object for backwards compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@3488 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-27 18:14:33 +00:00
Ryan Boren
9bd8f4ee17 Use double quotes. fixes #2332
git-svn-id: https://develop.svn.wordpress.org/trunk@3487 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-26 02:33:14 +00:00
Ryan Boren
c9096b231b post_custom cleanup. fixes #2160
git-svn-id: https://develop.svn.wordpress.org/trunk@3486 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 07:38:43 +00:00
Ryan Boren
97c6c5ee4f update_option_* actions. fixes #2332
git-svn-id: https://develop.svn.wordpress.org/trunk@3485 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 06:46:21 +00:00
Ryan Boren
c89ddb677f 404 if category not found. fixes #2123
git-svn-id: https://develop.svn.wordpress.org/trunk@3484 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 03:59:41 +00:00
Ryan Boren
9ffb23ab68 add_role() fix from nielshackius. fixes #2298
git-svn-id: https://develop.svn.wordpress.org/trunk@3482 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 03:39:59 +00:00
Ryan Boren
a2e19bdbef Username sanitization cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3481 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 03:09:16 +00:00
Ryan Boren
6afd559cb2 Bumpity, bump, bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3478 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-24 07:53:26 +00:00
Ryan Boren
017660016b add_query_arg() fix from majelbstoat. fixes #2326
git-svn-id: https://develop.svn.wordpress.org/trunk@3474 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:42:25 +00:00
Ryan Boren
28bd6692a0 is_preview() fixes from David House. fixes #2188
git-svn-id: https://develop.svn.wordpress.org/trunk@3473 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:39:56 +00:00
Ryan Boren
dc34d7be58 Use array_append() instead of unions. Props majelbstoat. fixes #2321
git-svn-id: https://develop.svn.wordpress.org/trunk@3472 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:20:17 +00:00
Matt Mullenweg
55cb586498 Compat function, fixes #2319
git-svn-id: https://develop.svn.wordpress.org/trunk@3471 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:15:17 +00:00
Ryan Boren
373ecf32fb Don't use glob. Props David House. fixes #2312
git-svn-id: https://develop.svn.wordpress.org/trunk@3468 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-20 21:09:19 +00:00
Ryan Boren
c2835f7266 Make sure we have an array. Props Ozh and David House. fixes #2313
git-svn-id: https://develop.svn.wordpress.org/trunk@3467 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-20 21:07:10 +00:00
Ryan Boren
c87ff19cf0 Cache flush improvements from Owen. fixes #2223 #2278
git-svn-id: https://develop.svn.wordpress.org/trunk@3465 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-19 22:12:15 +00:00
Ryan Boren
10bc034888 8 not 7. fixes #2283
git-svn-id: https://develop.svn.wordpress.org/trunk@3464 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-19 00:21:42 +00:00
Ryan Boren
080c0c2bb5 Add ENABLE_CACHE flag to force persistent cache enable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3462 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 22:21:40 +00:00
Ryan Boren
769f95e6e6 Fall back to default theme if current theme is deleted. Props David House. fixes #2305
git-svn-id: https://develop.svn.wordpress.org/trunk@3459 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 19:38:29 +00:00
Ryan Boren
006f02c99c Give draft posts a current timestamp. Props David House and technosailor. fixes #2164
git-svn-id: https://develop.svn.wordpress.org/trunk@3458 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 19:30:28 +00:00
Ryan Boren
d06dfa3478 Pass comment ID to comment email filters. Props Mark Jaquith. fixes #2307
git-svn-id: https://develop.svn.wordpress.org/trunk@3455 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 18:49:28 +00:00
Ryan Boren
d1e7e7e9b7 sanitize_user() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3454 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 05:37:26 +00:00
Ryan Boren
e165c3394e wp_roles cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@3452 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 01:06:11 +00:00
Matt Mullenweg
5275f2eef6 get_post_custom_values update. Fixes #2160
git-svn-id: https://develop.svn.wordpress.org/trunk@3448 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-17 01:01:17 +00:00
Matt Mullenweg
07463c0755 Better HTTPS support - fixes #2283
git-svn-id: https://develop.svn.wordpress.org/trunk@3445 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-16 23:04:09 +00:00
Ryan Boren
3329ef57fd Use ->comments instead of . fixes #2294
git-svn-id: https://develop.svn.wordpress.org/trunk@3442 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-16 20:03:56 +00:00
Ryan Boren
353b0b2b5c wp_specialchars the request uri when contructing paging links. fixes #1686
git-svn-id: https://develop.svn.wordpress.org/trunk@3440 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-15 23:42:10 +00:00
Ryan Boren
6a0ee8785c i18n fix from pandem. fixes #2292
git-svn-id: https://develop.svn.wordpress.org/trunk@3438 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-15 22:04:21 +00:00
Ryan Boren
f08416af58 More upload path tweaks. fixes #2271
git-svn-id: https://develop.svn.wordpress.org/trunk@3437 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-14 22:09:51 +00:00
Ryan Boren
0d0a6b876d Disable peristent cache when safe_mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@3436 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-14 21:22:48 +00:00
Ryan Boren
79da568b81 Acquire lock when flushing cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3435 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-14 00:05:22 +00:00
Ryan Boren
f8f6b07e9c Force absolute lookup. Props tanuki. fixes #2237
git-svn-id: https://develop.svn.wordpress.org/trunk@3433 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 22:40:22 +00:00
Ryan Boren
ba8e3e8d47 Make the xmlrpc user the current user. fixes #2273
git-svn-id: https://develop.svn.wordpress.org/trunk@3430 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 19:19:09 +00:00
Ryan Boren
835a8b9992 kses regex tweakage for better comment filtering. fixes #2130
git-svn-id: https://develop.svn.wordpress.org/trunk@3429 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-13 07:28:47 +00:00
Ryan Boren
1f90fd76bf Trigger pre_ping action outside of loop. Props Mark Jaquith. fixes #2269
git-svn-id: https://develop.svn.wordpress.org/trunk@3427 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-11 21:35:36 +00:00
Ryan Boren
ecbd16bf50 Don't overwrite global request when starting a new query.
git-svn-id: https://develop.svn.wordpress.org/trunk@3426 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-11 11:06:26 +00:00
Ryan Boren
1ea86684f4 Add gettext filter. fixes #2258
git-svn-id: https://develop.svn.wordpress.org/trunk@3425 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-10 22:53:40 +00:00
Ryan Boren
3974041405 Rerun comment text back through kses.
git-svn-id: https://develop.svn.wordpress.org/trunk@3418 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-10 01:27:36 +00:00
Ryan Boren
06532a3304 Pass comments through kses. Props tsimmons. fixes #2130 #2167
git-svn-id: https://develop.svn.wordpress.org/trunk@3417 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 23:49:56 +00:00
Ryan Boren
bb0f6ddb1c Bump version.
git-svn-id: https://develop.svn.wordpress.org/trunk@3414 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:29:36 +00:00
Ryan Boren
ad6ed9c744 Add upload folder options. Props David House. fixes #2206
git-svn-id: https://develop.svn.wordpress.org/trunk@3413 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-09 22:24:57 +00:00
Ryan Boren
915517c4f2 Save cache after the shutdown hook runs. fixes #2232
git-svn-id: https://develop.svn.wordpress.org/trunk@3411 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 02:10:43 +00:00
Ryan Boren
c4ba2f4bfe Fix get_post_meta() array return. fixes #2183
git-svn-id: https://develop.svn.wordpress.org/trunk@3410 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 01:30:13 +00:00
Ryan Boren
016361ea34 Avoid invoking template filters twice. Props David House. fixes #2225
git-svn-id: https://develop.svn.wordpress.org/trunk@3409 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 01:09:16 +00:00
Ryan Boren
8845339de9 Don't cache posts when importing. fixes #2224
git-svn-id: https://develop.svn.wordpress.org/trunk@3404 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 05:34:28 +00:00
Ryan Boren
78d90dda67 Remove printr calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@3403 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 05:27:31 +00:00
Ryan Boren
04cd1038db Don't remove top level cache dir when flushing.
git-svn-id: https://develop.svn.wordpress.org/trunk@3402 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 04:50:58 +00:00
Ryan Boren
d702816be5 Add [L] to rewrite rule. Props cavemonkey50. fixes #2222
git-svn-id: https://develop.svn.wordpress.org/trunk@3401 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 03:47:38 +00:00
Ryan Boren
a984308f14 More reliable cache flusher that does not require glob().
git-svn-id: https://develop.svn.wordpress.org/trunk@3400 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 02:56:42 +00:00
Ryan Boren
dc9a9382c2 Fix variable name collision that was breaking paging. fixes #2204
git-svn-id: https://develop.svn.wordpress.org/trunk@3396 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-04 00:41:53 +00:00
Ryan Boren
2ae1176fcb Better broken path info workaround for setups that use redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@3395 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-03 00:59:31 +00:00
Ryan Boren
e4df415fa6 i18n fixes from SteveAgl. fixes #2207
git-svn-id: https://develop.svn.wordpress.org/trunk@3393 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 21:08:34 +00:00
Ryan Boren
fce486c48c Create dir hierarchy for files passed to wp_upload_bits().
git-svn-id: https://develop.svn.wordpress.org/trunk@3390 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 04:59:39 +00:00
Ryan Boren
e6e5cd892f Upload dir cleanups. Honor old fileupload_path settings if present.
git-svn-id: https://develop.svn.wordpress.org/trunk@3389 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 04:33:27 +00:00
Ryan Boren
f34cbd8d67 Preserve suid and sgid bits when creating new directories. fixes #2190
git-svn-id: https://develop.svn.wordpress.org/trunk@3388 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-02 02:50:59 +00:00
Ryan Boren
946cae67f4 Default expiration is too long. Change it to 15 minutes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3386 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 22:34:58 +00:00
Ryan Boren
e631d34d50 Fallback to matching the leaf category if the full path doesn't match. Props David House. fixes #2161
git-svn-id: https://develop.svn.wordpress.org/trunk@3385 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 21:53:13 +00:00
Ryan Boren
db2bd867db Trackback tweaks. Props http://blog.serv.idv.tw/2005/12/29/380/. fixes #2170
git-svn-id: https://develop.svn.wordpress.org/trunk@3384 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 21:24:56 +00:00
Ryan Boren
29e7d65c71 Move PHP_SELF setup to wp-settings.php. #2153
git-svn-id: https://develop.svn.wordpress.org/trunk@3382 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 23:11:26 +00:00
Ryan Boren
dbde443d4a More wp_upload_bits() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3378 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 02:07:10 +00:00
Ryan Boren
164371f70f Fix extension handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@3377 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:46:32 +00:00
Ryan Boren
a3cb29233b Typo in wp_upload_bits()
git-svn-id: https://develop.svn.wordpress.org/trunk@3376 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:40:42 +00:00
Ryan Boren
e45a58d547 LJ tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3375 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 01:25:41 +00:00
Ryan Boren
5be951ca28 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: https://develop.svn.wordpress.org/trunk@3373 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 07:05:05 +00:00
Ryan Boren
eddf881bb5 Create explicit page attachment rewrite rules rather than matching the attachment name against a regexp.
git-svn-id: https://develop.svn.wordpress.org/trunk@3371 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 04:27:21 +00:00
Ryan Boren
424dd330fe Anchor str replacements to head so that we don't replace across the entire string. fixes #2162
git-svn-id: https://develop.svn.wordpress.org/trunk@3370 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 01:48:29 +00:00
Ryan Boren
9e591c4154 i18n trackback fix. Props thinkini. fixes #2163
git-svn-id: https://develop.svn.wordpress.org/trunk@3368 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 00:55:55 +00:00
Matt Mullenweg
774578481e Pop the champagne
git-svn-id: https://develop.svn.wordpress.org/trunk@3362 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-26 20:15:06 +00:00
Ryan Boren
76c78b624d Make sure we have a valid timestamp. fixes #2148
git-svn-id: https://develop.svn.wordpress.org/trunk@3359 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-25 21:42:07 +00:00
Ryan Boren
01d852fe7f Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3358 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-25 21:16:27 +00:00
Ryan Boren
bae7d044d2 Update post_modified when the post is changed. fixes #1837
git-svn-id: https://develop.svn.wordpress.org/trunk@3357 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 20:04:59 +00:00
Ryan Boren
250ecaaf4f Fix page permalink 404 when pages are reordered. Props David House. fixes #2071
git-svn-id: https://develop.svn.wordpress.org/trunk@3356 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 16:26:55 +00:00
Ryan Boren
ddbd1e3ac3 MAke sure post_parent is valid.
git-svn-id: https://develop.svn.wordpress.org/trunk@3354 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 05:34:50 +00:00
Ryan Boren
1d06871ca5 Make wp_insert_attachment() MySQL 5 strict mode compliant. fixes #2115
git-svn-id: https://develop.svn.wordpress.org/trunk@3353 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 05:32:49 +00:00
Ryan Boren
2294967988 Return ID not user_login.
git-svn-id: https://develop.svn.wordpress.org/trunk@3351 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-23 23:16:01 +00:00
Ryan Boren
714948d9ed Hide errors when getting usermeta in case we're upgrading and usermeta doesn't exist yet. fixes #2110
git-svn-id: https://develop.svn.wordpress.org/trunk@3343 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-23 00:32:15 +00:00
Matt Mullenweg
5acb6224ec Updating to stable version.
git-svn-id: https://develop.svn.wordpress.org/trunk@3342 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 21:45:59 +00:00
Ryan Boren
96d9aa75ae Reduce consecutive backslashes to one backslash. Handy when escaped windows paths are passed in.
git-svn-id: https://develop.svn.wordpress.org/trunk@3340 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 05:18:18 +00:00
Ryan Boren
76bc07fe3f Don't get children for cat 0. fixes #2123
git-svn-id: https://develop.svn.wordpress.org/trunk@3338 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-22 04:31:48 +00:00
Ryan Boren
f29f877dba Edit link does not belong on attachments. fixes #2119
git-svn-id: https://develop.svn.wordpress.org/trunk@3333 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-21 15:47:54 +00:00
Matt Mullenweg
142682fa5d It goes bump in the night.
git-svn-id: https://develop.svn.wordpress.org/trunk@3332 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-20 07:07:26 +00:00
Ryan Boren
3dcda2fdf3 Make sure comment_parent is set.
git-svn-id: https://develop.svn.wordpress.org/trunk@3331 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-20 04:28:32 +00:00
Ryan Boren
4957068837 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: https://develop.svn.wordpress.org/trunk@3330 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:14:22 +00:00
Ryan Boren
d417f96524 Validation tweaks. fixes #2097
git-svn-id: https://develop.svn.wordpress.org/trunk@3329 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-19 19:10:09 +00:00
Ryan Boren
46484d14df Init tweak. No need to prime category cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3327 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-18 22:08:01 +00:00
Ryan Boren
494df9b02d get_children()
git-svn-id: https://develop.svn.wordpress.org/trunk@3321 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 09:50:10 +00:00
Ryan Boren
b7ef286e0b Compression tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3320 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 08:04:55 +00:00
Ryan Boren
dcd75531cb Populate PHP_SELF from REQUEST_URI if blank.
git-svn-id: https://develop.svn.wordpress.org/trunk@3319 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 08:04:41 +00:00
Ryan Boren
b239244636 New asyncronous ping method. fixes #2048
git-svn-id: https://develop.svn.wordpress.org/trunk@3317 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 03:04:33 +00:00
Ryan Boren
03828f24dd Add post titles to site comment feed. Add some gettext. fixes #2067 #1987
git-svn-id: https://develop.svn.wordpress.org/trunk@3314 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 22:20:06 +00:00