Commit Graph

2525 Commits

Author SHA1 Message Date
Ryan Boren
ffffebebb1 intval cat ID
git-svn-id: https://develop.svn.wordpress.org/trunk@3824 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-01 07:42:46 +00:00
Ryan Boren
bdfd1b33b2 Typo fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@3816 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-31 06:27:10 +00:00
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
Ryan Boren
6428176144 Separate dbx managers for post and page forms. Props mdawaffe. fixes #2035
git-svn-id: https://develop.svn.wordpress.org/trunk@3313 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 21:48:12 +00:00
Ryan Boren
b1d79fd8f7 Pluggable tinyMCE init. fixes #2080
git-svn-id: https://develop.svn.wordpress.org/trunk@3312 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 21:42:38 +00:00
Ryan Boren
7321cfa5a1 When changing a post's categories, redo category counts for both old and new cats. Props ringmaster. fixes #2085
git-svn-id: https://develop.svn.wordpress.org/trunk@3311 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 20:31:29 +00:00
Ryan Boren
44fc04c42e Don't treat a numeric user name as an id.
git-svn-id: https://develop.svn.wordpress.org/trunk@3310 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:45:20 +00:00
Ryan Boren
ecea3fad26 is_user_logged_in()
git-svn-id: https://develop.svn.wordpress.org/trunk@3309 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:31:41 +00:00
Ryan Boren
8b4c730141 Bump ver.
git-svn-id: https://develop.svn.wordpress.org/trunk@3308 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 01:17:46 +00:00
Ryan Boren
f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren
e7b4d38f78 Better user check.
git-svn-id: https://develop.svn.wordpress.org/trunk@3302 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 18:18:07 +00:00
Ryan Boren
f4579af67b Update post cache before running the_posts filter. Since we already retrieved them, might as well cache them even if they are filtered out by plugins later.
git-svn-id: https://develop.svn.wordpress.org/trunk@3300 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:49:09 +00:00
Ryan Boren
5a02ae79af If no user is logged in, setup an empty user.
git-svn-id: https://develop.svn.wordpress.org/trunk@3299 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:46:40 +00:00
Ryan Boren
b1b88e415f Add optional user_id arg.
git-svn-id: https://develop.svn.wordpress.org/trunk@3298 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:46:08 +00:00
Ryan Boren
73edfc7c20 Add read_post meta cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@3297 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 00:54:52 +00:00
Ryan Boren
53271cf5ac role_has_cap and user_has_cap filters from ringmaster. fixes #2005
git-svn-id: https://develop.svn.wordpress.org/trunk@3296 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 23:20:44 +00:00
Ryan Boren
2907e6aade Fix attachment queries. fixes #2041
git-svn-id: https://develop.svn.wordpress.org/trunk@3293 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 01:33:46 +00:00
Ryan Boren
baeac0c8ee MCE improvements from skeltoac. fixes #2058
git-svn-id: https://develop.svn.wordpress.org/trunk@3292 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 01:27:56 +00:00
Ryan Boren
b74a303ec5 Resurrect save_post action for back compat. fixes #2063
git-svn-id: https://develop.svn.wordpress.org/trunk@3291 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 00:30:14 +00:00
Ryan Boren
e225cc0e92 Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: https://develop.svn.wordpress.org/trunk@3290 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 19:14:29 +00:00
Ryan Boren
bbf06ccf54 get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: https://develop.svn.wordpress.org/trunk@3289 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 18:01:19 +00:00
Ryan Boren
a0fd8d74eb Gecko paste fix. fixes #2051
git-svn-id: https://develop.svn.wordpress.org/trunk@3287 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 01:32:05 +00:00
Ryan Boren
2c6e4421b4 Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: https://develop.svn.wordpress.org/trunk@3286 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:29:39 +00:00
Ryan Boren
2ec76f2801 Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: https://develop.svn.wordpress.org/trunk@3285 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 23:22:47 +00:00
Ryan Boren
d7e8fb6b25 Add richedit_pre filter. Props mani_monaj. fixes #2047
git-svn-id: https://develop.svn.wordpress.org/trunk@3284 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-10 19:03:22 +00:00
Ryan Boren
d9c8d0818a MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: https://develop.svn.wordpress.org/trunk@3283 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-09 19:24:14 +00:00
Ryan Boren
be4624c49b Remove debug cruft. fixes #2040
git-svn-id: https://develop.svn.wordpress.org/trunk@3280 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-08 23:54:24 +00:00
Ryan Boren
3f81a79727 Add timezone to iso8601 timestamp. Props devlogic. fixes #2036
git-svn-id: https://develop.svn.wordpress.org/trunk@3279 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-08 00:08:12 +00:00
Ryan Boren
de15eae87a gzdeflate unnecessary. fixes #2038
git-svn-id: https://develop.svn.wordpress.org/trunk@3278 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 23:53:02 +00:00
Ryan Boren
1a2ed535e9 Make page slugs unique. Props skeltoac. fixes #2034
git-svn-id: https://develop.svn.wordpress.org/trunk@3277 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 19:02:05 +00:00
Ryan Boren
6f6e018161 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: https://develop.svn.wordpress.org/trunk@3276 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-07 00:36:07 +00:00
Ryan Boren
77a91d9096 Add wp_title filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@3274 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 23:57:41 +00:00
Ryan Boren
579e426260 autop fixes from skeltoac. fixes #2022
git-svn-id: https://develop.svn.wordpress.org/trunk@3273 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 17:00:01 +00:00
Ryan Boren
8cc3fefe8f i18n fix from pandem. fixes #2028
git-svn-id: https://develop.svn.wordpress.org/trunk@3272 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 16:58:26 +00:00
Ryan Boren
94bc2195d4 Decrease comment count only when deleting approved comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@3271 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 05:31:27 +00:00
Ryan Boren
3edb82141a Add edit_pages checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@3269 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 04:04:23 +00:00
Ryan Boren
163b423722 Relocate wp_upload_dir(). fixes #2019
git-svn-id: https://develop.svn.wordpress.org/trunk@3267 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:17:03 +00:00
Ryan Boren
0ea01ba67c tinyMCE updates from skeltoac. fixes #1991
git-svn-id: https://develop.svn.wordpress.org/trunk@3265 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-05 03:04:25 +00:00
Ryan Boren
f8f9acc610 i18n fixes from nbachiyski. #2006
git-svn-id: https://develop.svn.wordpress.org/trunk@3262 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-02 22:37:02 +00:00
Ryan Boren
96a472460d Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: https://develop.svn.wordpress.org/trunk@3255 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 22:51:40 +00:00
Ryan Boren
b6a751dc30 Make sure user_login keyed caches are cleared upon change.
git-svn-id: https://develop.svn.wordpress.org/trunk@3254 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 17:38:37 +00:00
Ryan Boren
b6d0d21f63 Don't attempt to match the index against a rule. This fixes problems with /index.php requests matching agagainst the %category% rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@3252 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 01:34:29 +00:00
Ryan Boren
ba38c0c3c4 Remove ugly whitespace. Props abhay. fixes #1996
git-svn-id: https://develop.svn.wordpress.org/trunk@3250 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 21:13:18 +00:00
Ryan Boren
4a4598bbdb add_role() and remove_role() convenience wrappers around
git-svn-id: https://develop.svn.wordpress.org/trunk@3249 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 20:04:04 +00:00
Ryan Boren
aa6a393a50 Add delete_usermeta(). fixes #1992
git-svn-id: https://develop.svn.wordpress.org/trunk@3247 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 19:19:47 +00:00
Ryan Boren
1f77f33d51 Remove extraneous parens.
git-svn-id: https://develop.svn.wordpress.org/trunk@3245 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 17:30:51 +00:00
Ryan Boren
619d8d0c0c TinyMCE directionality for RTL support. Props skeltoac. fixes #1967
git-svn-id: https://develop.svn.wordpress.org/trunk@3244 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 17:15:43 +00:00
Ryan Boren
02e9e6d8ea Allow Author role to edit published posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@3243 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 07:47:22 +00:00
Ryan Boren
1dae83d024 Return role object after adding.
git-svn-id: https://develop.svn.wordpress.org/trunk@3242 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 07:32:43 +00:00
Ryan Boren
2520664ada Unserialize fix. fixes #1988
git-svn-id: https://develop.svn.wordpress.org/trunk@3239 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-30 00:25:05 +00:00
Ryan Boren
7cec380314 Add get_role() convenience wrapper.
git-svn-id: https://develop.svn.wordpress.org/trunk@3238 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 18:47:28 +00:00
Ryan Boren
b948ca459f escapeshell SA17779
git-svn-id: https://develop.svn.wordpress.org/trunk@3235 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 14:07:30 +00:00
Matt Mullenweg
92729e5fba Part of a healthy balanced breakfast - fixes #1980
git-svn-id: https://develop.svn.wordpress.org/trunk@3234 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 07:58:50 +00:00
Ryan Boren
007caf7c3c Only unset query vars when serving admin pages. fixes #1979
git-svn-id: https://develop.svn.wordpress.org/trunk@3233 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 06:44:44 +00:00
Ryan Boren
0577003eb9 If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
git-svn-id: https://develop.svn.wordpress.org/trunk@3231 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 02:33:25 +00:00
Matt Mullenweg
47bc943716 So close I can taste it.
git-svn-id: https://develop.svn.wordpress.org/trunk@3230 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 02:01:48 +00:00
Ryan Boren
5e34745dc9 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: https://develop.svn.wordpress.org/trunk@3229 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 01:43:32 +00:00
Ryan Boren
6f3cb17751 Don't try to do permalinks for admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@3226 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 23:30:42 +00:00
Matt Mullenweg
4ae18b8c15 Don't do bad xhtml fixing by default - fixes #1975
git-svn-id: https://develop.svn.wordpress.org/trunk@3223 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 23:05:12 +00:00
Matt Mullenweg
83bca28d72 No need to do those big fancy joins.
git-svn-id: https://develop.svn.wordpress.org/trunk@3220 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:44:56 +00:00
Matt Mullenweg
0d88ea9ef8 Another query bites the dust!
git-svn-id: https://develop.svn.wordpress.org/trunk@3219 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:37:17 +00:00
Matt Mullenweg
062836b194 Don't create empty umeta values.
git-svn-id: https://develop.svn.wordpress.org/trunk@3218 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 08:48:18 +00:00
Matt Mullenweg
dd9bb0699c Return if not an array, fixes #1940
git-svn-id: https://develop.svn.wordpress.org/trunk@3217 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 06:38:12 +00:00
Matt Mullenweg
99fcdc938f Don't show 404s for empty cats, fixes #1969
git-svn-id: https://develop.svn.wordpress.org/trunk@3215 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 03:15:48 +00:00
Matt Mullenweg
ec77539416 Better email from, fixes #1532
git-svn-id: https://develop.svn.wordpress.org/trunk@3214 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-25 22:57:26 +00:00
Ryan Boren
7226d2f2b3 Strip home path from path info. This prevents a path info value of '/wp/index.php' from being considered as a permalink request. fixes #1938
git-svn-id: https://develop.svn.wordpress.org/trunk@3206 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 22:38:25 +00:00
Ryan Boren
2ebfe35d2d s/user_description/description/. Props tinyau. fixes #1943
git-svn-id: https://develop.svn.wordpress.org/trunk@3205 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 18:01:32 +00:00
Ryan Boren
81fed95acf Add get_attached_file().
git-svn-id: https://develop.svn.wordpress.org/trunk@3203 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 10:00:07 +00:00
Matt Mullenweg
a0556647af Don't show 0 as a month.
git-svn-id: https://develop.svn.wordpress.org/trunk@3202 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 07:57:58 +00:00
Ryan Boren
2bab8b487e Allow wp_insert/update_post to handle classes in addition to associative arrays. This should avoid the 'Cannot use object of type stdClass as array' warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@3200 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 01:35:08 +00:00
Ryan Boren
289ef9a954 Add some defaults to avoid MySQL warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@3199 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 00:38:56 +00:00
Ryan Boren
3b4d47257d Add glob() compat for php < 4.3.0
git-svn-id: https://develop.svn.wordpress.org/trunk@3198 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 23:39:56 +00:00
Ryan Boren
c29812748d Store some values in the class for debug purposes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3197 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 21:07:48 +00:00
Matt Mullenweg
fd081cb70e Bumpa version
git-svn-id: https://develop.svn.wordpress.org/trunk@3195 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 09:56:15 +00:00
Ryan Boren
07c03bb2f3 Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3194 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 07:45:07 +00:00
Ryan Boren
e53912a4dd Instead of incrementing the current comment count, recount all comments to make sure we have a good count. Props Mark Jaquith. fixes #1920
git-svn-id: https://develop.svn.wordpress.org/trunk@3193 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 03:45:40 +00:00
Ryan Boren
742e46274f Upgrade to Snoopy 1.2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@3191 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 01:14:26 +00:00
Ryan Boren
43002e6cc1 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: https://develop.svn.wordpress.org/trunk@3190 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 00:36:36 +00:00
Ryan Boren
b41c0e1360 Therapeutic db version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3183 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:13:20 +00:00
Ryan Boren
94804af59a Run attachment filter for themes that don't have single.php or page.php. Props podz. fixes #1924
git-svn-id: https://develop.svn.wordpress.org/trunk@3174 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 02:08:59 +00:00
Ryan Boren
4327bb7a1e TinyMCE publish fix from skeltoac. fixes #1921
git-svn-id: https://develop.svn.wordpress.org/trunk@3172 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-20 07:34:47 +00:00
Ryan Boren
3b1677473a Silence fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3171 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 22:52:57 +00:00
Ryan Boren
f086287b81 Suppress fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3170 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:12:26 +00:00
Ryan Boren
d9d9fedb7a get_post_mime_type() from skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3169 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:08:21 +00:00
Ryan Boren
38192bfb4f Remove extra file.
git-svn-id: https://develop.svn.wordpress.org/trunk@3168 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:41:54 +00:00
Ryan Boren
5fa9e518ee Add missing file.
git-svn-id: https://develop.svn.wordpress.org/trunk@3167 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:41:21 +00:00
Ryan Boren
4959c3fefa Relocate help icon to the correct place.
git-svn-id: https://develop.svn.wordpress.org/trunk@3166 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:39:09 +00:00
Ryan Boren
c48eaea2fd Update help icon.
git-svn-id: https://develop.svn.wordpress.org/trunk@3165 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:28:48 +00:00
Ryan Boren
a1ef8e762c TinyMCE help. fixes #1908
git-svn-id: https://develop.svn.wordpress.org/trunk@3163 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:15:11 +00:00
Ryan Boren
1549abf703 Wrong PCRE flag break TinyMCE on lower PHP versions. fixes #1913
git-svn-id: https://develop.svn.wordpress.org/trunk@3162 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:11:03 +00:00
Matt Mullenweg
64d7f37d3a Dat da-da duuuummmmmmmm
git-svn-id: https://develop.svn.wordpress.org/trunk@3160 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 00:19:43 +00:00
Ryan Boren
97eefbc202 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: https://develop.svn.wordpress.org/trunk@3156 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:27:39 +00:00
Ryan Boren
94a4853f02 Autosave warning fix. fixes #1910
git-svn-id: https://develop.svn.wordpress.org/trunk@3153 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 22:55:39 +00:00
Ryan Boren
7a90a61c9d Attachment cleanups from skeltoac. fixes #1870
git-svn-id: https://develop.svn.wordpress.org/trunk@3145 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 09:25:47 +00:00
Ryan Boren
69f0e94125 Remove dead code.
git-svn-id: https://develop.svn.wordpress.org/trunk@3143 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:20:19 +00:00
Ryan Boren
5db06a0f98 Don't return undefined variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3142 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:15:08 +00:00
Ryan Boren
4b3f2a3cb4 Filter on the_content_rss. Props Kafkaesqui. fixes #1685
git-svn-id: https://develop.svn.wordpress.org/trunk@3140 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 23:17:06 +00:00
Ryan Boren
d13f35cdec Don't stripslashes() in plugin_basename() since this breaks established expectation of being able to pass a non-escaped FILE. Instead, stripslashes further up the stack. fixes #1866
git-svn-id: https://develop.svn.wordpress.org/trunk@3139 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 23:01:28 +00:00
Ryan Boren
c6c21c0d26 Don't loop over empty options. fixes #1900
git-svn-id: https://develop.svn.wordpress.org/trunk@3138 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 22:46:18 +00:00
Ryan Boren
751c08fd49 Tidy up get_userdatabylogin().
git-svn-id: https://develop.svn.wordpress.org/trunk@3137 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 18:15:59 +00:00
Ryan Boren
15513318ba Big tiny fixes from skeltoac. fixes #1897
git-svn-id: https://develop.svn.wordpress.org/trunk@3136 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 17:47:29 +00:00
Ryan Boren
bd536befa8 Don't bother with sems.
git-svn-id: https://develop.svn.wordpress.org/trunk@3131 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:30:14 +00:00
Ryan Boren
80bc0af577 Add posts_groupby and posts_request filters. fixes #1479
git-svn-id: https://develop.svn.wordpress.org/trunk@3130 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:10:18 +00:00
Ryan Boren
6fcabdfba3 i18n fix from nbachiyski. fixes #1874
git-svn-id: https://develop.svn.wordpress.org/trunk@3125 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 03:01:55 +00:00
Ryan Boren
3e78ac5ae6 Check if writable before checking if dir to avoid permission denied problems.
git-svn-id: https://develop.svn.wordpress.org/trunk@3123 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 02:24:52 +00:00
Matt Mullenweg
39a7455309 Fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@3122 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 01:57:18 +00:00
Matt Mullenweg
e93d21f350 New logo, better login.
git-svn-id: https://develop.svn.wordpress.org/trunk@3120 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 00:51:34 +00:00
Matt Mullenweg
b4b4d48778 Not used any more.
git-svn-id: https://develop.svn.wordpress.org/trunk@3119 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 00:34:24 +00:00
Ryan Boren
a4e487c8e7 Add missing space to fix validation. Props seth. fixes #1887
git-svn-id: https://develop.svn.wordpress.org/trunk@3118 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:59:29 +00:00
Ryan Boren
1c2e933d90 Don't run stylesheet directory URI through filters. fixes #1890
git-svn-id: https://develop.svn.wordpress.org/trunk@3117 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:54:39 +00:00
Ryan Boren
da61a9f508 Add some comment API and update comment popup templates to use them. Props David Hose. fixes #1892
git-svn-id: https://develop.svn.wordpress.org/trunk@3115 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:48:12 +00:00
Matt Mullenweg
01c2155563 Better email links, fixes #1416
git-svn-id: https://develop.svn.wordpress.org/trunk@3114 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:44:03 +00:00
Ryan Boren
753dbd7183 Silence file ops.
git-svn-id: https://develop.svn.wordpress.org/trunk@3113 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 23:40:14 +00:00
Ryan Boren
ee98b26ac0 More 404 work. Hopefully fixes #1471
git-svn-id: https://develop.svn.wordpress.org/trunk@3111 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 22:54:52 +00:00
Ryan Boren
faa7e8cbdd Don't flush if cache is disabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@3110 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 19:01:58 +00:00
Ryan Boren
e9a970fd29 Fix 404s. Props donncha. fixes #1471
git-svn-id: https://develop.svn.wordpress.org/trunk@3108 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 10:16:20 +00:00
Ryan Boren
5135115f45 Fix typos in remove_accents(). Props kyknos and YaaL. fixes #1688
git-svn-id: https://develop.svn.wordpress.org/trunk@3106 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 06:37:06 +00:00
Ryan Boren
376a04e7de Add comment_count to the posts table. Props donncha. fixes #1860
git-svn-id: https://develop.svn.wordpress.org/trunk@3104 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 06:29:36 +00:00
Ryan Boren
cae1b67170 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: https://develop.svn.wordpress.org/trunk@3103 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 03:27:22 +00:00
Ryan Boren
62f1fd972b Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: https://develop.svn.wordpress.org/trunk@3102 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 02:54:23 +00:00
Ryan Boren
35dd21caec Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864
git-svn-id: https://develop.svn.wordpress.org/trunk@3097 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 01:58:04 +00:00
Ryan Boren
1228f9e554 Update to use cap API.
git-svn-id: https://develop.svn.wordpress.org/trunk@3095 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 00:50:02 +00:00
Ryan Boren
77fe382c33 Move category post count updater into wp_set_post_cats().
git-svn-id: https://develop.svn.wordpress.org/trunk@3094 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 23:47:16 +00:00
Ryan Boren
1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Ryan Boren
06d61e1f7a Update category counts. Props donncha. fixes #1886
git-svn-id: https://develop.svn.wordpress.org/trunk@3091 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 16:31:24 +00:00
Ryan Boren
1a7354a608 Fix [3074] commit so that draft->publish transitions up date the timestamp.
git-svn-id: https://develop.svn.wordpress.org/trunk@3090 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 00:00:26 +00:00
Matt Mullenweg
1663e2088e Mystery of the disappearing post solved, fixes #1879
git-svn-id: https://develop.svn.wordpress.org/trunk@3089 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 23:28:10 +00:00
Ryan Boren
b49bd4d290 Flush the cache before installing. fixes #1877
git-svn-id: https://develop.svn.wordpress.org/trunk@3088 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 22:32:03 +00:00
Ryan Boren
d68dac7f69 Implement wp_cache_flush().
git-svn-id: https://develop.svn.wordpress.org/trunk@3087 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 22:10:28 +00:00
Ryan Boren
aedbd711b2 Avoid infinite recursion when expiring cache. fixes #1875
git-svn-id: https://develop.svn.wordpress.org/trunk@3086 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 21:29:30 +00:00
Matt Mullenweg
bfcff70845 Don't die on me now! Fixes #1631
git-svn-id: https://develop.svn.wordpress.org/trunk@3083 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:21:39 +00:00
Matt Mullenweg
5f7471444a Allow modified, fixes #1651
git-svn-id: https://develop.svn.wordpress.org/trunk@3080 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:12:22 +00:00
Matt Mullenweg
dbada5cd7e Follow standards in Pingback - fixes #1668
git-svn-id: https://develop.svn.wordpress.org/trunk@3078 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:08:12 +00:00
Matt Mullenweg
a313d7adfb Fixes #1837 timestamp funkiness
git-svn-id: https://develop.svn.wordpress.org/trunk@3074 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:56:41 +00:00
Matt Mullenweg
5962ca9e11 Reverse that cleanup, there is reason in the madness ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@3071 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 09:08:27 +00:00
Matt Mullenweg
e1b81babff Small cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3068 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 08:51:04 +00:00
Ryan Boren
3098fe172e Don't return false from get_settings() when installing. Use update_option() when setting the blog title and admin email so that the cache is kept in sync. fixes #1869
git-svn-id: https://develop.svn.wordpress.org/trunk@3067 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 06:51:09 +00:00
Matt Mullenweg
6a39dae1c2 Silly thumbnail files
git-svn-id: https://develop.svn.wordpress.org/trunk@3066 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 03:08:08 +00:00
Matt Mullenweg
0ee2f9046d More accessible comment links
git-svn-id: https://develop.svn.wordpress.org/trunk@3065 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 03:06:52 +00:00
Matt Mullenweg
899d70bbbd More eol-style: native
git-svn-id: https://develop.svn.wordpress.org/trunk@3062 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 04:43:57 +00:00
Matt Mullenweg
5881c769b4 Don't allow newlines in redirects
git-svn-id: https://develop.svn.wordpress.org/trunk@3060 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 04:38:56 +00:00
Matt Mullenweg
14326fb55d Add error function back, fixes #1446
git-svn-id: https://develop.svn.wordpress.org/trunk@3057 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 02:54:49 +00:00
Matt Mullenweg
32fe0b0527 Account for more letter entities, fixes #1431
git-svn-id: https://develop.svn.wordpress.org/trunk@3056 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 02:48:35 +00:00
Matt Mullenweg
dd35ddfe28 Moderation and comment_author_link, fixes #1019
git-svn-id: https://develop.svn.wordpress.org/trunk@3055 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-13 02:45:53 +00:00
Ryan Boren
f10f98f0a7 Cleanup options save.
git-svn-id: https://develop.svn.wordpress.org/trunk@3054 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-12 09:36:20 +00:00
Ryan Boren
66643f61c7 Don't use hard query. Remove unneeded line. fixes #1858
git-svn-id: https://develop.svn.wordpress.org/trunk@3052 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:24:09 +00:00
Matt Mullenweg
f5ce936f25 Missing stripslashes - fixes #1793
git-svn-id: https://develop.svn.wordpress.org/trunk@3049 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:16:26 +00:00
Matt Mullenweg
61e8f75faa Missed a line, fixes #1593
git-svn-id: https://develop.svn.wordpress.org/trunk@3048 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:00:06 +00:00
Matt Mullenweg
4a11b6e79f Call nocache_headers for logged in users
git-svn-id: https://develop.svn.wordpress.org/trunk@3047 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:44:41 +00:00
Matt Mullenweg
4b6a074982 Add HTTPS support, fixes #1372
git-svn-id: https://develop.svn.wordpress.org/trunk@3041 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:21:28 +00:00
Matt Mullenweg
9f51a87277 Eliminating query and vars now that we have category_count in DB
git-svn-id: https://develop.svn.wordpress.org/trunk@3039 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:03:13 +00:00
Ryan Boren
6daffdf70b Don't loop over empty list. Props skippy. fixes #1467
git-svn-id: https://develop.svn.wordpress.org/trunk@3038 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 00:55:31 +00:00
Ryan Boren
ab5e695fe6 Add author support to wp_title(). Props graeme. fixes #1615
git-svn-id: https://develop.svn.wordpress.org/trunk@3037 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 00:48:31 +00:00
Matt Mullenweg
2b89020aa5 Use reply-to instead of from to stop acting spammy - fixes #1593
git-svn-id: https://develop.svn.wordpress.org/trunk@3035 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 00:07:39 +00:00
Ryan Boren
8b8c906885 Highlight current class. Props amanzi and skippy. fixes #1800
git-svn-id: https://develop.svn.wordpress.org/trunk@3033 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:42:56 +00:00
Matt Mullenweg
58b39edd36 Don't notify your own comments, fixes #1670
git-svn-id: https://develop.svn.wordpress.org/trunk@3031 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:31:58 +00:00
Ryan Boren
646a09ead4 Template functions for getting the post's modified time from error and Mark Jaquith. fixes #1836
git-svn-id: https://develop.svn.wordpress.org/trunk@3030 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:31:30 +00:00
Ryan Boren
ad772b5e63 Return false if we don't find the option.
git-svn-id: https://develop.svn.wordpress.org/trunk@3028 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 20:59:20 +00:00
Ryan Boren
49fa56367b Fix commit gone wild.
git-svn-id: https://develop.svn.wordpress.org/trunk@3026 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 21:30:40 +00:00
Matt Mullenweg
222e32086e Missing semi, also fixes #1599
git-svn-id: https://develop.svn.wordpress.org/trunk@3025 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 21:01:24 +00:00
Matt Mullenweg
8480fdda0a Should fix #1599 for IIS blogs.
git-svn-id: https://develop.svn.wordpress.org/trunk@3024 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 20:58:58 +00:00
Ryan Boren
2077dcaf16 Options fixes from donncha. fixes #1859
git-svn-id: https://develop.svn.wordpress.org/trunk@3023 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 18:15:55 +00:00
Ryan Boren
fb234acd09 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@3022 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 11:17:33 +00:00
Ryan Boren
7f5284a4de Add cache expiration. Cache requests for non-existant options.
git-svn-id: https://develop.svn.wordpress.org/trunk@3021 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 11:10:34 +00:00
Ryan Boren
c6a3cc3249 TinyMCE accesskeys from skeltoac. fixes #1854
git-svn-id: https://develop.svn.wordpress.org/trunk@3020 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 08:44:48 +00:00
Ryan Boren
aae1332f2d Hide serialized object data in comment blocks within .php files. Props ringmaster. fixes #1857
git-svn-id: https://develop.svn.wordpress.org/trunk@3019 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-09 02:38:17 +00:00
Ryan Boren
9765974469 Oops. Comment out stats dump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3018 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 22:28:45 +00:00
Ryan Boren
b5113fae7c Obfuscate keys with some salt. Add empty index.php files to the cache dirs to prevent directory listings. Props to ringmaster. fixes #1851
git-svn-id: https://develop.svn.wordpress.org/trunk@3017 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 22:15:06 +00:00
Ryan Boren
609383477a TinyMCE tweaks from skeltoac. fixes #1852
git-svn-id: https://develop.svn.wordpress.org/trunk@3015 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 19:17:08 +00:00
Ryan Boren
b6930cefd4 Remove trailing blank lines.
git-svn-id: https://develop.svn.wordpress.org/trunk@3014 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-08 00:39:26 +00:00
Ryan Boren
e908ebc95c Use get_*() API instead of SELECTs so that we hit the cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3013 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 23:15:21 +00:00
Ryan Boren
0069470818 Add LIMIT 1 to some of our gets.
git-svn-id: https://develop.svn.wordpress.org/trunk@3012 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 23:09:09 +00:00
Ryan Boren
c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Matt Mullenweg
da3c5f47dc Add RSD support. See http://archipelago.phrasewise.com/rsd
git-svn-id: https://develop.svn.wordpress.org/trunk@3009 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:47:51 +00:00
Matt Mullenweg
072179c8cb Fixes #1443
git-svn-id: https://develop.svn.wordpress.org/trunk@3007 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:35:54 +00:00
Matt Mullenweg
df22877fdb Simplify status_header
git-svn-id: https://develop.svn.wordpress.org/trunk@3005 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:05:47 +00:00
Matt Mullenweg
76915903e3 Missing user line.
git-svn-id: https://develop.svn.wordpress.org/trunk@3004 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 08:58:37 +00:00
Ryan Boren
749847dc97 Remove extraneous header() call.
git-svn-id: https://develop.svn.wordpress.org/trunk@3003 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 19:06:10 +00:00
Ryan Boren
a1fdbc44d0 Preview future dated posts. Props davidhouse. fixes #1795
git-svn-id: https://develop.svn.wordpress.org/trunk@3001 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 07:04:46 +00:00
Ryan Boren
0c2daa617d Protection against multiple trackbacks in one bunch from markjaquith. fixes #1817
git-svn-id: https://develop.svn.wordpress.org/trunk@2996 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 04:02:12 +00:00
Ryan Boren
c244bfd360 Show Role in profile and user edit. Don't allow users with edit_users caps to demote themselves. Props: davidhouse, ringmaster. fixes #1825
git-svn-id: https://develop.svn.wordpress.org/trunk@2995 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:58:52 +00:00
Ryan Boren
1fb12a1eaa Rename image-uploading to inline-uploading. Props skeltoac. fixes #1834
git-svn-id: https://develop.svn.wordpress.org/trunk@2994 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:40:43 +00:00
Ryan Boren
3ed89b9e86 TinyMCE 2.0RC4 Props skeltoac. fixes #1830
git-svn-id: https://develop.svn.wordpress.org/trunk@2993 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:30:11 +00:00
Ryan Boren
0920b65feb Remove extraneous whitespace from wp_list_pages() output. Props: error fixes #1838
git-svn-id: https://develop.svn.wordpress.org/trunk@2991 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 03:15:43 +00:00
Matt Mullenweg
9ff2f7d167 Allow "anonymous" to be translated, fixes #1740
git-svn-id: https://develop.svn.wordpress.org/trunk@2986 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-05 22:53:40 +00:00
Ryan Boren
03f7327803 Don't self ping. Props Mark Jaquith fixes #993
git-svn-id: https://develop.svn.wordpress.org/trunk@2983 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-05 16:20:09 +00:00
Ryan Boren
0d3b4317dc Add middle_name and flickr_username for users.
git-svn-id: https://develop.svn.wordpress.org/trunk@2980 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-02 08:26:42 +00:00
Matt Mullenweg
d6cb8a0942 Missing global, fix from airport. :)
git-svn-id: https://develop.svn.wordpress.org/trunk@2978 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-01 18:22:30 +00:00
Matt Mullenweg
cdb58724d2 Even better, array functions are fun.
git-svn-id: https://develop.svn.wordpress.org/trunk@2977 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:28:05 +00:00
Matt Mullenweg
2b2c2e6c03 Some optimizations in queries and code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2976 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 23:23:17 +00:00
Matt Mullenweg
7cd02175ff Cleaner, better, faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@2975 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-29 22:24:27 +00:00
Ryan Boren
de8d78270a If post_date_gmt is not supplied, derive it from post_date instead of current time.
git-svn-id: https://develop.svn.wordpress.org/trunk@2969 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 04:34:49 +00:00
Ryan Boren
b127cd82af Use full hierarchy when resolving category URIs. fixes #1787 Props: ringmaster Owen
git-svn-id: https://develop.svn.wordpress.org/trunk@2968 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 01:14:57 +00:00
Ryan Boren
305c29d4e1 DB versioning. fixes #1791
git-svn-id: https://develop.svn.wordpress.org/trunk@2966 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-27 22:04:12 +00:00
Matt Mullenweg
6b31c735f4 LiteSpeed support everything Apache does
git-svn-id: https://develop.svn.wordpress.org/trunk@2965 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-25 23:44:27 +00:00
Ryan Boren
71ee10cc3b TinyMCE fixes. Reinstate "More..." button. Filter trailing br. fixes #1789
git-svn-id: https://develop.svn.wordpress.org/trunk@2964 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-25 23:10:14 +00:00
Ryan Boren
6ffbef60a5 Filter title with kses. fixes #1788
git-svn-id: https://develop.svn.wordpress.org/trunk@2963 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-25 14:46:23 +00:00
Ryan Boren
9d9cca40f7 Remove debug code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2961 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 22:15:07 +00:00
Ryan Boren
1da25e1927 Image fu from Andy. fixes #1776
git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:48:32 +00:00
Matt Mullenweg
d7605dd6ad Fix for header redirects - Hat tip: http://www.davidmeade.com/post/post.php?topicID=579
git-svn-id: https://develop.svn.wordpress.org/trunk@2956 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-19 06:09:23 +00:00
Ryan Boren
25458f93b8 More massive code cleanups from Mark Jaquith. fixes #1772
git-svn-id: https://develop.svn.wordpress.org/trunk@2955 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-18 22:42:02 +00:00
Matt Mullenweg
14d9931137 Missing directory
git-svn-id: https://develop.svn.wordpress.org/trunk@2954 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-18 16:40:06 +00:00
Ryan Boren
df1f4e7389 Don't process enclosures when importing. Props: skeltoac. fixes #1771
git-svn-id: https://develop.svn.wordpress.org/trunk@2953 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-17 23:45:50 +00:00
Ryan Boren
ac45aae4d7 More code cleanups from Mark Jaquith. fixes #1768
git-svn-id: https://develop.svn.wordpress.org/trunk@2952 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-17 23:41:28 +00:00
Ryan Boren
565ff7ca40 Add ordered list tags to kses. fixes #1761
git-svn-id: https://develop.svn.wordpress.org/trunk@2950 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-14 18:52:44 +00:00
Ryan Boren
ae85f7064b wp_attach_object threading fix ups. fixes #1760 #1758
git-svn-id: https://develop.svn.wordpress.org/trunk@2949 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-14 18:06:23 +00:00
Ryan Boren
561c9d7ff3 Remove thread unsafe Auto_increment tricks. fixes #1753
git-svn-id: https://develop.svn.wordpress.org/trunk@2948 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-13 19:06:31 +00:00
Ryan Boren
a8562a1455 Code cleanup from Mark Jaquith. fixes #1746
git-svn-id: https://develop.svn.wordpress.org/trunk@2943 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-12 17:01:50 +00:00
Matt Mullenweg
4c18e778d0 Awesome fix from Dougal about ping timeout problems.
git-svn-id: https://develop.svn.wordpress.org/trunk@2942 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-10 16:36:54 +00:00
Ryan Boren
9b7f201b11 Code cleanups from markjaquith. fixes #1743
git-svn-id: https://develop.svn.wordpress.org/trunk@2941 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-10 09:25:38 +00:00
Ryan Boren
342e12282c pre_get_posts action from ringmaster. fixes #1736
git-svn-id: https://develop.svn.wordpress.org/trunk@2938 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-06 17:27:57 +00:00
Ryan Boren
65b86c1e52 Don't run bloginfo filters on URIs. fixes #1545 #1410 #1729
git-svn-id: https://develop.svn.wordpress.org/trunk@2935 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-06 00:04:59 +00:00
Ryan Boren
4bb9a136f6 Add kses_init_filters(). Call it when running importers.
git-svn-id: https://develop.svn.wordpress.org/trunk@2934 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 23:58:16 +00:00
Ryan Boren
14abc74d54 Send User-Agent when confirming pingbacks. Props error. fixes #1713
git-svn-id: https://develop.svn.wordpress.org/trunk@2933 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 23:29:56 +00:00
Ryan Boren
36183456c1 SQL error fix from MikeLittle. fixes #1711
git-svn-id: https://develop.svn.wordpress.org/trunk@2931 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-05 22:48:51 +00:00
Ryan Boren
097080a29e wp_delete_object() and image popup from skeltoac. fixes #1731
git-svn-id: https://develop.svn.wordpress.org/trunk@2929 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-04 17:38:04 +00:00
Matt Mullenweg
a223ff02c3 Some of that really shouldn't be in posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@2924 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-27 21:23:02 +00:00
Matt Mullenweg
21cafc609c For apos in links.
git-svn-id: https://develop.svn.wordpress.org/trunk@2922 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-27 03:34:37 +00:00
Ryan Boren
1f4f968040 Image uploading widget from skeltoac. fixes #1710
git-svn-id: https://develop.svn.wordpress.org/trunk@2921 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-26 23:55:36 +00:00
Matt Mullenweg
dbe7f56251 We had reverted this fix from [1253]
git-svn-id: https://develop.svn.wordpress.org/trunk@2919 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-26 16:06:58 +00:00
Matt Mullenweg
29f5d94b76 Shhhh windows
git-svn-id: https://develop.svn.wordpress.org/trunk@2918 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-26 15:50:08 +00:00
Matt Mullenweg
537572d958 A few cleanups from the upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@2917 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-26 07:13:48 +00:00
Matt Mullenweg
52c8a27143 Updating to latest TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@2916 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-26 06:52:30 +00:00
Ryan Boren
62a83ea445 Moving more stuff to new API.
git-svn-id: https://develop.svn.wordpress.org/trunk@2915 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-24 18:07:46 +00:00
Ryan Boren
961144d6ba Header color picker for default theme from skeltoac. fixes #1705
git-svn-id: https://develop.svn.wordpress.org/trunk@2913 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-24 05:55:14 +00:00
Ryan Boren
9d797cfdad Add object awareness to WP_Query. Props skeltoac. fixes #1700
git-svn-id: https://develop.svn.wordpress.org/trunk@2908 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-23 23:24:19 +00:00
Ryan Boren
3fae411f9e Array and object support for post meta from skeltoac. fixes #1699
git-svn-id: https://develop.svn.wordpress.org/trunk@2907 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-23 23:22:51 +00:00
Ryan Boren
861c7128b2 Typos
git-svn-id: https://develop.svn.wordpress.org/trunk@2905 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-22 21:14:52 +00:00
Ryan Boren
24738f1176 Pass along grant state when saving cap. Props Owen. fixes #1702
git-svn-id: https://develop.svn.wordpress.org/trunk@2904 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-22 20:39:37 +00:00
Matt Mullenweg
11d854b7ef Uppercase, please.
git-svn-id: https://develop.svn.wordpress.org/trunk@2903 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-22 08:39:09 +00:00
Ryan Boren
258e64c812 stripslashes before running kses. Props donncha. fixes #1697
git-svn-id: https://develop.svn.wordpress.org/trunk@2902 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-21 16:35:35 +00:00
Ryan Boren
38b52d8efc Remove extra line. fixes #1694
git-svn-id: https://develop.svn.wordpress.org/trunk@2899 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-21 02:38:47 +00:00
Ryan Boren
1f44c5d3b1 Spiffier role creation code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2898 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-20 23:48:28 +00:00
Ryan Boren
f1660060ca Filter posts with kses for users who do not have the unfiltered_html cap. Props donncha. fixes #1674
git-svn-id: https://develop.svn.wordpress.org/trunk@2896 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-20 22:18:47 +00:00
Ryan Boren
c7e5d7ee7e Don't reset user cookies when editing other users. Props donncha. fixes #1689
git-svn-id: https://develop.svn.wordpress.org/trunk@2895 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-20 17:55:16 +00:00
Ryan Boren
9441bb9093 wp_insert_comment(), wp_update_comment(), wp_allow_comment(), and wp_filter_comment() from skeltoac. fixes #1683
git-svn-id: https://develop.svn.wordpress.org/trunk@2894 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-20 03:17:43 +00:00
Ryan Boren
0be98daf26 Do over to avoid write context warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2892 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-19 02:49:53 +00:00
Ryan Boren
6f97a857a6 Trim spaw words before checking for empty. Props markjaquith. fixes #1653
git-svn-id: https://develop.svn.wordpress.org/trunk@2891 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-19 02:17:41 +00:00
Ryan Boren
02623729ae Add variable path support to load_plugin_textdomain() in order to support subdir plugins. Props firas. fixes #1468
git-svn-id: https://develop.svn.wordpress.org/trunk@2888 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-16 22:30:03 +00:00
Matt Mullenweg
6d4f063c69 Fixes #1681 and the annoying empty meta problem.
git-svn-id: https://develop.svn.wordpress.org/trunk@2887 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-16 17:27:09 +00:00
Ryan Boren
41b9b94616 Clear all other query flags if we have a 404. fixes #1413
git-svn-id: https://develop.svn.wordpress.org/trunk@2885 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-16 03:16:12 +00:00
Ryan Boren
41aeea36a4 Add missing comma. Props donncha. fixes #1675
git-svn-id: https://develop.svn.wordpress.org/trunk@2883 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-15 23:44:33 +00:00
Ryan Boren
a766b9544b Reference passing fix from jsteidl. fixes #1676
git-svn-id: https://develop.svn.wordpress.org/trunk@2882 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-15 23:42:29 +00:00
Ryan Boren
7d37efbbba get_comments_number() improvements from markjaquith. fixes #1677
git-svn-id: https://develop.svn.wordpress.org/trunk@2881 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-15 23:40:04 +00:00
Ryan Boren
c8cb9b4236 wp_insert_post() return value fix from skeltoac. fixes #1678
git-svn-id: https://develop.svn.wordpress.org/trunk@2878 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-15 23:34:54 +00:00
Ryan Boren
3c12867919 Add clean_post_cache() and clean_page_cache(). Reset GUID when transitioning from draft to publish. fixes #1257
git-svn-id: https://develop.svn.wordpress.org/trunk@2873 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:34:04 +00:00
Ryan Boren
8baae0c89e User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
git-svn-id: https://develop.svn.wordpress.org/trunk@2872 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-14 00:03:02 +00:00
Ryan Boren
97a7959a71 Don't ping when importing.
git-svn-id: https://develop.svn.wordpress.org/trunk@2865 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-10 22:44:14 +00:00
Ryan Boren
3c14e443da Spacing fix from markjaquith. fixes #1665
git-svn-id: https://develop.svn.wordpress.org/trunk@2861 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-09 23:35:30 +00:00
Ryan Boren
28fbadb064 Fix before/after spacing. Props mjsteinbaugh. fixes #1588
git-svn-id: https://develop.svn.wordpress.org/trunk@2859 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:40:37 +00:00
Ryan Boren
4acb163183 Add the_author filter. Props markjaquith. fixes #1531
git-svn-id: https://develop.svn.wordpress.org/trunk@2858 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:18:28 +00:00
Ryan Boren
d225c820cf Check the option cache before querying. Props westi. fixes #1499
git-svn-id: https://develop.svn.wordpress.org/trunk@2856 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:08:48 +00:00
Ryan Boren
87dc2431b6 posts_nav_link fixes from Denis-de-Bernardy. fixes #789
git-svn-id: https://develop.svn.wordpress.org/trunk@2855 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:05:07 +00:00
Ryan Boren
91b0c51004 If PATH_INFO contains the index, don't use it for permalinks. Props gslin. fixes #1591
git-svn-id: https://develop.svn.wordpress.org/trunk@2852 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 20:48:09 +00:00
Ryan Boren
3e618e13be remove_cap() fix from mdawaffe. fixes #1608
git-svn-id: https://develop.svn.wordpress.org/trunk@2851 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 20:39:37 +00:00
Ryan Boren
1e0c61e609 Update path to images. Props jaseone. fixes #1646
git-svn-id: https://develop.svn.wordpress.org/trunk@2849 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-07 03:58:28 +00:00
Ryan Boren
d89ba0be47 Fix permalink structure refs. Props to dougal. fixes #1643
git-svn-id: https://develop.svn.wordpress.org/trunk@2834 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-02 17:08:39 +00:00
Ryan Boren
5932ee4425 Move pings out-of-band to speed up posting. Props to Owen. fixes #1644
git-svn-id: https://develop.svn.wordpress.org/trunk@2833 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-02 16:56:28 +00:00
Matt Mullenweg
def9d039f4 Fixes #1186 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2831 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:25:34 +00:00
Matt Mullenweg
3f1fe52b6e Make posting faster. Fixes #1580 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2828 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:19:32 +00:00
Matt Mullenweg
5ce87df525 Fixes #1578 for 1.6
git-svn-id: https://develop.svn.wordpress.org/trunk@2827 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 23:17:42 +00:00
Ryan Boren
514c36a3bc Make sure extra_query_vars is an array instead of an empty string to avoid weird bug that can cause all query vars to be stomped in certain envs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2824 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 19:01:45 +00:00
Ryan Boren
4680f618c3 Allow query strings at the end of cruftless URIs. Props Owen and Mark. fixes #1581
git-svn-id: https://develop.svn.wordpress.org/trunk@2823 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 04:17:52 +00:00
Ryan Boren
61409382ad url_to_postid() typo fix. Props markjaquith. fixes #1612
git-svn-id: https://develop.svn.wordpress.org/trunk@2822 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 04:07:12 +00:00
Matt Mullenweg
9cc35e21c4 More and nextpage, from ringmaster. Fixes #1564
git-svn-id: https://develop.svn.wordpress.org/trunk@2820 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 01:25:19 +00:00
Matt Mullenweg
aa4db5d4ef Parse
git-svn-id: https://develop.svn.wordpress.org/trunk@2816 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-28 17:35:06 +00:00
Matt Mullenweg
938ebec83a Enter now works for popups.
git-svn-id: https://develop.svn.wordpress.org/trunk@2815 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-28 08:30:21 +00:00
Matt Mullenweg
a7f34532cf Move images
git-svn-id: https://develop.svn.wordpress.org/trunk@2813 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-27 19:10:56 +00:00
Matt Mullenweg
eb5e5c8e14 Big JS move
git-svn-id: https://develop.svn.wordpress.org/trunk@2812 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-27 18:48:56 +00:00
Matt Mullenweg
a1e2c715b7 Errors are broken.
git-svn-id: https://develop.svn.wordpress.org/trunk@2810 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-27 18:31:42 +00:00
Matt Mullenweg
cfed5d658f Optimization from Skippy, fixes #1393
git-svn-id: https://develop.svn.wordpress.org/trunk@2806 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:51:14 +00:00
Matt Mullenweg
dde5ccd8ef Don't hardcode file type, fixes #1553
git-svn-id: https://develop.svn.wordpress.org/trunk@2805 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:48:23 +00:00
Matt Mullenweg
d40e12b750 Fixes #1357
git-svn-id: https://develop.svn.wordpress.org/trunk@2803 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:43:11 +00:00
Ryan Boren
91c19c4060 Call time pass by reference not allowed. Use the array trick. fixes #1583
git-svn-id: https://develop.svn.wordpress.org/trunk@2798 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-20 02:01:44 +00:00
Ryan Boren
59b1ba40c8 get_links() purtification. Props MaThIbUs. fixes #1244
git-svn-id: https://develop.svn.wordpress.org/trunk@2795 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-20 01:46:18 +00:00
Ryan Boren
720b7c5d36 Capabilities fixes from the O man. fixes #1561
git-svn-id: https://develop.svn.wordpress.org/trunk@2793 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-20 01:37:41 +00:00
Matt Mullenweg
355b4acec9 Disabled in safe mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@2790 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-18 21:21:24 +00:00
Matt Mullenweg
fe3daa060e Adding personal options
git-svn-id: https://develop.svn.wordpress.org/trunk@2760 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 19:23:41 +00:00
Matt Mullenweg
2165c50e82 Making the presentation page a little more intuitive
git-svn-id: https://develop.svn.wordpress.org/trunk@2757 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 10:11:30 +00:00
Matt Mullenweg
593b6b49ab You should be able to change the defaults
git-svn-id: https://develop.svn.wordpress.org/trunk@2753 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-05 20:44:18 +00:00
Matt Mullenweg
5d84ad90d1 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2750 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-05 00:16:18 +00:00
Matt Mullenweg
b480c75559 Adding some hooks, fixes #1489
git-svn-id: https://develop.svn.wordpress.org/trunk@2743 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:40:42 +00:00
Matt Mullenweg
7eb46808e7 More hooks, fixes #1535
git-svn-id: https://develop.svn.wordpress.org/trunk@2741 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:28:09 +00:00
Matt Mullenweg
42b54bdd1c Fixes #1370
git-svn-id: https://develop.svn.wordpress.org/trunk@2740 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:24:13 +00:00
Matt Mullenweg
7af1145a9d It falls back to funky escaping that causes problems and is not reversible, so temporarily disabling.
git-svn-id: https://develop.svn.wordpress.org/trunk@2737 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-26 20:11:41 +00:00
Matt Mullenweg
5880f1a3ad Setting native eol:style
git-svn-id: https://develop.svn.wordpress.org/trunk@2735 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 16:16:03 +00:00
Matt Mullenweg
c3694be892 Typo was making everyone admins.
git-svn-id: https://develop.svn.wordpress.org/trunk@2734 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 16:14:29 +00:00
Matt Mullenweg
fc89fd51ca Remember me button on login, fixes #379
git-svn-id: https://develop.svn.wordpress.org/trunk@2733 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:56:59 +00:00
Matt Mullenweg
b8f6638196 Negate that. Fixes #1490. Hat tip: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2731 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-23 06:29:46 +00:00
Ryan Boren
1785b5aae3 Refactor level to cap upgrade code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2727 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-19 14:24:06 +00:00
Matt Mullenweg
3bb5555bb2 More cookie catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2726 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 20:12:48 +00:00
Matt Mullenweg
6d2fd52584 Let advanced users override cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2725 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 19:55:24 +00:00
Ryan Boren
d44131b1b7 get_usermeta() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2721 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 19:55:19 +00:00
Ryan Boren
1fdc779439 Trim option value only if it is a string. Don't trim objects and arrays. Props: Jason Bainbridge
git-svn-id: https://develop.svn.wordpress.org/trunk@2717 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 18:41:11 +00:00
Ryan Boren
7623634aaf in_the_loop() Props: Mark Jaquith fixes #1518
git-svn-id: https://develop.svn.wordpress.org/trunk@2716 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 16:58:13 +00:00
Matt Mullenweg
4d6ecc4943 Check it if matches before serializing, because get_option de-serializes. Hat tip: Donncha.
git-svn-id: https://develop.svn.wordpress.org/trunk@2715 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-16 21:13:14 +00:00
Ryan Boren
9527e184fe More cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2714 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 02:16:45 +00:00
Ryan Boren
235345a916 Move user_can_*() functions to capabilities.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@2713 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 01:27:01 +00:00
Ryan Boren
7e94ba45c5 Cap migration.
git-svn-id: https://develop.svn.wordpress.org/trunk@2712 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 01:24:08 +00:00
Ryan Boren
6059fcf644 Fix typos in is_role() and get_userdata(). fixes #1509 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2711 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-14 22:58:58 +00:00
Ryan Boren
d77f5373ec Roles update + UI from Owen.
git-svn-id: https://develop.svn.wordpress.org/trunk@2704 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-12 15:53:13 +00:00
Ryan Boren
19ab84315c Role/capability system. Round one. Props: Owen Winkler
git-svn-id: https://develop.svn.wordpress.org/trunk@2703 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-11 22:39:50 +00:00
Matt Mullenweg
810e0018f4 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: https://develop.svn.wordpress.org/trunk@2702 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-09 01:27:46 +00:00
Ryan Boren
537b91b582 Stripslashes doesn't work on arrays. Add stripslashes_deep(). Props: Mike Little
git-svn-id: https://develop.svn.wordpress.org/trunk@2700 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-06 01:12:38 +00:00
Ryan Boren
b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Ryan Boren
37f40b7935 register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: https://develop.svn.wordpress.org/trunk@2697 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 21:53:26 +00:00
Ryan Boren
11c44b277c Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2696 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-04 06:27:04 +00:00
Ryan Boren
506091a710 XMLRPC category fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2693 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-03 18:33:03 +00:00
Matt Mullenweg
a2bb87e071 Wrong translation and indentation fix, fixes #1373
git-svn-id: https://develop.svn.wordpress.org/trunk@2689 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:44:35 +00:00
Matt Mullenweg
a990a51b42 Unecessary query, fixes #1456
git-svn-id: https://develop.svn.wordpress.org/trunk@2688 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:41:07 +00:00
Matt Mullenweg
08ab1b910a Output not echo, fixes #1465
git-svn-id: https://develop.svn.wordpress.org/trunk@2686 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:37:08 +00:00
Matt Mullenweg
8addfabdd7 Indentation and correct response link when no comments, fixes #1408
git-svn-id: https://develop.svn.wordpress.org/trunk@2685 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:35:36 +00:00
Matt Mullenweg
8ed932864f Better escaping from class, fixes #1394
git-svn-id: https://develop.svn.wordpress.org/trunk@2684 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 23:31:43 +00:00
Ryan Boren
15a525e6dc Make sure cat list is an array. Props: Peter Westwood
git-svn-id: https://develop.svn.wordpress.org/trunk@2683 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-02 17:28:06 +00:00
Matt Mullenweg
90afdb5e98 We don't think these are needed...
git-svn-id: https://develop.svn.wordpress.org/trunk@2671 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-29 00:44:02 +00:00
Ryan Boren
03997fb239 url_to_postid() fixes from Mark Jaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@2665 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-27 22:02:57 +00:00
Ryan Boren
dfe87eb5f7 Quote IDs in get queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@2663 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 20:44:58 +00:00
Ryan Boren
706c897f32 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: https://develop.svn.wordpress.org/trunk@2662 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-26 19:55:12 +00:00
Ryan Boren
62366e5403 Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: https://develop.svn.wordpress.org/trunk@2657 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 02:03:35 +00:00
Ryan Boren
c8b7b7e47b Return output of get_links() when calling from wp_get_links(). Props: Kafkaesqui fixes #1437
git-svn-id: https://develop.svn.wordpress.org/trunk@2656 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:40:52 +00:00
Ryan Boren
337a17904f Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449
git-svn-id: https://develop.svn.wordpress.org/trunk@2655 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-20 01:30:39 +00:00
Ryan Boren
2b50612117 Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2651 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 02:51:48 +00:00
Ryan Boren
67846fb123 Consolidate post update code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2650 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-19 01:33:38 +00:00
Ryan Boren
f2d1f8460f Use default_category option if not cat specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@2648 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:17:55 +00:00
Ryan Boren
15dc0c3307 Consolidate post creation code into wp_insert_post().
git-svn-id: https://develop.svn.wordpress.org/trunk@2647 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-18 19:08:38 +00:00
Ryan Boren
80f1695619 Straighten out user_id/user_ID conflict. Don't make user_id global in get_currentuserinfo() because it stomps on the local user_id in user-edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@2644 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-16 06:27:30 +00:00
Matt Mullenweg
cd7cb0c110 Encode stylesheet reference. Hit tip: Scott Yang
git-svn-id: https://develop.svn.wordpress.org/trunk@2642 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-15 18:49:47 +00:00
Ryan Boren
1b4bc53f13 Wrap metavalue loop in is_array to check to avoid invalid argument warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2640 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-14 22:54:58 +00:00
Matt Mullenweg
6f9483fbe4 Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@2637 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:38:42 +00:00
Matt Mullenweg
f6ef88773f User data migration should be complete
git-svn-id: https://develop.svn.wordpress.org/trunk@2636 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 08:32:44 +00:00
Ryan Boren
8a2da7e506 Parse REQUEST_URI as a permalink if it looks permalinkish. Use reduced mod_rewrite rules by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@2635 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 02:09:24 +00:00
Matt Mullenweg
8d1546d25f More user fixups
git-svn-id: https://develop.svn.wordpress.org/trunk@2634 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 00:05:41 +00:00
Matt Mullenweg
7f7c72cbe2 More user
git-svn-id: https://develop.svn.wordpress.org/trunk@2633 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:22:06 +00:00
Matt Mullenweg
47d80615b5 More user updates
git-svn-id: https://develop.svn.wordpress.org/trunk@2632 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:14:52 +00:00
Matt Mullenweg
1165caab60 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: https://develop.svn.wordpress.org/trunk@2631 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:49:13 +00:00
Matt Mullenweg
d535fac9bf Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2630 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 20:48:07 +00:00
Ryan Boren
7d6fc8af08 Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:15:13 +00:00
Matt Mullenweg
7212a28e17 Fix for get_author_link, fixes #1430
git-svn-id: https://develop.svn.wordpress.org/trunk@2626 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:13:19 +00:00
Matt Mullenweg
a2fa5d6a70 Better headers for CGI enviroments
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg
61e7a703d1 Updating IXR to latest, fixes #1400
git-svn-id: https://develop.svn.wordpress.org/trunk@2622 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-07 07:39:39 +00:00
Matt Mullenweg
472b800ab4 Better pingback extraction, fixes #1268
git-svn-id: https://develop.svn.wordpress.org/trunk@2619 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-04 10:15:36 +00:00
Matt Mullenweg
f0f4effd6e Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2617 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:14:25 +00:00
Matt Mullenweg
64e674dad8 Bad cat ID cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2616 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-27 06:10:41 +00:00
Matt Mullenweg
a2f90488a0 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2613 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-19 17:44:58 +00:00
Ryan Boren
0edec9ae9e Don't attempt to trackback an empty string. Fix file path in wp_get_http_headers(). This avoids 'File does not exist' server messages when processing enclosures.
git-svn-id: https://develop.svn.wordpress.org/trunk@2612 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 03:17:55 +00:00
Ryan Boren
239462c326 More url_to_postid() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2611 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 02:27:43 +00:00
Ryan Boren
ec2938185d More url_to_postid() fixes. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: https://develop.svn.wordpress.org/trunk@2610 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-18 00:04:30 +00:00
Ryan Boren
c7783bbda4 Rework url_to_postid() to handle all supported permalink structs. Helps resolve pingback URIs to posts. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: https://develop.svn.wordpress.org/trunk@2609 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:59:42 +00:00
Ryan Boren
7a561d0d00 Make sure cache is primed before use in get_category_children().
git-svn-id: https://develop.svn.wordpress.org/trunk@2608 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 02:57:47 +00:00
Matt Mullenweg
23be7d16b7 Newline regression - http://mosquito.wordpress.org/view.php?id=263 - Hat tip: mlittle
git-svn-id: https://develop.svn.wordpress.org/trunk@2607 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-14 00:22:30 +00:00
Matt Mullenweg
7d07dc1201 fclose removed, only use curl if we have to - http://mosquito.wordpress.org/view.php?id=1324 - hat tip: rboren
git-svn-id: https://develop.svn.wordpress.org/trunk@2606 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:53:18 +00:00
Matt Mullenweg
4b6aa188cd http://mosquito.wordpress.org/view.php?id=1331 - Hat tip: Mike the Magnificant
git-svn-id: https://develop.svn.wordpress.org/trunk@2603 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:13:13 +00:00
Matt Mullenweg
07fc6d5bac http://mosquito.wordpress.org/view.php?id=1348 - rboren - perhaps we should standardize on REQUEST_URI and clean up in wp-settings?
git-svn-id: https://develop.svn.wordpress.org/trunk@2602 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:11:26 +00:00
Matt Mullenweg
16e3eb7431 http://mosquito.wordpress.org/view.php?id=1341 - Hat tip: Ryan the Rockstar
git-svn-id: https://develop.svn.wordpress.org/trunk@2601 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:09:21 +00:00
Matt Mullenweg
49a583cdcc About to start the patchfest
git-svn-id: https://develop.svn.wordpress.org/trunk@2599 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 20:59:10 +00:00
Matt Mullenweg
0fcdf99bae http://mosquito.wordpress.org/view.php?id=1353 - Hat tip MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2598 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 20:31:59 +00:00
Matt Mullenweg
83412e8dfe Boop
git-svn-id: https://develop.svn.wordpress.org/trunk@2596 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 19:04:43 +00:00
Matt Mullenweg
c9b76b0cf4 Use correct category ID variable - http://mosquito.wordpress.org/view.php?id=1319
git-svn-id: https://develop.svn.wordpress.org/trunk@2589 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 10:59:36 +00:00
Matt Mullenweg
58917f8be1 Use class instead of ID - http://mosquito.wordpress.org/view.php?id=1320
git-svn-id: https://develop.svn.wordpress.org/trunk@2588 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 10:58:14 +00:00
Matt Mullenweg
c0fdcbaa7c Version numbers are always irrational anyway
git-svn-id: https://develop.svn.wordpress.org/trunk@2585 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-05 23:13:24 +00:00
Matt Mullenweg
e749e54a6b Add filter to page list
git-svn-id: https://develop.svn.wordpress.org/trunk@2583 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-04 20:57:12 +00:00
Matt Mullenweg
58ee37098a Don't P on address
git-svn-id: https://develop.svn.wordpress.org/trunk@2582 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 22:31:20 +00:00
Matt Mullenweg
9648173c70 Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
git-svn-id: https://develop.svn.wordpress.org/trunk@2581 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 07:52:11 +00:00
Matt Mullenweg
ec343a0155 Texturize tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@2578 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-01 19:21:42 +00:00
Ryan Boren
e932142953 Fix comment auto-approval for authors/admins. http://mosquito.wordpress.org/view.php?id=1291 Props: kim, coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2576 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-27 23:55:06 +00:00
Ryan Boren
41b7c1ba73 Fix WP version in pingbacks. http://mosquito.wordpress.org/view.php?id=1285 Props: error
git-svn-id: https://develop.svn.wordpress.org/trunk@2575 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-26 05:51:25 +00:00
Matt Mullenweg
9843451d11 Extended ping support
git-svn-id: https://develop.svn.wordpress.org/trunk@2572 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-22 21:17:10 +00:00
Ryan Boren
685705d9f4 Handle theme name collisions more elegantly.
git-svn-id: https://develop.svn.wordpress.org/trunk@2568 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 01:35:52 +00:00
Matt Mullenweg
9859c8dc9f Show 0 titles - http://mosquito.wordpress.org/view.php?id=1266 Hat tip: Mark
git-svn-id: https://develop.svn.wordpress.org/trunk@2567 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 00:55:30 +00:00
Ryan Boren
b7c7267534 Add echo option to wp_list_pages() and subordinates. http://mosquito.wordpress.org/view.php?id=1270 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2566 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-21 00:49:15 +00:00
Matt Mullenweg
aff97a560f Whitelist from own domain. http://mosquito.wordpress.org/view.php?id=999
git-svn-id: https://develop.svn.wordpress.org/trunk@2562 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 22:01:24 +00:00
Matt Mullenweg
acf9076fc0 Dupe comment check - http://mosquito.wordpress.org/view.php?id=1265
git-svn-id: https://develop.svn.wordpress.org/trunk@2561 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 21:56:28 +00:00
Matt Mullenweg
1589419508 Don't enclose different things multiple times - http://mosquito.wordpress.org/view.php?id=1197
git-svn-id: https://develop.svn.wordpress.org/trunk@2560 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 21:07:19 +00:00
Matt Mullenweg
2e3c23045c Line ending fixes and commenting cleanups from Scott Reilly
git-svn-id: https://develop.svn.wordpress.org/trunk@2556 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 03:37:23 +00:00
Ryan Boren
d1978523e8 Remove svn:executable from streams.php and gettext.php http://mosquito.wordpress.org/view.php?id=1261
git-svn-id: https://develop.svn.wordpress.org/trunk@2554 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 02:46:48 +00:00
Matt Mullenweg
a1ac3e7120 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: https://develop.svn.wordpress.org/trunk@2552 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:24:05 +00:00
Matt Mullenweg
d0af63764e More consistent use of cat_ID vs category_id
git-svn-id: https://develop.svn.wordpress.org/trunk@2551 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:17:36 +00:00
Matt Mullenweg
d7c18937a1 Optimiation from Denis
git-svn-id: https://develop.svn.wordpress.org/trunk@2550 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 05:27:24 +00:00
Matt Mullenweg
4ea0b88e54 Missing backslash, fixes http://mosquito.wordpress.org/view.php?id=1224
git-svn-id: https://develop.svn.wordpress.org/trunk@2549 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:41:22 +00:00
Matt Mullenweg
399e9acf58 Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: https://develop.svn.wordpress.org/trunk@2548 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:35:48 +00:00
Matt Mullenweg
2d24171b3a Better message.
git-svn-id: https://develop.svn.wordpress.org/trunk@2547 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:25:14 +00:00
Matt Mullenweg
e4b3c5f46d Test for true.
git-svn-id: https://develop.svn.wordpress.org/trunk@2546 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:11:55 +00:00
Matt Mullenweg
e9d456ef46 Only ping the site once. Fixes http://mosquito.wordpress.org/view.php?id=1254
git-svn-id: https://develop.svn.wordpress.org/trunk@2545 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:10:12 +00:00
Ryan Boren
bd7d179803 Use UTC in comments rss feed. http://mosquito.wordpress.org/view.php?id=1256 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2543 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 00:23:55 +00:00
Ryan Boren
79ee1c30f1 In same category support for next and previous post navigation. http://mosquito.wordpress.org/view.php?id=1252 Props: skippy
git-svn-id: https://develop.svn.wordpress.org/trunk@2542 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-18 21:47:35 +00:00
Ryan Boren
f558669a6e Filter the title in next_post() and previous_post(). Mark next_post() and previous_post() as deprecated. Update the default theme to use next_post_link() and previous_post_link(). http://mosquito.wordpress.org/view.php?id=1241 Hat tip: wyrfel
git-svn-id: https://develop.svn.wordpress.org/trunk@2538 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-17 17:09:19 +00:00
Ryan Boren
5cf9bdb5ae Fix post paging regex to avoid regex collision between posts with slugs that differ only by a trailing number. http://mosquito.wordpress.org/view.php?id=1235
git-svn-id: https://develop.svn.wordpress.org/trunk@2535 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-14 04:24:22 +00:00
Ryan Boren
5256ab4601 LIMIT 1 in the whitelist query. Props: Brian Dupuis
git-svn-id: https://develop.svn.wordpress.org/trunk@2531 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 16:50:13 +00:00
Ryan Boren
4d31612412 Better page and subpage support for url_to_postid(). http://mosquito.wordpress.org/view.php?id=1214 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2527 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-12 21:12:28 +00:00
Ryan Boren
1c623ee737 Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
git-svn-id: https://develop.svn.wordpress.org/trunk@2526 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-10 20:07:46 +00:00
Ryan Boren
8324f6962a Implement order and orderby for get_posts(). http://mosquito.wordpress.org/view.php?id=1161 Props: RummandDan
git-svn-id: https://develop.svn.wordpress.org/trunk@2525 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:30:57 +00:00
Ryan Boren
2e7c387207 Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2524 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:25:47 +00:00
Ryan Boren
a0d5ea6ba2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren
16a3144b00 Use comment count cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@2522 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 07:09:26 +00:00
Ryan Boren
ace6f68c14 Don't escape broken vertical bar.
git-svn-id: https://develop.svn.wordpress.org/trunk@2520 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-08 14:16:29 +00:00
Matt Mullenweg
be9bd11994 Adding new comment template hooks
git-svn-id: https://develop.svn.wordpress.org/trunk@2518 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-06 15:13:56 +00:00
Ryan Boren
181201a4d6 Add entity 2 ncr converter. http://mosquito.wordpress.org/view.php?id=929 Props: Kaf Oseo
git-svn-id: https://develop.svn.wordpress.org/trunk@2517 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-05 17:25:57 +00:00
Ryan Boren
0dd2abae98 Move plugin replacebale functions to pluggable-functions.php. http://mosquito.wordpress.org/view.php?id=1211
git-svn-id: https://develop.svn.wordpress.org/trunk@2516 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 23:25:51 +00:00
Ryan Boren
eca5d88e60 Make wp_mail() replaceable. http://mosquito.wordpress.org/view.php?id=1210
git-svn-id: https://develop.svn.wordpress.org/trunk@2515 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 22:36:09 +00:00
Ryan Boren
a004444b56 Recognize level 0 users in wp_loginout() and wp_register(). http://mosquito.wordpress.org/view.php?id=1202 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2513 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 17:38:41 +00:00
Ryan Boren
b6b4c04371 In get_category(), check for empty category id so that we do not create a malformed SQL query.
git-svn-id: https://develop.svn.wordpress.org/trunk@2509 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:09:31 +00:00
Ryan Boren
185dbb4e7a Don't use i18n unfriendly substr operations in date_i18n. http://mosquito.wordpress.org/view.php?id=1200 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2508 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-02 19:51:12 +00:00
Ryan Boren
01d17183e2 Add query string style API support to wp_get_linksbyname(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: https://develop.svn.wordpress.org/trunk@2507 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:45:26 +00:00
Ryan Boren
db62c48897 add_query_arg() dropped the passed in query string if the string did not contain any path elements.
git-svn-id: https://develop.svn.wordpress.org/trunk@2506 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:42:46 +00:00
Ryan Boren
02ef551922 Add query string style API support to wp_get_links(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: https://develop.svn.wordpress.org/trunk@2505 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:15:18 +00:00
Ryan Boren
e2826065e4 More category cache cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@2504 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:25:54 +00:00
Ryan Boren
78d13aebb6 You can't index an array with an object ref. Silly Ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@2503 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:00:39 +00:00
Ryan Boren
3122bbc8d2 Add support for new Status: theme header field. http://mosquito.wordpress.org/view.php?id=1192
git-svn-id: https://develop.svn.wordpress.org/trunk@2502 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 04:44:50 +00:00
Ryan Boren
7d59187e7a Add some more cache handling to get_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@2500 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 23:33:37 +00:00
Ryan Boren
92bfcd3e37 Fix Manage->Posts paging when running WP in a subdir. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: https://develop.svn.wordpress.org/trunk@2499 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 06:51:55 +00:00
Ryan Boren
2b8aad1549 Accidentally dropped admin_email var. http://mosquito.wordpress.org/view.php?id=1190 Props: MtDewVirus
git-svn-id: https://develop.svn.wordpress.org/trunk@2498 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 05:45:30 +00:00
Ryan Boren
8c461095fc Remove old, unused variables. http://mosquito.wordpress.org/view.php?id=1187 Props: Alex Parkhomenko
git-svn-id: https://develop.svn.wordpress.org/trunk@2497 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 22:35:15 +00:00
Ryan Boren
3213f820c9 Cockney 'cause. http://mosquito.wordpress.org/view.php?id=1100 Props: bcrow
git-svn-id: https://develop.svn.wordpress.org/trunk@2493 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:19:50 +00:00
Ryan Boren
3ddc18abb9 Add wp_footer() to maintain fearful symmetry with our head. http://mosquito.wordpress.org/view.php?id=1147 Props: ringmaster
git-svn-id: https://develop.svn.wordpress.org/trunk@2492 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:11:36 +00:00
Ryan Boren
198665bef2 get_post(): Don't use for cache lookup when a post id is passed.
git-svn-id: https://develop.svn.wordpress.org/trunk@2485 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 03:33:56 +00:00
Ryan Boren
c5b906d680 Add Latin Extended-A decompositions to remove_accents(). http://mosquito.wordpress.org/view.php?id=836
git-svn-id: https://develop.svn.wordpress.org/trunk@2484 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 03:12:24 +00:00
Ryan Boren
cd81a83c07 Decompose U+00DF LATIN SMALL LETTER SHARP S to U+0073 LATIN SMALL LETTER S. Reindent decomposition table. http://mosquito.wordpress.org/view.php?id=1180
git-svn-id: https://develop.svn.wordpress.org/trunk@2483 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 01:38:29 +00:00
Ryan Boren
5f3362fbf5 Pass by value instead of reference. http://mosquito.wordpress.org/view.php?id=1171 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2482 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 01:04:16 +00:00
Ryan Boren
82d89d8d7c Add paging to Manage->Posts. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: https://develop.svn.wordpress.org/trunk@2481 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-28 02:34:16 +00:00
Ryan Boren
7413ccfe72 Get all generations of page children, not just the first, when using child_of. http://mosquito.wordpress.org/view.php?id=1171
git-svn-id: https://develop.svn.wordpress.org/trunk@2480 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 22:17:23 +00:00
Ryan Boren
9536835eb4 Split post and page caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@2479 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 21:56:10 +00:00
Ryan Boren
8dec99fddb Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: https://develop.svn.wordpress.org/trunk@2478 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 20:45:01 +00:00
Ryan Boren
8480784cda Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2477 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-25 21:41:45 +00:00
Ryan Boren
e3aa5de539 Feeds should always show x posts, not x days. http://mosquito.wordpress.org/view.php?id=1159
git-svn-id: https://develop.svn.wordpress.org/trunk@2475 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-23 21:39:22 +00:00
Ryan Boren
e3728e7b6a Respect post password protection for enclosures. http://mosquito.wordpress.org/view.php?id=1040
git-svn-id: https://develop.svn.wordpress.org/trunk@2472 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 17:49:19 +00:00
Ryan Boren
f4e023b68a Add posts_orderby filter. http://mosquito.wordpress.org/view.php?id=1149 Props: davidchait
git-svn-id: https://develop.svn.wordpress.org/trunk@2466 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 01:55:07 +00:00
Ryan Boren
2e2dde0944 Honor echo var in get_links(). http://mosquito.wordpress.org/view.php?id=1023 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2461 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 00:08:57 +00:00
Matt Mullenweg
91bae528d5 Missing UA - http://mosquito.wordpress.org/view.php?id=1086
git-svn-id: https://develop.svn.wordpress.org/trunk@2457 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-18 15:48:30 +00:00
Matt Mullenweg
408ca99efe Fix from Kimmo/Craig
git-svn-id: https://develop.svn.wordpress.org/trunk@2456 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-18 06:07:36 +00:00
Matt Mullenweg
5b52ad1017 Use installing variable (from Donncha)
git-svn-id: https://develop.svn.wordpress.org/trunk@2455 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 23:34:06 +00:00
Ryan Boren
85c7025241 Fix fallback case for __ngettext(). http://mosquito.wordpress.org/view.php?id=1125
git-svn-id: https://develop.svn.wordpress.org/trunk@2454 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 18:15:18 +00:00
Ryan Boren
d381ae36da Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: https://develop.svn.wordpress.org/trunk@2453 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-17 03:39:02 +00:00
Ryan Boren
95e5d37a0d Fix all/none handling in dropdown_cats(). http://mosquito.wordpress.org/view.php?id=1120 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2450 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-16 21:36:18 +00:00
Ryan Boren
6d44a0cac3 Exclude admin from author list based on user_login instead of user_nickname since user_nickname can be changed. http://mosquito.wordpress.org/view.php?id=1090 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2444 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 01:09:49 +00:00
Ryan Boren
310589c667 Apply filters to auto excerpt before tags are stripped. http://mosquito.wordpress.org/view.php?id=918 Props: kim
git-svn-id: https://develop.svn.wordpress.org/trunk@2443 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 01:02:04 +00:00
Ryan Boren
1e268f40ac Apply filters to trackback content. http://mosquito.wordpress.org/view.php?id=1085 Props: kim
git-svn-id: https://develop.svn.wordpress.org/trunk@2442 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-14 00:55:21 +00:00
Ryan Boren
af3b90cc1e Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
git-svn-id: https://develop.svn.wordpress.org/trunk@2437 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 17:06:18 +00:00
Ryan Boren
df3fb34a70 Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 16:36:09 +00:00
Ryan Boren
73b0feb5b8 Don't allow a page to be its own parent. http://mosquito.wordpress.org/view.php?id=1095
git-svn-id: https://develop.svn.wordpress.org/trunk@2435 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 01:24:18 +00:00
Ryan Boren
57f958a020 Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2432 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 03:41:04 +00:00
Ryan Boren
96c87298e8 Fix do_action arg handling. http://mosquito.wordpress.org/view.php?id=901
git-svn-id: https://develop.svn.wordpress.org/trunk@2430 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 00:57:34 +00:00
Matt Mullenweg
cac1655fae Past and future time diffs, hat tip Eric Meyer. http://mosquito.wordpress.org/view.php?id=1059
git-svn-id: https://develop.svn.wordpress.org/trunk@2428 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-10 08:01:02 +00:00
Ryan Boren
9e7ef95b4c Cache the max number of pages to avoid multiple queries. http://mosquito.wordpress.org/view.php?id=1063
git-svn-id: https://develop.svn.wordpress.org/trunk@2422 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 04:15:30 +00:00
Ryan Boren
3bacf431ae Page caching fixes. Mosquito bugs 920, 927, and 934.
git-svn-id: https://develop.svn.wordpress.org/trunk@2421 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 03:16:30 +00:00
Ryan Boren
d2b598c1c3 Add missing globals to post_custom(). http://mosquito.wordpress.org/view.php?id=1058 Props: kellan
git-svn-id: https://develop.svn.wordpress.org/trunk@2420 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-08 16:28:57 +00:00
Ryan Boren
35be0f6333 Don't stomp feed flag. http://mosquito.wordpress.org/view.php?id=1044 Props: shelleyp
git-svn-id: https://develop.svn.wordpress.org/trunk@2419 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-08 01:20:08 +00:00
Matt Mullenweg
d22dd5f1bd http://mosquito.wordpress.org/view.php?id=1049
git-svn-id: https://develop.svn.wordpress.org/trunk@2418 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 15:20:56 +00:00
Matt Mullenweg
6470c3f14f Cleaned up enclosures, factored out header code, fixed validation -
http://mosquito.wordpress.org/view.php?id=963


git-svn-id: https://develop.svn.wordpress.org/trunk@2416 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 08:56:47 +00:00
Matt Mullenweg
794f7cf7fe Fix for http://mosquito.wordpress.org/view.php?id=980
git-svn-id: https://develop.svn.wordpress.org/trunk@2415 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 06:48:57 +00:00
Ryan Boren
e706104b8b Do not skip whitelist checking if moderation keys are empty. http://mosquito.wordpress.org/view.php?id=1028 Props: ColdForged
git-svn-id: https://develop.svn.wordpress.org/trunk@2414 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-07 00:16:06 +00:00
Ryan Boren
346d169130 Fix %post_id% and date collision avoidance. http://mosquito.wordpress.org/view.php?id=1027
git-svn-id: https://develop.svn.wordpress.org/trunk@2410 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-05 18:13:31 +00:00
Matt Mullenweg
440dbf0efa Missing;
git-svn-id: https://develop.svn.wordpress.org/trunk@2408 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-05 02:02:15 +00:00
Matt Mullenweg
651f4d0631 Fix from Michel for XML-RPC error - http://mosquito.wordpress.org/view.php?id=829
git-svn-id: https://develop.svn.wordpress.org/trunk@2407 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-04 20:43:57 +00:00
Matt Mullenweg
2bacf5606e Don't count drafts/etc against post count - http://mosquito.wordpress.org/view.php?id=1010
git-svn-id: https://develop.svn.wordpress.org/trunk@2403 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 17:59:19 +00:00
Matt Mullenweg
48b52b3aa9 Hide password on user end - http://mosquito.wordpress.org/view.php?id=1016
git-svn-id: https://develop.svn.wordpress.org/trunk@2402 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 17:56:21 +00:00
Ryan Boren
7f5937bc6b apply_filter fixes from michel. http://mosquito.wordpress.org/view.php?id=901
git-svn-id: https://develop.svn.wordpress.org/trunk@2398 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-02 15:28:32 +00:00
Matt Mullenweg
2155d47334 Fix for emergent whitelisting, hat tip MtDewVirus - http://mosquito.wordpress.org/view.php?id=995
git-svn-id: https://develop.svn.wordpress.org/trunk@2397 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-01 10:10:59 +00:00
Matt Mullenweg
a0eba624c5 Category query speedup and indentation fixes. Hat tip: Scott. http://mosquito.wordpress.org/view.php?id=1005
git-svn-id: https://develop.svn.wordpress.org/trunk@2396 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-01 09:10:12 +00:00
Matt Mullenweg
0de297805a Change require to include so the files are only parsed if the statement is evaluated true.
git-svn-id: https://develop.svn.wordpress.org/trunk@2395 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-28 17:15:53 +00:00
Ryan Boren
0634c589f1 Bump php-gettext to version 1.0.3. http://mosquito.wordpress.org/view.php?id=1001 Mad props to Nico Kaiser.
git-svn-id: https://develop.svn.wordpress.org/trunk@2394 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-28 16:31:01 +00:00
Ryan Boren
361994da2e Pass arg from bloginfo_rss() to get_bloginfo_rss(). http://mosquito.wordpress.org/view.php?id=992 Props: kim
git-svn-id: https://develop.svn.wordpress.org/trunk@2389 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-27 16:42:57 +00:00
Ryan Boren
4aa9fdc013 Make sure get_the_category() returns an array.
git-svn-id: https://develop.svn.wordpress.org/trunk@2387 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-27 04:47:38 +00:00
Ryan Boren
87bbe3b04f Use index.php for feed links instead of wp-*.php http://mosquito.wordpress.org/view.php?id=915
git-svn-id: https://develop.svn.wordpress.org/trunk@2384 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-26 06:12:16 +00:00
Matt Mullenweg
1fb1868801 Escape amps in links manager links - http://priyadi.net/archives/2005/02/25/wordpress-15-bugs/
git-svn-id: https://develop.svn.wordpress.org/trunk@2382 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 17:46:27 +00:00
Ryan Boren
e9298b1772 Add get_bloginfo_rss(). http://mosquito.wordpress.org/view.php?id=971 Hat tip: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2380 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 15:52:28 +00:00
Ryan Boren
f0b153775a Add get_the_category_list(). http://mosquito.wordpress.org/view.php?id=970 Hat tip: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2379 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 15:50:55 +00:00
Matt Mullenweg
fd9ab661fe Version bump, testing new list
git-svn-id: https://develop.svn.wordpress.org/trunk@2371 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-21 07:02:12 +00:00
Ryan Boren
f22a3f3283 Do not translate dates in feeds. http://mosquito.wordpress.org/view.php?id=924. Reviewed by morganiq.
git-svn-id: https://develop.svn.wordpress.org/trunk@2366 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-21 04:19:43 +00:00
Ryan Boren
7ba461a96c Remove option from wp_mail(). The additional parameters argument to mail() is non-portable and not useful to us. Props: dalziel. http://mosquito.wordpress.org/view.php?id=855
git-svn-id: https://develop.svn.wordpress.org/trunk@2365 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-19 04:17:34 +00:00
michelvaldrighi
4b4f99f127 reverting the previous patch: it made it impossible to sort the list by category name
git-svn-id: https://develop.svn.wordpress.org/trunk@2364 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-18 16:42:49 +00:00
Matt Mullenweg
0f15eb8785 Trackback ending http://mosquito.wordpress.org/view.php?id=884
git-svn-id: https://develop.svn.wordpress.org/trunk@2361 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-17 09:03:23 +00:00
michelvaldrighi
7a45d0e309 whoops, make wp_list_pages not spew a warning when there are no pages
git-svn-id: https://develop.svn.wordpress.org/trunk@2360 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-17 00:11:35 +00:00
Dougal Campbell
0a24ddec5a Oops. Stupid typo. Thanks, Ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@2358 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 22:01:52 +00:00
Dougal Campbell
586092fa0a This really deserves to be in a separate function so that plugins can get at it more easily, don't you think?
git-svn-id: https://develop.svn.wordpress.org/trunk@2357 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 21:35:58 +00:00
michelvaldrighi
523757d3e6 getting the list of categories from cat_counts if hide_empty is true, saves one query
git-svn-id: https://develop.svn.wordpress.org/trunk@2356 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 16:06:07 +00:00
michelvaldrighi
8150ffc1a3 if permalink_structure doesn't have %category%, don't bother querying categories
git-svn-id: https://develop.svn.wordpress.org/trunk@2355 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 15:49:02 +00:00
michelvaldrighi
efc4b4e54d added cache_pages to avoid making 1+X queries everytime wp_list_pages is called, where X is the number of pages
git-svn-id: https://develop.svn.wordpress.org/trunk@2354 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 15:12:04 +00:00
michelvaldrighi
68d7c93974 unified cache_userdata indexes by referencing user_login to ID, got rid of the useless, and broken, get_userid (get_userdatabylogin provides the same functionnality anyway)
git-svn-id: https://develop.svn.wordpress.org/trunk@2353 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 14:29:55 +00:00
Dougal Campbell
83a9308954 I'm pretty sure that this should be get_theme_root(), not get_theme_base()
git-svn-id: https://develop.svn.wordpress.org/trunk@2350 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 19:55:12 +00:00
Ryan Boren
f35d0429c3 Fix category links when permalinks are not enabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@2347 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 06:52:38 +00:00
Matt Mullenweg
1a35f3c783 *cough*
git-svn-id: https://develop.svn.wordpress.org/trunk@2345 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 01:24:11 +00:00
Matt Mullenweg
28fb881767 Wrong line
git-svn-id: https://develop.svn.wordpress.org/trunk@2344 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:50:23 +00:00
Matt Mullenweg
9b6518f605 Make excerpt stuff a filter
git-svn-id: https://develop.svn.wordpress.org/trunk@2341 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:21:21 +00:00
Ryan Boren
fe2c881868 Make wp_setcookie() and wp_clearcookie() replaceable.
git-svn-id: https://develop.svn.wordpress.org/trunk@2340 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-15 00:17:21 +00:00
Matt Mullenweg
8c0bda2b91 Accidentally removed H2
git-svn-id: https://develop.svn.wordpress.org/trunk@2339 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 23:37:28 +00:00
Matt Mullenweg
bb46173adf User agent in trackbacks, good idea - http://mosquito.wordpress.org/view.php?id=873
git-svn-id: https://develop.svn.wordpress.org/trunk@2334 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:48:48 +00:00
Ryan Boren
35b685cb65 Load comments-popup template through the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@2332 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:17:23 +00:00
Matt Mullenweg
128ee4de8a http://mosquito.wordpress.org/view.php?id=871
git-svn-id: https://develop.svn.wordpress.org/trunk@2330 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 07:09:51 +00:00
Matt Mullenweg
60c3b346cd Fix for single_month_title - http://mosquito.wordpress.org/view.php?id=867
git-svn-id: https://develop.svn.wordpress.org/trunk@2327 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 06:48:51 +00:00
Matt Mullenweg
a5fec00554 Don't let there be duplicate post_names
git-svn-id: https://develop.svn.wordpress.org/trunk@2323 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:51:14 +00:00
Matt Mullenweg
ed8a84e4cd html_type to allow for true XHTML.
git-svn-id: https://develop.svn.wordpress.org/trunk@2321 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:36:57 +00:00
Matt Mullenweg
b217e56e28 More efficient get_category_link - http://mosquito.wordpress.org/view.php?id=590
git-svn-id: https://develop.svn.wordpress.org/trunk@2316 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 03:27:50 +00:00
Matt Mullenweg
bb8f038992 Removal of changes.xml bloat.
git-svn-id: https://develop.svn.wordpress.org/trunk@2313 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 03:11:23 +00:00
Matt Mullenweg
1fb676a13d Better pinging
git-svn-id: https://develop.svn.wordpress.org/trunk@2312 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 01:57:48 +00:00
Matt Mullenweg
3b25d5706b Support for categories - http://mosquito.wordpress.org/view.php?id=52
git-svn-id: https://develop.svn.wordpress.org/trunk@2311 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 00:58:51 +00:00
Matt Mullenweg
a84ebfeaa1 Show post count in dropdown - http://mosquito.wordpress.org/view.php?id=596
git-svn-id: https://develop.svn.wordpress.org/trunk@2306 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 23:46:33 +00:00
Ryan Boren
3d321e23a5 Use the object's is_* vars instead of the global is_* functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@2300 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 19:45:04 +00:00
Ryan Boren
6ee469cf88 Process posts_per_rss in WP_Query. http://mosquito.wordpress.org/view.php?id=864
git-svn-id: https://develop.svn.wordpress.org/trunk@2299 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 19:42:22 +00:00
Ryan Boren
709c503d60 Make adding new feeds to rewrite rules easier.
git-svn-id: https://develop.svn.wordpress.org/trunk@2297 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 18:42:40 +00:00
Ryan Boren
59e46cbb3e /archives/%post_id% permalinks break for post ids over 1000. http://mosquito.wordpress.org/view.php?id=847
git-svn-id: https://develop.svn.wordpress.org/trunk@2296 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 18:26:50 +00:00
Ryan Boren
093d13ed1c Allow category and date filtering to coincide. Allow any number of spaces or commas to serve as item separators in the category and author arrays. http://mosquito.wordpress.org/view.php?id=221
git-svn-id: https://develop.svn.wordpress.org/trunk@2295 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 17:52:58 +00:00
Ryan Boren
e5ba4f2302 Add theme directory location hooks.
git-svn-id: https://develop.svn.wordpress.org/trunk@2292 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 19:06:06 +00:00
Matt Mullenweg
ddc38cc3cf Allow custom comment template - http://mosquito.wordpress.org/view.php?id=632
git-svn-id: https://develop.svn.wordpress.org/trunk@2289 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:27 +00:00
Matt Mullenweg
fd66fc02c6 Enclosure cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 08:58:10 +00:00
Matt Mullenweg
f116d6b4f0 Styleme - http://mosquito.wordpress.org/view.php?id=856
git-svn-id: https://develop.svn.wordpress.org/trunk@2283 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 07:31:56 +00:00
Matt Mullenweg
4bfdef5908 Don't show pages or objects in recent posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@2281 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 05:25:09 +00:00
Matt Mullenweg
5352fe6dbe Invalid XHTML possibility - http://mosquito.wordpress.org/view.php?id=518
git-svn-id: https://develop.svn.wordpress.org/trunk@2280 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 02:05:58 +00:00
Matt Mullenweg
dd7a83f22c We send the charset so we shouldn't need to do character conversion
git-svn-id: https://develop.svn.wordpress.org/trunk@2277 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 01:22:36 +00:00
Matt Mullenweg
9c49e1b2a4 Don't show category counts from the future.
git-svn-id: https://develop.svn.wordpress.org/trunk@2270 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 03:43:56 +00:00
Matt Mullenweg
322382ae61 Allow setting of post_parent - http://mosquito.wordpress.org/view.php?id=111
git-svn-id: https://develop.svn.wordpress.org/trunk@2269 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 03:36:49 +00:00
Matt Mullenweg
1167c1a26c Don't double encode
git-svn-id: https://develop.svn.wordpress.org/trunk@2263 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 02:26:05 +00:00
Matt Mullenweg
1f344fc951 Shorten excerpt
git-svn-id: https://develop.svn.wordpress.org/trunk@2262 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 02:19:16 +00:00
Matt Mullenweg
68c44682ba http://mosquito.wordpress.org/view.php?id=778
git-svn-id: https://develop.svn.wordpress.org/trunk@2261 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 02:16:38 +00:00
Matt Mullenweg
d0c7d85ee5 Excellent spam moderation patch from CarLBanks - http://mosquito.wordpress.org/view.php?id=835
git-svn-id: https://develop.svn.wordpress.org/trunk@2258 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 01:52:19 +00:00
Matt Mullenweg
9b55bd6c62 Don't show email errors for people who don't have it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2256 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 01:31:23 +00:00
Matt Mullenweg
a29e5dbc3c Don't show posts from the future
git-svn-id: https://develop.svn.wordpress.org/trunk@2255 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 01:27:10 +00:00
Matt Mullenweg
4e6e67e06f Keep working with 4.1 - http://mosquito.wordpress.org/view.php?id=808
git-svn-id: https://develop.svn.wordpress.org/trunk@2247 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 00:57:46 +00:00
Matt Mullenweg
64701e362c When good regex goes bad - http://mosquito.wordpress.org/view.php?id=851
git-svn-id: https://develop.svn.wordpress.org/trunk@2246 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 00:55:01 +00:00
Ryan Boren
728874a7b7 Concatenate this.
git-svn-id: https://develop.svn.wordpress.org/trunk@2241 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 09:14:14 +00:00
Matt Mullenweg
e9915276e7 Some filter action and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2240 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:46:41 +00:00
Matt Mullenweg
5173c86910 Remove querystring variable legacy code
git-svn-id: https://develop.svn.wordpress.org/trunk@2239 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:37:53 +00:00
Matt Mullenweg
aa6f078dae Include cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2238 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:25:30 +00:00
Matt Mullenweg
cb39e25512 Mail and reset fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2236 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 06:43:23 +00:00
Ryan Boren
fc7b2cf0ff Fix May abbreviation translation. Patch by morganiq. http://mosquito.wordpress.org/view.php?id=722
git-svn-id: https://develop.svn.wordpress.org/trunk@2232 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 20:45:10 +00:00
Ryan Boren
21c3726951 Do some caching in get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2230 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 18:21:20 +00:00
Ryan Boren
042acc0a4a Don't array_slice in loop. Move it up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2229 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 06:13:26 +00:00
Ryan Boren
f79c6cdf7a Oops. Inverted logic and typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2228 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:42:53 +00:00
Ryan Boren
e90040e79b Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:40:08 +00:00
Ryan Boren
cac9401e0b Respect the mode. Props: ringmaster. http://mosquito.wordpress.org/view.php?id=804
git-svn-id: https://develop.svn.wordpress.org/trunk@2225 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 20:45:50 +00:00
Ryan Boren
7831c4c3b4 Add home.php template.
git-svn-id: https://develop.svn.wordpress.org/trunk@2223 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 18:10:05 +00:00
Matt Mullenweg
80be5b4cdc Version bump
git-svn-id: https://develop.svn.wordpress.org/trunk@2209 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 22:53:52 +00:00
Matt Mullenweg
cc9e610760 Faster way to get_custom strings.
git-svn-id: https://develop.svn.wordpress.org/trunk@2208 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 22:52:47 +00:00
Matt Mullenweg
d6b5164e88 Make more login stuff pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@2204 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 10:48:54 +00:00
Matt Mullenweg
1832211054 Adding support for a proxy-specific RBL that has shown to be extremely effective
git-svn-id: https://develop.svn.wordpress.org/trunk@2199 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 08:40:44 +00:00
Ryan Boren
6872bdba06 Fix apply_filters. Bug 777.
git-svn-id: https://develop.svn.wordpress.org/trunk@2198 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 06:07:11 +00:00
Ryan Boren
4247199e8d Fix typo spotted by morganiq.
git-svn-id: https://develop.svn.wordpress.org/trunk@2197 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 17:27:10 +00:00
michelvaldrighi
35445592b7 Fix for bug #559, just use user_can_ functions
git-svn-id: https://develop.svn.wordpress.org/trunk@2195 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 11:14:45 +00:00
Matt Mullenweg
5a91190427 Dashboard and option tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@2192 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 09:52:36 +00:00
Ryan Boren
5fc031ad98 Fix i18n page links. Handle RTL hierarchies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2191 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 08:35:45 +00:00
Ryan Boren
c336926a96 Add parse_query_vars() and parse_query action.
git-svn-id: https://develop.svn.wordpress.org/trunk@2190 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 08:34:19 +00:00
Ryan Boren
22f48d88c0 Don't stomp the percent in escaped octets.
git-svn-id: https://develop.svn.wordpress.org/trunk@2189 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 08:31:13 +00:00
Ryan Boren
1eda4450f8 Use parse_url instead of regex wackiness.
git-svn-id: https://develop.svn.wordpress.org/trunk@2187 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 07:05:00 +00:00
Ryan Boren
02a701f72b Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2184 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:20:54 +00:00
Ryan Boren
53d75a06d5 get_*_template() functions and filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@2183 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 03:44:32 +00:00
Ryan Boren
6fba9fa40c Feed link fix for bug 775. Hat tip: Kafkaesqui
git-svn-id: https://develop.svn.wordpress.org/trunk@2181 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 02:01:38 +00:00
Ryan Boren
8b95197691 Remove support for 'all' queries and for poststart and postend.
git-svn-id: https://develop.svn.wordpress.org/trunk@2179 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 01:49:51 +00:00
Matt Mullenweg
1b53ffa6af Copyright and registered corrections cause more trouble than they help
git-svn-id: https://develop.svn.wordpress.org/trunk@2178 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 01:13:11 +00:00
Ryan Boren
f4ae90174e Add set method.
git-svn-id: https://develop.svn.wordpress.org/trunk@2177 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 01:04:08 +00:00
Matt Mullenweg
5748ed2497 Don't look at dot directories or CVS for themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2175 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 18:46:17 +00:00
Matt Mullenweg
32013f8abc Don't do path thing for trackback URIs
git-svn-id: https://develop.svn.wordpress.org/trunk@2168 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 10:16:07 +00:00
Matt Mullenweg
e73cfeddd5 Fix for http://mosquito.wordpress.org/view.php?id=587
git-svn-id: https://develop.svn.wordpress.org/trunk@2167 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 10:06:12 +00:00
Matt Mullenweg
f6a27d19b0 Comment registration goodness. Hat tip to Jason at noprequisite.com for user_identity code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2166 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 06:38:12 +00:00
Matt Mullenweg
8768dfb610 Moderation confirmation from Ryan, some other template and comment editing improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@2165 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 04:22:01 +00:00
Matt Mullenweg
36a16fee94 Adding rel tags
git-svn-id: https://develop.svn.wordpress.org/trunk@2164 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 03:49:50 +00:00
Ryan Boren
c660984419 Remove upgrade-functions include.
git-svn-id: https://develop.svn.wordpress.org/trunk@2163 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 01:09:45 +00:00
Ryan Boren
5e1fa70cd5 Set the locale and load the default text domain after plugins are loaded so that plugins can manipulate the locale. Bug 765.
git-svn-id: https://develop.svn.wordpress.org/trunk@2161 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-29 23:17:10 +00:00
Matt Mullenweg
231c6d4b41 Patch from Adi Sieker
git-svn-id: https://develop.svn.wordpress.org/trunk@2160 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-29 20:14:55 +00:00
Matt Mullenweg
e26b275234 Allow plugins to modify option values on the fly.
git-svn-id: https://develop.svn.wordpress.org/trunk@2158 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-27 18:39:52 +00:00
Ryan Boren
5f128146b2 Cleanup wp-l10n includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2157 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-27 15:20:48 +00:00
Ryan Boren
fdb3791d1e Add author_link filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@2154 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:50:15 +00:00
Ryan Boren
0d0cf5aee2 Add category_link filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@2153 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:49:18 +00:00
Ryan Boren
eb37982a00 Add link filters for bug 743 (hat tip to morganiq). More abstraction and flexibility in WP_Rewrite.
git-svn-id: https://develop.svn.wordpress.org/trunk@2152 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:46:40 +00:00
Matt Mullenweg
5671e81028 More filters and KSES cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2151 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:29:18 +00:00
Matt Mullenweg
97691eb22b Typo in filter
git-svn-id: https://develop.svn.wordpress.org/trunk@2150 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 20:35:13 +00:00
Ryan Boren
323fc1ad10 If a category has parents, include those parents when generating the post permalink (if the permalink contains %category%).
git-svn-id: https://develop.svn.wordpress.org/trunk@2148 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-25 05:01:54 +00:00
Ryan Boren
c151b827a7 Remove old "site" page rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@2147 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-25 00:57:14 +00:00
Ryan Boren
fc67ae3e7d Generate feed and trackback rules for pages. Bug 742.
git-svn-id: https://develop.svn.wordpress.org/trunk@2146 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-25 00:23:57 +00:00
Matt Mullenweg
fe2075356a Return comment even if blank.
git-svn-id: https://develop.svn.wordpress.org/trunk@2144 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 10:13:28 +00:00
Matt Mullenweg
7d19f5b25f Fix for site-admin / register link - http://mosquito.wordpress.org/view.php?id=603
git-svn-id: https://develop.svn.wordpress.org/trunk@2142 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 10:06:53 +00:00
Matt Mullenweg
65055e0967 Trim before decoding - http://mosquito.wordpress.org/view.php?id=654
git-svn-id: https://develop.svn.wordpress.org/trunk@2139 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 09:53:23 +00:00
Matt Mullenweg
9533069e21 Let people know when things are held for moderation - http://mosquito.wordpress.org/view.php?id=705
git-svn-id: https://develop.svn.wordpress.org/trunk@2138 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 08:27:53 +00:00
Matt Mullenweg
26c42e4384 Some Kubrick cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2137 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 08:24:59 +00:00
Matt Mullenweg
a7dfae8ea6 http://mosquito.wordpress.org/view.php?id=690
git-svn-id: https://develop.svn.wordpress.org/trunk@2134 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 07:55:03 +00:00
Matt Mullenweg
faf0cae6a3 Siteurl autoupdate now requires RELOCATE flag - http://mosquito.wordpress.org/view.php?id=602
git-svn-id: https://develop.svn.wordpress.org/trunk@2130 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 07:30:49 +00:00
Matt Mullenweg
a468f1e5fd Fix pingback emails - http://mosquito.wordpress.org/view.php?id=729 - and also allow redefinition of wp_notify functions
git-svn-id: https://develop.svn.wordpress.org/trunk@2129 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 06:37:20 +00:00
Matt Mullenweg
a42aac1345 Handle time_diff less than a minute http://mosquito.wordpress.org/view.php?id=737
git-svn-id: https://develop.svn.wordpress.org/trunk@2124 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 06:01:04 +00:00
Ryan Boren
c5dab97703 Fix locale.php include.
git-svn-id: https://develop.svn.wordpress.org/trunk@2119 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-22 16:52:07 +00:00
Matt Mullenweg
2f13f79e76 More escaping of description and cleaner default feed URIs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2118 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-22 03:45:35 +00:00
Matt Mullenweg
fa24d19320 Adding nofollow support
git-svn-id: https://develop.svn.wordpress.org/trunk@2117 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 18:24:14 +00:00
Matt Mullenweg
ae46b3819f User-generated rel attributes shouldn't be allowed in comments (doesn't make sense for any current uses of rel.)
git-svn-id: https://develop.svn.wordpress.org/trunk@2116 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 07:53:02 +00:00
Ryan Boren
3cb2f62076 Add more rewrite rule filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@2115 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 05:10:13 +00:00
Ryan Boren
8648c9bb7b Fix whitelist. Bug 664.
git-svn-id: https://develop.svn.wordpress.org/trunk@2114 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 03:33:13 +00:00
Ryan Boren
41709858cf Filter category description. Bug 727. Hat tip: dmclark
git-svn-id: https://develop.svn.wordpress.org/trunk@2113 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 03:06:56 +00:00
Ryan Boren
11d220ba2f Used the filtered vars, not the unfiltered ones. Bug 641.
git-svn-id: https://develop.svn.wordpress.org/trunk@2112 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 02:55:35 +00:00
Ryan Boren
4fe4ec5c05 Pass $d from comment_time() to get_comment_time(). Bug 724. Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2111 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 00:38:04 +00:00
Ryan Boren
39baae5246 wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
git-svn-id: https://develop.svn.wordpress.org/trunk@2107 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 04:56:24 +00:00
Ryan Boren
e693c815d3 Deprecate start_wp(). Move start_wp functionality to setup_postdata(). Add the_post() method to WP_Query.
git-svn-id: https://develop.svn.wordpress.org/trunk@2104 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-19 02:21:36 +00:00
Matt Mullenweg
51ac4da63e http://mosquito.wordpress.org/view.php?id=708 - Patch from Owen Winkler allowing XML-RPC library to call classes without extending the base class.
git-svn-id: https://develop.svn.wordpress.org/trunk@2103 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-18 06:12:23 +00:00
Ryan Boren
871e575d73 Fix $id arg processing for get_the_title(). Also, mark "Protected:" for translation. Bug 706. Props: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2099 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-17 20:16:22 +00:00
Ryan Boren
adf9a63fc8 Use str_repeat instead of array_fill. Bug 695. Patch from gbhugo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2098 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-15 15:51:31 +00:00
Matt Mullenweg
7577e661b5 http://mosquito.wordpress.org/view.php?id=684
git-svn-id: https://develop.svn.wordpress.org/trunk@2097 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-15 01:07:53 +00:00
Ryan Boren
04b4729e6e Add the_permalink filter. Bug 693. Props: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2094 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 23:43:20 +00:00
Ryan Boren
ed1c204a4a wp_list_pages() using wrong time/date fields. Bug 680.
git-svn-id: https://develop.svn.wordpress.org/trunk@2092 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 23:06:12 +00:00
Ryan Boren
f4bb37f16b Fix call to join. Bug 658. Hat tip: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2091 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 23:01:21 +00:00
Matt Mullenweg
5f52d2717d Check everything for entities.
git-svn-id: https://develop.svn.wordpress.org/trunk@2085 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 22:42:09 +00:00
Matt Mullenweg
2e5a49bea1 http://mosquito.wordpress.org/view.php?id=668
git-svn-id: https://develop.svn.wordpress.org/trunk@2082 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 18:47:07 +00:00
Donncha O Caoimh
33b00f6c71 removed images from enclosure scanning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2081 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 17:07:54 +00:00
Matt Mullenweg
85cca48589 Whitelist trackbacks and pingbacks from domains in blogroll.
git-svn-id: https://develop.svn.wordpress.org/trunk@2077 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 23:21:42 +00:00
Matt Mullenweg
063ab31a4f Add more hooks into commenting.
git-svn-id: https://develop.svn.wordpress.org/trunk@2076 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 20:26:10 +00:00
Matt Mullenweg
3696312ac7 Spam tastes great, we should eat more of it. Add 'spam' approval value, and basic blacklist.
git-svn-id: https://develop.svn.wordpress.org/trunk@2075 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 20:21:06 +00:00
Ryan Boren
cf5e38acb6 Fix post time display. Bug 636.
git-svn-id: https://develop.svn.wordpress.org/trunk@2071 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-09 02:40:06 +00:00
Matt Mullenweg
7e8f96ac46 Some feed template function cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2068 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 22:01:59 +00:00
Matt Mullenweg
6424a1893f http://mosquito.wordpress.org/view.php?id=252
git-svn-id: https://develop.svn.wordpress.org/trunk@2066 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:29:49 +00:00
Matt Mullenweg
1eb6a8e91d http://mosquito.wordpress.org/view.php?id=608
git-svn-id: https://develop.svn.wordpress.org/trunk@2064 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:21:12 +00:00
Matt Mullenweg
6ca2c31abd http://mosquito.wordpress.org/view.php?id=521
git-svn-id: https://develop.svn.wordpress.org/trunk@2062 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:11:51 +00:00
Matt Mullenweg
a4083cd938 Some cleanup patches from Scott: http://www.coffee2code.com/archives/2005/01/06/walking-with-15/
git-svn-id: https://develop.svn.wordpress.org/trunk@2060 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 23:10:28 +00:00
Matt Mullenweg
00d285d0dd Cleaning up filters and format-to-post
git-svn-id: https://develop.svn.wordpress.org/trunk@2059 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 22:51:44 +00:00
Matt Mullenweg
8841601ea6 Patch for balanceTags from Scott Reilly: http://mosquito.wordpress.org/view.php?id=53
git-svn-id: https://develop.svn.wordpress.org/trunk@2057 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 10:24:11 +00:00
Matt Mullenweg
a80371dc20 Don't muddy <pre> pool
git-svn-id: https://develop.svn.wordpress.org/trunk@2056 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 10:10:55 +00:00
Matt Mullenweg
5d67f3b75b Don't cache serialized options.
git-svn-id: https://develop.svn.wordpress.org/trunk@2055 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 10:07:52 +00:00
Matt Mullenweg
21bf536e4e Proper linebreak in moderation email.
git-svn-id: https://develop.svn.wordpress.org/trunk@2054 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 09:58:23 +00:00
Matt Mullenweg
fcb910cb67 Bad link in snoopy class.
git-svn-id: https://develop.svn.wordpress.org/trunk@2053 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 09:53:40 +00:00
Ryan Boren
785835599e Add preprocess_comment filter to enable filtering all comment data in one go. Patch from MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@2048 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-05 21:11:42 +00:00
Ryan Boren
cecd758d0f Feed fixes from MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@2046 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-04 23:30:10 +00:00
Ryan Boren
0f3886534d Keep it separated.
git-svn-id: https://develop.svn.wordpress.org/trunk@2045 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-04 23:29:13 +00:00
Ryan Boren
6bbc7fe7a0 Remove % from title before utf8 uri encoding is done.
git-svn-id: https://develop.svn.wordpress.org/trunk@2036 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 09:08:55 +00:00
Ryan Boren
2cb1f36df9 Use new default theme path.
git-svn-id: https://develop.svn.wordpress.org/trunk@2033 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 02:50:03 +00:00
Ryan Boren
4b217b7022 Relocate default theme to themes/default. Remove special casing of default theme. Do not look directly in wp-content/ for default theme files. Simplify, simplify.
git-svn-id: https://develop.svn.wordpress.org/trunk@2032 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 02:47:45 +00:00
Matt Mullenweg
0717e39156 When deleting a page level up all children.
git-svn-id: https://develop.svn.wordpress.org/trunk@2030 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 23:13:38 +00:00
Matt Mullenweg
c136a2ad21 Sub-page hierarchy, show pages on default menu. TODO: Ping Michael about top-level pages in kubrick menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@2029 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 23:05:07 +00:00
Matt Mullenweg
df201019ca Added check if Snoopy exists, and two fairly major bugs in the dashboard. update_option was not serializing objects and $cache->get() wasn't checking for the correct option name.
git-svn-id: https://develop.svn.wordpress.org/trunk@2027 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 22:09:08 +00:00
Ryan Boren
5a9ead8b0f Add rewind_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@2026 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-31 21:49:48 +00:00
Ryan Boren
4553f8cef0 Use load_template().
git-svn-id: https://develop.svn.wordpress.org/trunk@2023 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 21:58:01 +00:00
Ryan Boren
a7c5546375 Add get_pages(). Improve wp_list_pages(). Props: Adi Sieker and Chris Waigl.
git-svn-id: https://develop.svn.wordpress.org/trunk@2022 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 19:41:14 +00:00
Ryan Boren
5b811de7b8 Fix comments-popup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2021 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 19:35:57 +00:00
michelvaldrighi
c5f6ac8cc4 fixed bad b2 mistakes: zeroise is really a glorified sprintf; funky_javascript_fix was only needed for Gecko because of bad Apaches running with AddDefaultCharset On, and the fixes for Gecko weren't even accurate
git-svn-id: https://develop.svn.wordpress.org/trunk@2018 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 17:34:27 +00:00
Matt Mullenweg
68f1ba5deb Move inside for better clearing and such.
git-svn-id: https://develop.svn.wordpress.org/trunk@2015 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 11:27:33 +00:00
Matt Mullenweg
7c40637bb3 It's that time :)
git-svn-id: https://develop.svn.wordpress.org/trunk@2014 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 11:25:56 +00:00
Matt Mullenweg
16bd00dfa0 Don't leave in debugging code (it's late)
git-svn-id: https://develop.svn.wordpress.org/trunk@2011 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 11:10:00 +00:00
Matt Mullenweg
4502d745cf Typo typo
git-svn-id: https://develop.svn.wordpress.org/trunk@2010 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 11:08:42 +00:00
Matt Mullenweg
7c3debb42a Moving default template stuff into wp-includes, uncluttering root
git-svn-id: https://develop.svn.wordpress.org/trunk@2009 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 10:58:06 +00:00
Matt Mullenweg
7a8c7eb2e3 Make work with https URIs
git-svn-id: https://develop.svn.wordpress.org/trunk@2008 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-28 20:28:57 +00:00
Ryan Boren
fe196958e6 If $p evaluates to zero, ignore it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2007 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-28 17:36:28 +00:00
Ryan Boren
8662dfbc33 Leave htaccess alone if permalinks are not turned on. Bug 597.
git-svn-id: https://develop.svn.wordpress.org/trunk@2006 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-27 22:30:52 +00:00
Ryan Boren
ef5346f4bf Add is_admin flag. Do not set is_home if is_admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@2003 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-26 16:37:55 +00:00
Ryan Boren
10d81f7d37 Fix single quote sanitization. Bug 594. Hat Tip: bcrow.
git-svn-id: https://develop.svn.wordpress.org/trunk@2001 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-25 17:21:43 +00:00
Ryan Boren
1e15c95646 Add post_where_paged and post_join_paged filter hooks. Move posts_where and posts_join before the paging queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@2000 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-25 00:32:50 +00:00
Ryan Boren
2186a59149 Fix href quoting. Bug 532. Hat Tip: MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@1999 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 21:00:06 +00:00
Matt Mullenweg
3ebf5a36e2 Cleaning up blogfilename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1997 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 01:34:47 +00:00
Matt Mullenweg
c12f7caf57 Have get_function return unadulterated data
git-svn-id: https://develop.svn.wordpress.org/trunk@1996 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-23 21:52:09 +00:00
Matt Mullenweg
978063ce7c Clean up global ideas from michel_v
git-svn-id: https://develop.svn.wordpress.org/trunk@1994 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-23 00:08:43 +00:00
michelvaldrighi
7092499610 typo id -> comment_id made WP make one extra query per post
git-svn-id: https://develop.svn.wordpress.org/trunk@1992 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-22 14:36:26 +00:00
michelvaldrighi
ea09591ef3 get_userdata should not ask for data when userid is 0 (why does it get called like that anyway?)
git-svn-id: https://develop.svn.wordpress.org/trunk@1991 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-22 14:32:25 +00:00
Matt Mullenweg
6653d4bf0c Validation fix in retrospam
git-svn-id: https://develop.svn.wordpress.org/trunk@1986 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-20 17:10:15 +00:00
Ryan Boren
4dd9d7eebb Remove percent signs from slugs. PAtch from MooKitty. Bug 569.
git-svn-id: https://develop.svn.wordpress.org/trunk@1984 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-20 06:35:54 +00:00
Matt Mullenweg
f5a244747e Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: https://develop.svn.wordpress.org/trunk@1983 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 18:43:45 +00:00
Matt Mullenweg
37da98059e Bug fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1980 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 07:26:43 +00:00
Matt Mullenweg
17234ff3f1 New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
git-svn-id: https://develop.svn.wordpress.org/trunk@1979 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 02:30:40 +00:00
Matt Mullenweg
960463fdee First pass at dashboard. Hat tip: Jesuit.
git-svn-id: https://develop.svn.wordpress.org/trunk@1976 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 00:10:10 +00:00
Matt Mullenweg
e535a6b7af Some code cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1974 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 20:56:26 +00:00
Ryan Boren
09d522246e Add generate_rewrite_rule().
git-svn-id: https://develop.svn.wordpress.org/trunk@1973 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 19:40:02 +00:00
Ryan Boren
0971447cf6 Rework query precedence for bug 541. Add is_trackback().
git-svn-id: https://develop.svn.wordpress.org/trunk@1972 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 00:28:24 +00:00
Matt Mullenweg
455abe8ff1 Comment notification fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1970 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-17 10:25:00 +00:00
Matt Mullenweg
413186855c http://mosquito.wordpress.org/view.php?id=556
git-svn-id: https://develop.svn.wordpress.org/trunk@1969 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-17 08:48:30 +00:00
Ryan Boren
59c3fe5b65 Fix include of comment-functions.php. Bug 554.
git-svn-id: https://develop.svn.wordpress.org/trunk@1967 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 23:18:15 +00:00
Ryan Boren
8515151df6 Improved wp_list_pages() from Adi Sieker.
git-svn-id: https://develop.svn.wordpress.org/trunk@1966 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 08:02:53 +00:00
Matt Mullenweg
48513d6d70 Let's get_ down
git-svn-id: https://develop.svn.wordpress.org/trunk@1965 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 03:08:07 +00:00
Matt Mullenweg
b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Ryan Boren
592eae2cdd the_/get_the_ split. Patch from Owen Taylor.
git-svn-id: https://develop.svn.wordpress.org/trunk@1962 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 23:15:17 +00:00
Ryan Boren
da74b3654f Fix comments popup template load. Bug 545.
git-svn-id: https://develop.svn.wordpress.org/trunk@1960 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 02:03:08 +00:00
Ryan Boren
fc51a741e7 Fix date permalinks. Bug 539.
git-svn-id: https://develop.svn.wordpress.org/trunk@1959 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 01:23:38 +00:00
Matt Mullenweg
bc1f03b72f Texturize bloginfo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1952 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 09:10:34 +00:00
Matt Mullenweg
59d1012c9d Move all auth stuff into functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1947 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 03:00:55 +00:00
Ryan Boren
92dd459497 Add filter hook for locale string.
git-svn-id: https://develop.svn.wordpress.org/trunk@1941 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-13 04:39:26 +00:00
Matt Mullenweg
953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Ryan Boren
cf66c440de get_author_permastruct()
git-svn-id: https://develop.svn.wordpress.org/trunk@1933 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 02:40:35 +00:00
Matt Mullenweg
28080bcaae Related to: http://mosquito.wordpress.org/view.php?id=225
Allow optiondates to be a PHP date() formatted timestamp, maintains backward compatibility.


git-svn-id: https://develop.svn.wordpress.org/trunk@1931 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 01:30:34 +00:00
Matt Mullenweg
91783e2bcb Don't wrap horizontal rules in paragraphs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1927 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 00:32:14 +00:00
Matt Mullenweg
95e3ed808a Don't show errors if we can't fsockopen a server.
git-svn-id: https://develop.svn.wordpress.org/trunk@1926 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 00:25:07 +00:00
Ryan Boren
a5fde76c26 Comment the unicode blocks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1925 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 00:16:33 +00:00
Donncha O Caoimh
f7d12dbbee Fixed mangled email headers, thanks to John Allman
git-svn-id: https://develop.svn.wordpress.org/trunk@1921 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 14:40:40 +00:00
Ryan Boren
7a8b254be0 s/logio/logIO/. Remove logio calls from the one function in functions-post.php that uses it. functions-post.php is not used by xmlrpc.php exclusively.
git-svn-id: https://develop.svn.wordpress.org/trunk@1920 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 02:35:53 +00:00
Matt Mullenweg
5d15bd8562 Don't add breaks to <colgroup>s. Hat tip: Joe Clark.
git-svn-id: https://develop.svn.wordpress.org/trunk@1914 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-07 20:09:46 +00:00
Ryan Boren
8629ed18c3 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1910 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-04 00:12:08 +00:00
Ryan Boren
dd4e4b9df6 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1908 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-03 02:38:11 +00:00
Ryan Boren
61ce5ed685 Add posts_join filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@1905 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-01 06:52:26 +00:00
Ryan Boren
63add842a8 Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.
git-svn-id: https://develop.svn.wordpress.org/trunk@1904 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-29 23:37:29 +00:00
Ryan Boren
5673b8e7a0 Unserialize empty arrays.
git-svn-id: https://develop.svn.wordpress.org/trunk@1900 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 19:53:11 +00:00
Matt Mullenweg
1b28947bf4 Fix for bug http://mosquito.wordpress.org/view.php?id=177, adding class to smileys and encoding quotes in alt text.
git-svn-id: https://develop.svn.wordpress.org/trunk@1899 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 19:16:14 +00:00
Ryan Boren
d26e718453 Use preg_quote() to make spam words regex safe.
git-svn-id: https://develop.svn.wordpress.org/trunk@1896 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 05:24:09 +00:00
Ryan Boren
89fb8beb57 Perform empty() check on $doing_rss to avoid warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@1892 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-27 04:47:54 +00:00
Ryan Boren
0b62fd613b Use weekday locale data in mysql2date. Bug 492. Patch by nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@1882 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-25 16:23:24 +00:00
Ryan Boren
5710a6ac38 Do not allow a page to be its own parent.
git-svn-id: https://develop.svn.wordpress.org/trunk@1878 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-24 00:12:46 +00:00
Dougal Campbell
7ed7543a6d Use new user_can_foo() functions, clean up comment editing
git-svn-id: https://develop.svn.wordpress.org/trunk@1875 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-23 15:09:24 +00:00
Dougal Campbell
d649b199a0 Don't you think it's time for a minor version bump?
git-svn-id: https://develop.svn.wordpress.org/trunk@1874 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-23 14:09:38 +00:00
Ryan Boren
d2e0a1c81a Allow empty uris to be passed to add_query_arg(). Useful when appending arguments to WP_Query query strings that do not yet have any arguments.
git-svn-id: https://develop.svn.wordpress.org/trunk@1872 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-21 06:03:19 +00:00
Ryan Boren
6641104194 Add is_paged().
git-svn-id: https://develop.svn.wordpress.org/trunk@1871 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 18:32:31 +00:00
Ryan Boren
4c8f0e6910 Rewrite rule generation cleanup, including re-indent.
git-svn-id: https://develop.svn.wordpress.org/trunk@1870 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 04:28:36 +00:00
Ryan Boren
91e1e27d01 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1868 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 20:54:16 +00:00
Matt Mullenweg
b04059c4a5 Actions shouldn't change around what they're passed
git-svn-id: https://develop.svn.wordpress.org/trunk@1867 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 07:37:18 +00:00
Matt Mullenweg
fb26f2cb34 Don't cache pages with DB errors.
git-svn-id: https://develop.svn.wordpress.org/trunk@1865 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 02:18:23 +00:00
Matt Mullenweg
0e36c1f615 Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: https://develop.svn.wordpress.org/trunk@1861 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-18 19:40:36 +00:00
Ryan Boren
cc06069384 Allow comments on pages. Props: error http://wordpress.org/support/6/16759
git-svn-id: https://develop.svn.wordpress.org/trunk@1860 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-17 03:45:50 +00:00
Ryan Boren
8a56739dc3 Check for null category list just in case of borkage.
git-svn-id: https://develop.svn.wordpress.org/trunk@1853 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-15 06:00:21 +00:00
Ryan Boren
2eb5611be9 Sort the category list so that index associations are made non-sparse.
git-svn-id: https://develop.svn.wordpress.org/trunk@1851 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-12 23:08:51 +00:00
Ryan Boren
05c8a88de8 Avoid polluting the category cache with duplicate category lists when using multiple post loops. http://wordpress.org/support/6/15213. Fix from Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1849 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-10 00:21:24 +00:00
Ryan Boren
ea54a86ebb add $user_agent to check_comment() arg list. Bug 415. Patch by MC_incubus.
git-svn-id: https://develop.svn.wordpress.org/trunk@1847 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:31:48 +00:00
Ryan Boren
f34a43bf4e Put the right index.php in the template file list for the default theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@1846 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:29:01 +00:00
Dougal Campbell
1039a6fed1 BUGFIX: prevent '#' chars in moderation_keys from breaking regex handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@1845 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-05 03:56:40 +00:00
Dougal Campbell
9ef62e7f0c ANTI-SPAM: reject numerically encoded entities that fall in the normal ASCII range
git-svn-id: https://develop.svn.wordpress.org/trunk@1844 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-03 14:21:46 +00:00
Ryan Boren
ecc156d4bd Typo fix. Bug 423.
git-svn-id: https://develop.svn.wordpress.org/trunk@1843 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 02:13:00 +00:00
Ryan Boren
82acac8021 urldecode page URI so that it will work for multibyte languages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1841 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 01:56:29 +00:00
Donncha O Caoimh
b9640d9ec1 Make sure email and name are not blank when checking comment author in whitelist.
git-svn-id: https://develop.svn.wordpress.org/trunk@1840 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-01 13:21:14 +00:00
Ryan Boren
00d3226b7b Add $post_per_archive_page to override the number of posts to show for an archive page. Turn off paging if $post_per_* are set to -1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1835 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-27 23:58:40 +00:00
Ryan Boren
d3f7d9e4c8 List broken themes and suggest corrective action.
git-svn-id: https://develop.svn.wordpress.org/trunk@1829 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-24 23:48:51 +00:00
Ryan Boren
4b81c51c9b PATH_INFO page links now include the index. Bug 404.
git-svn-id: https://develop.svn.wordpress.org/trunk@1828 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-22 21:44:00 +00:00
michelvaldrighi
b06c7e026d removed preg_match check from comment_type() since by now we should never ever need it
git-svn-id: https://develop.svn.wordpress.org/trunk@1826 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-22 15:51:08 +00:00
Ryan Boren
fb09e46ffe Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1823 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 21:28:37 +00:00
Donncha O Caoimh
e7ecb7ad81 Make checking enclosure URLs much faster - fclose() after blank line in response.
git-svn-id: https://develop.svn.wordpress.org/trunk@1820 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 15:07:49 +00:00
Ryan Boren
ed78ed9a2d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Ryan Boren
ac3556c7aa Default textdomain loading cleanup. Fix for bug 230.
git-svn-id: https://develop.svn.wordpress.org/trunk@1817 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 00:18:12 +00:00
michelvaldrighi
f95b24fb39 better fix for single_month_title, preserves backward-compatibility with
git-svn-id: https://develop.svn.wordpress.org/trunk@1816 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 23:52:36 +00:00
michelvaldrighi
3359d36922 fixed single_month_title. thanks to Brak (http://wordpress.org/support/6/14897)
git-svn-id: https://develop.svn.wordpress.org/trunk@1815 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 23:45:26 +00:00
Donncha O Caoimh
cc9dc67ff8 Enclosure support moved to functions.php - it now scans the content
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.


git-svn-id: https://develop.svn.wordpress.org/trunk@1812 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 12:09:20 +00:00
Ryan Boren
e626ba0970 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1809 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 04:38:49 +00:00
Ryan Boren
e41ead7068 Plugin and theme localization.
git-svn-id: https://develop.svn.wordpress.org/trunk@1808 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 02:27:35 +00:00
michelvaldrighi
7e11bf0ee6 added more user_can_* functions
git-svn-id: https://develop.svn.wordpress.org/trunk@1804 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-15 16:20:25 +00:00
Ryan Boren
a85bbd647d If the match is unanchored and greedy, prepend rewrite conditions to avoid infinite redirects and eclipsing of real files. Add L to rewrite flags to break out of rewriting once a match is found.
git-svn-id: https://develop.svn.wordpress.org/trunk@1802 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-15 03:16:01 +00:00
Matt Mullenweg
8485291bd9 Fix for bug 137. Patch from kelson.
git-svn-id: https://develop.svn.wordpress.org/trunk@1799 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 08:27:56 +00:00
Matt Mullenweg
b4984a31c2 Trackback and pingback cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1794 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:26:41 +00:00
Ryan Boren
707bf8bb44 Move get_theme*() from admin-functions to functions so that templates and plugins can use them.
git-svn-id: https://develop.svn.wordpress.org/trunk@1792 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 03:54:57 +00:00
michelvaldrighi
ee2181e927 unb0rked the pagination links
git-svn-id: https://develop.svn.wordpress.org/trunk@1791 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 14:18:17 +00:00
Ryan Boren
8d9fda7a9c Add template and stylesheet filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1789 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 03:20:03 +00:00
Ryan Boren
0bee08aace Double hash password in cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@1788 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 02:21:37 +00:00
michelvaldrighi
2490a6c2ee fixed next_posts_links, removed debug artefacts lying there
git-svn-id: https://develop.svn.wordpress.org/trunk@1785 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:21:53 +00:00
michelvaldrighi
33096e5712 fixed posts_nav_link again, to reclaim functionality lost in last fix ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@1784 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:12:03 +00:00
michelvaldrighi
11f3a4701a fixed posts_nav_link to use a much lighter query
git-svn-id: https://develop.svn.wordpress.org/trunk@1783 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:04:35 +00:00
Matt Mullenweg
236c6ede65 Move balanceTags into filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1781 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 22:07:09 +00:00
Matt Mullenweg
7207eb61ee Removed some left-over link rating stuff
git-svn-id: https://develop.svn.wordpress.org/trunk@1780 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 19:54:09 +00:00
Matt Mullenweg
4d502263f6 PHP 5 fix from http://www.fredfred.net/skriker/index.php?p=84
There be dragons here


git-svn-id: https://develop.svn.wordpress.org/trunk@1779 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 18:45:14 +00:00
michelvaldrighi
77b143f1fd printr instead of print_r
git-svn-id: https://develop.svn.wordpress.org/trunk@1778 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 16:49:52 +00:00
michelvaldrighi
2d58fd7954 remove contextual compatiblity, and require functions-compat instead
git-svn-id: https://develop.svn.wordpress.org/trunk@1777 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 13:22:33 +00:00
michelvaldrighi
370d9aee36 functions-compat.php shall hold PHP functions needed for PHP 4.1 compatibility
git-svn-id: https://develop.svn.wordpress.org/trunk@1776 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 13:17:12 +00:00
Donncha O Caoimh
24359ab0fb Re-arranged where wp-mail() sets message headers
git-svn-id: https://develop.svn.wordpress.org/trunk@1775 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 12:04:37 +00:00
Ryan Boren
18585460f5 Login fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1774 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-11 07:00:22 +00:00
Matt Mullenweg
7fd906972e Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@1768 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-10 18:02:30 +00:00
Ryan Boren
c701b9129a wp_list_pages(), first draft
git-svn-id: https://develop.svn.wordpress.org/trunk@1766 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-09 02:03:37 +00:00
Ryan Boren
9965a3d352 pagenow fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1765 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-09 02:00:34 +00:00
Matt Mullenweg
b5dfef4925 Automatically trigger DB upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@1764 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 19:49:58 +00:00
Donncha O Caoimh
e2c540b1dd Define message header if blank.
git-svn-id: https://develop.svn.wordpress.org/trunk@1760 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 11:52:23 +00:00
Ryan Boren
ad7e0b673b Use page_id=xx instead of p=xx&static=1
git-svn-id: https://develop.svn.wordpress.org/trunk@1759 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 08:06:21 +00:00
Donncha O Caoimh
7f31cf1410 Check if $uris is an array.
git-svn-id: https://develop.svn.wordpress.org/trunk@1757 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 13:10:52 +00:00
Matt Mullenweg
0f87560488 Automatic login fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1754 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 05:31:52 +00:00
Ryan Boren
4b44c46602 Page templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1753 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 05:11:11 +00:00
Ryan Boren
c54a49b9aa Page/subpage URIs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1752 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 02:18:37 +00:00
Donncha O Caoimh
9fbc44d022 Not required by WordPress.
git-svn-id: https://develop.svn.wordpress.org/trunk@1750 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 09:23:53 +00:00
Matt Mullenweg
9aa1ed0d11 Pages update and tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1747 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 08:27:13 +00:00
Matt Mullenweg
c78d172d4f Fix GUID generation
git-svn-id: https://develop.svn.wordpress.org/trunk@1746 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 07:36:50 +00:00
Donncha O Caoimh
4797b29430 Missing ";"
git-svn-id: https://develop.svn.wordpress.org/trunk@1741 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 10:19:43 +00:00
Matt Mullenweg
79ee1ce580 Kitten's emergent registration / comment whitelisting patch.
git-svn-id: https://develop.svn.wordpress.org/trunk@1737 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:49:45 +00:00
Matt Mullenweg
7d277fbd0d Code cleanup and some fixes from the WP Japan folks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1734 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:03:52 +00:00
Matt Mullenweg
1a3c14d8a9 Use mb_mail_send if available.
git-svn-id: https://develop.svn.wordpress.org/trunk@1733 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 07:44:04 +00:00
Matt Mullenweg
f8df0db15f New login system.
git-svn-id: https://develop.svn.wordpress.org/trunk@1731 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 06:23:53 +00:00
Ryan Boren
466a81805d Fix wp_title() for pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1729 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-03 17:07:53 +00:00
Ryan Boren
1268dcb29b Extend is_single(), is_page(), is_category(), and is_author() to accept an optional argument which designates a particular id, name, or nicename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1728 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 19:24:40 +00:00
Dougal Campbell
d2ed07b4bf Security: Clean up user inputs before using.
git-svn-id: https://develop.svn.wordpress.org/trunk@1727 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-02 00:46:30 +00:00
Ryan Boren
ebbf002430 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: https://develop.svn.wordpress.org/trunk@1726 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 17:56:16 +00:00
michelvaldrighi
c2e6a2fb55 typo/confusion, earlier patch committed in haste
git-svn-id: https://develop.svn.wordpress.org/trunk@1724 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 00:34:46 +00:00
michelvaldrighi
5f1af068d7 rather ugly fix to prevent the querying of unknown/removed options, feel free to replace it with a better alternative someday
git-svn-id: https://develop.svn.wordpress.org/trunk@1723 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-29 20:33:05 +00:00
Ryan Boren
b4af651dcb Wrap rewrite rules in IfModule. Bug 318.
git-svn-id: https://develop.svn.wordpress.org/trunk@1721 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-28 17:55:52 +00:00
michelvaldrighi
93a21b3596 fixed url_to_postid (it was the cause of pingbacks to the first post when a simple link to the blog was done)
git-svn-id: https://develop.svn.wordpress.org/trunk@1717 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 12:41:39 +00:00
michelvaldrighi
bb232bd2d9 whoops, we forgot to store the comment_type
git-svn-id: https://develop.svn.wordpress.org/trunk@1716 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 11:45:15 +00:00
Ryan Boren
c6ee28749c Use get_query_var to get the search terms.
git-svn-id: https://develop.svn.wordpress.org/trunk@1714 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 00:46:42 +00:00
Ryan Boren
606c252dce Use call_user_func() when applying filter. Bug 63. Patch from Bill Zeller.
git-svn-id: https://develop.svn.wordpress.org/trunk@1713 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-27 00:45:53 +00:00
michelvaldrighi
9292898d64 added discover_pingback_server_uri, should dramatically speed things up
git-svn-id: https://develop.svn.wordpress.org/trunk@1709 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-24 17:29:25 +00:00
michelvaldrighi
65a78d2dd6 fixes for bug #311, by bronski
git-svn-id: https://develop.svn.wordpress.org/trunk@1705 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 19:44:35 +00:00
Matt Mullenweg
2c08301539 No longer used.
git-svn-id: https://develop.svn.wordpress.org/trunk@1699 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-21 19:41:13 +00:00
Ryan Boren
d278d6b8ae Trackback fix ups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1696 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 22:47:43 +00:00
Ryan Boren
cf529fe462 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: https://develop.svn.wordpress.org/trunk@1695 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 20:04:29 +00:00
Ryan Boren
1efe0af8c3 htmlspecialchars() no longer needs to be run against rewrite_rules due to options-permalink reorg. Currently, ampersands end up being encoded in .htaccess, which causes breakage.
git-svn-id: https://develop.svn.wordpress.org/trunk@1686 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 03:04:27 +00:00
michelvaldrighi
d190b9453c reverting wp-admin/xmlrpc.php changes
git-svn-id: https://develop.svn.wordpress.org/trunk@1683 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 14:57:15 +00:00
michelvaldrighi
511ff56068 updated pingback() to use IXR -- now we aren't using phpxmlrpc anywhere anymore
git-svn-id: https://develop.svn.wordpress.org/trunk@1682 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 14:11:28 +00:00
Donncha O Caoimh
5e0e0bf9a9 Check for moderation_notify flag before notifying moderator that about
held comments.


git-svn-id: https://develop.svn.wordpress.org/trunk@1678 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 10:26:34 +00:00
michelvaldrighi
fa94dfa448 now that we have a new pingback server in wp-admin/xmlrpc.php, let's advertise it
git-svn-id: https://develop.svn.wordpress.org/trunk@1677 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 09:27:04 +00:00
michelvaldrighi
be784a3f52 letting IXR take care of URI parsing, while leaving the old way to call weblog_ping possible
git-svn-id: https://develop.svn.wordpress.org/trunk@1676 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 08:39:12 +00:00
michelvaldrighi
0d2f304c8b replaced old weblog_ping with new IXR-based weblog_ping
git-svn-id: https://develop.svn.wordpress.org/trunk@1674 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 17:08:56 +00:00
michelvaldrighi
d1d60768cc added timeout and vendor parameters to IXR_Client, could be very useful for weblog_pings
git-svn-id: https://develop.svn.wordpress.org/trunk@1673 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 17:07:59 +00:00
michelvaldrighi
8f164348c6 support for comment_type, while we move away from <*back /> stuff
git-svn-id: https://develop.svn.wordpress.org/trunk@1669 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 13:15:07 +00:00
Matt Mullenweg
5b73909f79 Don't forget to strip
git-svn-id: https://develop.svn.wordpress.org/trunk@1665 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 01:08:50 +00:00
Matt Mullenweg
3776531128 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1664 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 15:09:39 +00:00
Ryan Boren
c3ad9d60cf Make $pagenow work with PATH_INFO.
git-svn-id: https://develop.svn.wordpress.org/trunk@1663 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 08:16:58 +00:00
Ryan Boren
3d0c99e58c Mark "more" link text for translation, just for grins. Bug 119.
git-svn-id: https://develop.svn.wordpress.org/trunk@1661 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 03:37:44 +00:00
Ryan Boren
c4a4ee4dff Make comments_template() theme aware.
git-svn-id: https://develop.svn.wordpress.org/trunk@1660 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 02:50:29 +00:00
Ryan Boren
5980b30da1 If the query is for a page, make sure single is false.
git-svn-id: https://develop.svn.wordpress.org/trunk@1645 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 06:56:13 +00:00
Ryan Boren
d6463ce6a6 Use stylesheet_url from bloginfo().
git-svn-id: https://develop.svn.wordpress.org/trunk@1639 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-12 20:30:49 +00:00
Ryan Boren
ddf9be9ef1 Themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1638 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-11 16:12:40 +00:00
Matt Mullenweg
3bfd308dc6 Timeout changes. Hat tip: Michael Dale.
git-svn-id: https://develop.svn.wordpress.org/trunk@1637 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 10:55:44 +00:00
Ryan Boren
ebcdb0990e Incorporate utf8_uri_encode() in sanitize_title(). Improve UTF-8 accented character decomposition in remove_accents().
git-svn-id: https://develop.svn.wordpress.org/trunk@1636 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 08:36:54 +00:00
Ryan Boren
08f8a3d0eb get_pagenum_link() tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1635 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 07:03:40 +00:00
Ryan Boren
3c7fe8a8d0 Allow the calendar start of week to be provisioned. get_calendar() patch from rq. Bug 32.
git-svn-id: https://develop.svn.wordpress.org/trunk@1632 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 23:07:46 +00:00
michelvaldrighi
54cf4d7e78 ugh, no wonder the new xmlrpc wouldn't post anything
git-svn-id: https://develop.svn.wordpress.org/trunk@1630 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 15:54:03 +00:00
Ryan Boren
bce7d33025 Use get_query_var() to get cat and name so that we pick up any processing done on them by the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1629 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 03:45:51 +00:00
Matt Mullenweg
adf3e5d380 Some named entities have numbers.
git-svn-id: https://develop.svn.wordpress.org/trunk@1623 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:48:36 +00:00
Matt Mullenweg
f0edc5ccf7 Retrospam check from Kitten
git-svn-id: https://develop.svn.wordpress.org/trunk@1620 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:17:53 +00:00
Ryan Boren
4e7e0194b5 Paging by days fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1618 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 00:02:53 +00:00
Matt Mullenweg
31ed310727 Trackback fix from Michael Dale.
git-svn-id: https://develop.svn.wordpress.org/trunk@1617 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 03:15:48 +00:00
Matt Mullenweg
bee9686570 Move trackbacks to new comment function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1616 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 02:34:12 +00:00
Ryan Boren
122631f99e Apache 1.3 does not support the reluctant (non-greedy) expression modifier. Remove the modifier when outputting mod_rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@1615 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 00:01:19 +00:00
Ryan Boren
6a98ee3737 New page by day code from Sebastian Herp.
git-svn-id: https://develop.svn.wordpress.org/trunk@1614 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-06 20:03:16 +00:00
Ryan Boren
3d451b067e Add missing join to page by day query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1613 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-06 03:03:08 +00:00
Ryan Boren
7ec1b62a42 Remove left over debug output.
git-svn-id: https://develop.svn.wordpress.org/trunk@1611 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 20:06:01 +00:00
Ryan Boren
24fd61e7fc Improve paging by days. Retabify source.
git-svn-id: https://develop.svn.wordpress.org/trunk@1610 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 20:00:09 +00:00
Matt Mullenweg
0ed9084d7d Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: https://develop.svn.wordpress.org/trunk@1605 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:41:01 +00:00
Matt Mullenweg
bf70fc82bd Set GUID when posting.
git-svn-id: https://develop.svn.wordpress.org/trunk@1604 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:03:51 +00:00
Matt Mullenweg
94c29fd51e Track and check user agent for comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@1603 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:50:39 +00:00
Matt Mullenweg
173f2cd3e6 Install and upgrade refactoring complete.
git-svn-id: https://develop.svn.wordpress.org/trunk@1601 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:22:17 +00:00
Matt Mullenweg
42be6523f2 Version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@1600 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:31:23 +00:00
Matt Mullenweg
6b0bcbf2f5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +00:00
Matt Mullenweg
9c1d725609 Remove optiongroup_options table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1597 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:15:46 +00:00
Matt Mullenweg
1173ae6867 Texturize fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1592 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 20:47:52 +00:00
Ryan Boren
68246928c2 Fix for bug 250: Metaweblog API discards comment_status and ping_status.
git-svn-id: https://develop.svn.wordpress.org/trunk@1589 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 06:44:58 +00:00
Ryan Boren
40a13971f9 Return post ID from generic_ping(). Bug 229.
git-svn-id: https://develop.svn.wordpress.org/trunk@1586 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 20:33:15 +00:00
Ryan Boren
0ef4844be2 More permissive, i18n friendly regexs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1585 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 20:22:23 +00:00
Ryan Boren
1e61535580 Send Geo Url Header only if use_geo_positions is set. Bug 242. Patch from 2fargon.
git-svn-id: https://develop.svn.wordpress.org/trunk@1584 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 04:29:11 +00:00
Ryan Boren
09754a9dbc Add missing quotes. Bug 0000254.
git-svn-id: https://develop.svn.wordpress.org/trunk@1582 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 04:03:55 +00:00
Matt Mullenweg
6e1c571490 Vanquishing the terror of iso-8859-1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1575 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-30 07:16:40 +00:00
Matt Mullenweg
d89603ce20 Improved autolink function. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000236
git-svn-id: https://develop.svn.wordpress.org/trunk@1571 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-28 08:40:13 +00:00
Ryan Boren
b9fc57acbc 404 permalink handler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1570 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 20:59:38 +00:00
michelvaldrighi
d69d080abc added very basic timezone support to IXR_Date
git-svn-id: https://develop.svn.wordpress.org/trunk@1564 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-26 12:40:48 +00:00
michelvaldrighi
e9cbd77e2e added user_can_edit_post and user_can_delete_post
git-svn-id: https://develop.svn.wordpress.org/trunk@1561 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-25 15:12:10 +00:00
michelvaldrighi
4d37021dd5 whoops, typo in trackback_url_list
git-svn-id: https://develop.svn.wordpress.org/trunk@1560 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-25 14:22:39 +00:00
Ryan Boren
8da2215076 Template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1558 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 08:43:01 +00:00
Ryan Boren
6c12d408ec Add previous_post_link() and next_post_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1557 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:35:57 +00:00
Ryan Boren
046c5333e8 Add is_year(), is_month(), is_day(), is_time().
git-svn-id: https://develop.svn.wordpress.org/trunk@1556 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:24:48 +00:00
Ryan Boren
a1d2b2eb86 Fix a path info paging bug. Add using_mod_rewrite().
git-svn-id: https://develop.svn.wordpress.org/trunk@1555 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 23:28:14 +00:00
Matt Mullenweg
230d603f6d Missing table block elements from arnau siches
git-svn-id: https://develop.svn.wordpress.org/trunk@1554 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 09:07:07 +00:00
Matt Mullenweg
46c39cd718 Escape from slashville
git-svn-id: https://develop.svn.wordpress.org/trunk@1545 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-21 01:50:59 +00:00
Matt Mullenweg
f5b015ecd3 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1544 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-20 17:56:51 +00:00
Matt Mullenweg
13b77cd51b Some profiling info in $wpdb optionally.
git-svn-id: https://develop.svn.wordpress.org/trunk@1543 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-20 17:52:49 +00:00
Ryan Boren
218841c9c2 Search permalinks complete with feed and paging support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1540 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-18 21:05:34 +00:00
Ryan Boren
2c75118680 Use is_single().
git-svn-id: https://develop.svn.wordpress.org/trunk@1537 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-17 02:29:37 +00:00
Ryan Boren
3db73193ef Paging cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@1536 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-16 22:50:06 +00:00
Ryan Boren
ee416fcdc2 Complete support for %author% in post permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1534 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 17:29:09 +00:00
Ryan Boren
38088a0503 Use sanitize_title() to process post, page, author, and category names in the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1533 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 16:08:57 +00:00
Ryan Boren
f43f503c7e Add lost return to get_permalink().
git-svn-id: https://develop.svn.wordpress.org/trunk@1532 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-13 15:00:45 +00:00
Ryan Boren
01b53facab Add pagename query var.
git-svn-id: https://develop.svn.wordpress.org/trunk@1531 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-11 01:55:34 +00:00
Ryan Boren
ec57c1a114 Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:35:59 +00:00
Matt Mullenweg
aaac167408 Type.
git-svn-id: https://develop.svn.wordpress.org/trunk@1525 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 09:06:49 +00:00
Matt Mullenweg
c98f01f8db Some login functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1524 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 08:29:51 +00:00
Matt Mullenweg
a71c9d98f2 Don't need the 1=1
git-svn-id: https://develop.svn.wordpress.org/trunk@1523 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 07:54:23 +00:00
Ryan Boren
9f2cd5bc27 Gracefully handle multiple <!--more> tags. From Scott Reilly (coffee2code). Bug 0000113.
git-svn-id: https://develop.svn.wordpress.org/trunk@1519 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 20:22:29 +00:00
Ryan Boren
3c161591e7 Hack to make day initials unique for translation. Ugly, but it works. Bug 0000010.
git-svn-id: https://develop.svn.wordpress.org/trunk@1518 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 18:54:34 +00:00
Ryan Boren
3dc8c1dabe Add get_query_var() wrapper for $wp_query->get().
git-svn-id: https://develop.svn.wordpress.org/trunk@1517 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 16:47:22 +00:00
Ryan Boren
cf3a6080bd WP Query class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1516 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 15:31:50 +00:00
Ryan Boren
debef5a642 Fix get_pagenum_link() to work with path info permalinks and permalinks without trailing slashes. Bug 0002040.
git-svn-id: https://develop.svn.wordpress.org/trunk@1514 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-07 18:12:54 +00:00
Matt Mullenweg
fed106eb57 Define COOKIEHASH and new get_profile function. TODO: re-org function soup
git-svn-id: https://develop.svn.wordpress.org/trunk@1513 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-07 01:22:17 +00:00
Ryan Boren
32bd9e6ac7 In sanitize_title(), strip_tags() before sanitizing, not after. In post.php, if post name is empty, pass the post title to the sanitizer.
git-svn-id: https://develop.svn.wordpress.org/trunk@1512 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-06 01:28:51 +00:00
Ryan Boren
1163f6fcc5 Fix localization of next month link in get_calendar. Bug 0000201.
git-svn-id: https://develop.svn.wordpress.org/trunk@1508 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-03 21:59:29 +00:00
Ryan Boren
0f49ccc3d3 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: https://develop.svn.wordpress.org/trunk@1500 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-29 03:34:08 +00:00
Ryan Boren
49d3ad1d06 Oops. Add ENT_QUOTES.
git-svn-id: https://develop.svn.wordpress.org/trunk@1498 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 23:13:01 +00:00
Ryan Boren
52ae977992 Run htmlspecialchars on title attribute text in get_archives_link(). Bug 0000162.
git-svn-id: https://develop.svn.wordpress.org/trunk@1497 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 23:09:33 +00:00