Commit Graph

1909 Commits

Author SHA1 Message Date
ryan
af5ea1480b Sort those smilies. Props HenkvandeKamer and robmiller. fixes #2778
git-svn-id: http://svn.automattic.com/wordpress/trunk@3890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-19 17:21:02 +00:00
ryan
8ae8b35c10 wp_update_comment_count() from MarkJaquith. fixes #2836
git-svn-id: http://svn.automattic.com/wordpress/trunk@3887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-19 17:17:52 +00:00
ryan
bd1842e963 Cat exclusion from skeltoac. fixes #2825
git-svn-id: http://svn.automattic.com/wordpress/trunk@3886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-19 17:14:54 +00:00
matt
b9d8d2e9fd Don't hide blog when option is blank!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-17 23:38:45 +00:00
matt
1f07084f77 This fixes #2832 again! (I hope.) BTW, try the new trac and SVN, it's wicked fast.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-17 02:37:24 +00:00
matt
e631143715 Fixes #2832
git-svn-id: http://svn.automattic.com/wordpress/trunk@3883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-17 02:20:54 +00:00
matt
b14d632f4e Tweak, fixes #2832
git-svn-id: http://svn.automattic.com/wordpress/trunk@3882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-17 02:02:29 +00:00
ryan
49e390d402 Use wp_list_categories() in templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-17 00:05:00 +00:00
ryan
f34731ff30 Start fleshing out wp_list_bookmarks(). #2587
git-svn-id: http://svn.automattic.com/wordpress/trunk@3880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-16 23:35:48 +00:00
ryan
608e74150b Unlink TinySpell? tmp files
git-svn-id: http://svn.automattic.com/wordpress/trunk@3879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-15 21:28:08 +00:00
ryan
ab541ae071 wp_get_archives() cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-15 20:28:47 +00:00
ryan
11704456ce Specialchars title. Props David House and Mark Jaquith. fixes #2625
git-svn-id: http://svn.automattic.com/wordpress/trunk@3874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-15 07:32:06 +00:00
ryan
62927ab65b Remove wp- prefix from wp-l10n.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-15 07:24:44 +00:00
ryan
7dab31bbe5 Query fix from skeltoac. fixes #2822
git-svn-id: http://svn.automattic.com/wordpress/trunk@3869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-14 21:49:10 +00:00
ryan
3b2ff8ba4a Add offset support to query_posts(). Props Mark Jaquith. fixes #2558
git-svn-id: http://svn.automattic.com/wordpress/trunk@3867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-13 20:56:38 +00:00
ryan
ea6a8a75bc Make sure role is set when updating. Props Mark Jaquith. fixes #2817
git-svn-id: http://svn.automattic.com/wordpress/trunk@3865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 20:54:07 +00:00
ryan
c93efa866e Include file renames. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 06:43:54 +00:00
ryan
181119bd1f Cron pass-by-reference error fix from robmiller. fixes #2790
git-svn-id: http://svn.automattic.com/wordpress/trunk@3860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-10 20:43:49 +00:00
ryan
8310e71be6 Better handling of users with no role. Props Mark Jaquith. #2809
git-svn-id: http://svn.automattic.com/wordpress/trunk@3859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-10 20:26:26 +00:00
ryan
5e7c850484 User management improvements from Mark Jaquith and David House. #2793
git-svn-id: http://svn.automattic.com/wordpress/trunk@3857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-08 18:36:05 +00:00
ryan
f124c51107 Make replacement strings backref safe without using \${1} so as to preserve php <= 4.2 compatible. Props mdawaffe. fixes #2774
git-svn-id: http://svn.automattic.com/wordpress/trunk@3855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-08 03:17:01 +00:00
ryan
c56e62f5c1 Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-08 02:22:16 +00:00
ryan
949f22d2d2 Canonical URI for page on front. Props skeltoac. #2515
git-svn-id: http://svn.automattic.com/wordpress/trunk@3853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-07 23:30:09 +00:00
ryan
d56f944642 Add show_option_none to wp_dropdown_pages(). Props ryanscheuermann. #2515
git-svn-id: http://svn.automattic.com/wordpress/trunk@3852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-07 23:27:25 +00:00
ryan
3c8ed766e1 Reworg post/page/attachment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-07 23:17:59 +00:00
ryan
0585475e02 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-06 05:04:41 +00:00
ryan
db3a022631 Deprecate list_authors(). Clean up wp_list_authors().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-06 04:50:41 +00:00
ryan
73b4b6055e List manipulation improvements from mdawaffe. fixes #2786
git-svn-id: http://svn.automattic.com/wordpress/trunk@3847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-06 04:14:04 +00:00
ryan
dac809b5a4 Add more fine grained user management caps. Part 1. #2775
git-svn-id: http://svn.automattic.com/wordpress/trunk@3846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-05 16:52:21 +00:00
ryan
19ea5fb78f Reorg bookmark functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-05 02:12:59 +00:00
ryan
df5c967953 Reorg category functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-04 21:36:52 +00:00
ryan
98a5598483 Undef var fix from Denis-de-Bernardy. fixes #2780
git-svn-id: http://svn.automattic.com/wordpress/trunk@3842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-04 21:07:41 +00:00
ryan
bc877b4aa2 Strip extra slashes from _POST when doing nonce AYS. Props MarkJaquith and mdawaffe. fixes #2761
git-svn-id: http://svn.automattic.com/wordpress/trunk@3833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-01 23:38:34 +00:00
ryan
ff34dc012c Be less aggressive in stripping user description.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-01 22:01:05 +00:00
ryan
2fce9d926e intval cat ID
git-svn-id: http://svn.automattic.com/wordpress/trunk@3824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-01 07:42:46 +00:00
ryan
49dc7146e4 Typo fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-31 06:27:10 +00:00
ryan
1181533296 Remove unused var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-31 01:40:25 +00:00
ryan
e38d68adac wp_salt() and more hash work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-31 01:40:00 +00:00
ryan
a50330dd45 wp_hash() and server secret.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-31 00:24:03 +00:00
ryan
1dff136d6f Add some user filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 22:47:13 +00:00
ryan
70276282ad Add some category filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 22:14:55 +00:00
ryan
e7618712cb base64 cached objects and store within multi-line comment block to avoid CRLF injections into the cache. Props Peter Westwood.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 21:14:36 +00:00
ryan
d05a23cbc9 sanitize_user regex fix from grigs. fixes #2729
git-svn-id: http://svn.automattic.com/wordpress/trunk@3795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 17:27:51 +00:00
ryan
f072c902db Enclosure redirect fix from aegrumet. fixes #2551
git-svn-id: http://svn.automattic.com/wordpress/trunk@3793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-26 17:25:48 +00:00
ryan
419f125cb7 Handle robots.txt requests and obey blog_plubic setting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-22 22:06:06 +00:00
ryan
16228c3d58 Add parse_request, send_headers, and wp actions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-22 19:23:46 +00:00
ryan
4d49e98fe4 Script loader from mdawaffe. #2701
git-svn-id: http://svn.automattic.com/wordpress/trunk@3788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-22 17:16:05 +00:00
ryan
afc4ec89bd Add publish_page hook
git-svn-id: http://svn.automattic.com/wordpress/trunk@3787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-19 17:22:19 +00:00
ryan
8ee6921b49 Improvements to the nonce AYS from mdawaffe. #2734
git-svn-id: http://svn.automattic.com/wordpress/trunk@3783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-18 06:49:22 +00:00
ryan
78e403f5fc Apply bloginfo_rss filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-18 01:23:25 +00:00
ryan
769011e895 Fallback to admin referer check instead of nonce if no action is given to check_admin_referer(). For plugin compatibility.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-17 00:28:26 +00:00
ryan
2f68889eb6 Remove private posts from front page query. Aadd private posts and page caps. fixes #2613
git-svn-id: http://svn.automattic.com/wordpress/trunk@3772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-11 23:13:35 +00:00
matt
fdab6f4c1e Lots of style and admin tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@3770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-10 20:35:10 +00:00
ryan
5adf0d701b Add file deletion filter. Props to that Andy guy. fixes #2703
git-svn-id: http://svn.automattic.com/wordpress/trunk@3768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-09 22:44:51 +00:00
ryan
ed13228400 Category query cleanups from skeltoac. fixes #2709
git-svn-id: http://svn.automattic.com/wordpress/trunk@3767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-08 02:16:24 +00:00
ryan
293b3b4dee Better escaping of strings used in JS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-05 07:49:05 +00:00
ryan
63001676c3 Pass action to check_admin_referer hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-04 09:23:17 +00:00
ryan
89fe7ce543 nonce functions. #2678
git-svn-id: http://svn.automattic.com/wordpress/trunk@3758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-02 22:08:34 +00:00
ryan
8753af280c Return user ID if email exists.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-27 04:24:14 +00:00
ryan
45302e1c22 Div balance across more. Props skeltoac. fixes #2348
git-svn-id: http://svn.automattic.com/wordpress/trunk@3751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-25 08:46:19 +00:00
ryan
a785678283 Fix page depth, again. PRops skeltoac. fixes #2690
git-svn-id: http://svn.automattic.com/wordpress/trunk@3750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-25 00:05:59 +00:00
ryan
8da6c47ae3 Add some prophylactic int casts and quoting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-22 00:02:00 +00:00
matt
c6e1adf128 Updating eol-style native. We must remember to do this when adding new files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 10:13:28 +00:00
matt
b33778b079 Tidy comment_author_url_link just like we do on the bookmarks page
git-svn-id: http://svn.automattic.com/wordpress/trunk@3723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 08:36:45 +00:00
ryan
bb0efd050b Move htmlentities2 to functions-formatting.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 03:03:27 +00:00
ryan
78e9a489f2 Remove comment_count_cache. fixes #2670
git-svn-id: http://svn.automattic.com/wordpress/trunk@3716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 02:53:02 +00:00
ryan
ffe09c30c7 Don't forget to pass args. Props Mike Little. fixes #2668
git-svn-id: http://svn.automattic.com/wordpress/trunk@3715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 02:33:47 +00:00
ryan
6027cfa946 Reorg comment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-19 02:32:12 +00:00
ryan
d650991531 Move clean_url() to functions-formatting.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-18 04:58:38 +00:00
ryan
e2baa1d0ab Move url_to_postid() to rewrite.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-18 04:47:26 +00:00
ryan
40b2e610cf Move theme functions to theme.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-18 04:44:33 +00:00
ryan
97355f28fd Escape single quotes in options.php. fixes #2656
git-svn-id: http://svn.automattic.com/wordpress/trunk@3710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-17 23:33:08 +00:00
ryan
7b2be71922 We like big inputs. fixes #2662
git-svn-id: http://svn.automattic.com/wordpress/trunk@3709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-17 23:27:18 +00:00
ryan
15248a593b Make sure permalinks for draft pages use query string style since the slug might not be set yet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-15 00:59:40 +00:00
ryan
c32db269eb Default show description option to off for bookmarks list, for now. This seems to be the preferred default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-13 05:02:08 +00:00
ryan
2cf2472a52 Default category lists to hierarchical. Update default theme to use wp_list_categories(). Props David House. fixes #2653
git-svn-id: http://svn.automattic.com/wordpress/trunk@3706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-13 04:51:45 +00:00
ryan
b1af79fb05 Add wp_revoke_user() and WP_User::remove_all_caps() to help those doing multi blog stuff.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-13 04:49:38 +00:00
ryan
a8eac8ee6d Move page walkers to classes. Props David House. fixes #2593
git-svn-id: http://svn.automattic.com/wordpress/trunk@3704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-13 04:40:48 +00:00
ryan
22922b00bc Thwart the browser cache by versioning tinyMCE. Props to that Andy guy. fixes #2658
git-svn-id: http://svn.automattic.com/wordpress/trunk@3703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-13 02:57:25 +00:00
ryan
6f0e341ce4 Split on '; ' not ';'.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-09 22:57:23 +00:00
matt
4390af2a82 walk_tree broken, fixes #2608
git-svn-id: http://svn.automattic.com/wordpress/trunk@3701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-09 22:08:18 +00:00
ryan
0e8625e05c Mac users deserve their own backwards popup layout. Props to that Andy guy. fixes #2645
git-svn-id: http://svn.automattic.com/wordpress/trunk@3698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-06 09:56:56 +00:00
matt
ecb3101f4e Formatting and eol fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-06 05:25:50 +00:00
ryan
8aa385cf3f Removed unused var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-06 00:44:35 +00:00
ryan
fa29d02a4b New SACK and DBX releases and some list manip fixes from mdawaffe. fixes #2642
git-svn-id: http://svn.automattic.com/wordpress/trunk@3695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-05 20:58:57 +00:00
ryan
9e83d18a03 Paging fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-05 20:48:29 +00:00
ryan
9ffdbe2230 List filters from David House. fixes #2328
git-svn-id: http://svn.automattic.com/wordpress/trunk@3691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 02:02:12 +00:00
ryan
230fd0cc1b ob_end_clean() in printr(). Props doit-cu. fixes #2297
git-svn-id: http://svn.automattic.com/wordpress/trunk@3689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 01:02:19 +00:00
ryan
5f67ca579a texturize fix from that Andy guy. fixes #2634
git-svn-id: http://svn.automattic.com/wordpress/trunk@3686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 00:47:33 +00:00
matt
e78ef4fe16 Remove use of deprecated variables, don't show bookmarklet form to unrecognized browser.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 00:25:04 +00:00
ryan
a8434c8f49 Do a therapuetic double strip on HTTP_IF_MODIFIED_SINCE since we code in an imperfect world. fixes #2597
git-svn-id: http://svn.automattic.com/wordpress/trunk@3682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-03 05:59:03 +00:00
ryan
ffda0db982 Don't texturize home. Props Mark Jaquith and David House. fixes #2381
git-svn-id: http://svn.automattic.com/wordpress/trunk@3681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-03 03:04:39 +00:00
ryan
0497d716ad Get all error messages with get_error_messages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-02 00:48:14 +00:00
ryan
6123ea7eb7 Some optimization of the post query. #2604
git-svn-id: http://svn.automattic.com/wordpress/trunk@3678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-02 00:33:10 +00:00
ryan
3d2347a655 WP_Locale. Props Sewar. fixes #2568
git-svn-id: http://svn.automattic.com/wordpress/trunk@3676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-02 00:20:11 +00:00
ryan
1fb3390cc2 Prompt for confirmation for mailapprovecomment action. Props mdawaffe. fixes #2615
git-svn-id: http://svn.automattic.com/wordpress/trunk@3671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-31 08:32:30 +00:00
ryan
8a751c591d Pluggable install functions. fixes #2616
git-svn-id: http://svn.automattic.com/wordpress/trunk@3670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-31 08:07:39 +00:00
ryan
9046cdf77b 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: http://svn.automattic.com/wordpress/trunk@3668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-30 23:35:42 +00:00
ryan
169842a7ce WP_Error. fixes #2600
git-svn-id: http://svn.automattic.com/wordpress/trunk@3667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-30 23:18:14 +00:00
ryan
078c537718 Return after delete so we don't re-add an empty field.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-30 23:15:35 +00:00
ryan
805df2b129 Ref checks from mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-30 23:12:54 +00:00
ryan
a7337fded7 tinyMCE 2.0.5 coming at you live. fixes #2598
git-svn-id: http://svn.automattic.com/wordpress/trunk@3664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-30 07:50:33 +00:00
ryan
73ef659763 Future post pinging and cron fixups from masquerade. fixes #2469
git-svn-id: http://svn.automattic.com/wordpress/trunk@3663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-30 07:36:54 +00:00
ryan
31cb659651 Filter comments when updating. Props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-29 20:41:13 +00:00
ryan
baa30dd4d8 AJAX, cause you love it. Props mdawaffe. fixes #2561
git-svn-id: http://svn.automattic.com/wordpress/trunk@3660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-29 01:51:55 +00:00
ryan
ee60500f1f update_option() action fix. fixes #2553
git-svn-id: http://svn.automattic.com/wordpress/trunk@3659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-25 21:46:53 +00:00
ryan
fe009bb136 Retrieve bookmarks for multiple cats. Props MichaelH. fixes #2592
git-svn-id: http://svn.automattic.com/wordpress/trunk@3658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-24 19:22:22 +00:00
ryan
3c61e4b10d Add meta_key and meta_value options to get_posts() and get_pages(). Props MichaelH. fixes #2563
git-svn-id: http://svn.automattic.com/wordpress/trunk@3656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-21 22:46:38 +00:00
ryan
4ce7df114d Add include param to get_posts(), get_categories(), get_pages(), and get_bookmarks(). Props MichaelH. fixes #2562
git-svn-id: http://svn.automattic.com/wordpress/trunk@3655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-21 04:26:50 +00:00
ryan
b5b8986bca Fix backreferences in mysql2date(). Props tenpura. fixes #2564
git-svn-id: http://svn.automattic.com/wordpress/trunk@3654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-21 04:19:52 +00:00
ryan
734ce3a383 Put categories dbx box up top and open. fixes #2493
git-svn-id: http://svn.automattic.com/wordpress/trunk@3651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-21 00:25:58 +00:00
ryan
b470886433 Don't try to do paging for single page queries. Props westi. fixes #2578
git-svn-id: http://svn.automattic.com/wordpress/trunk@3649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-20 21:19:33 +00:00
ryan
79ba4ca2ec edit_comment_link fix from westi. fixes #2559
git-svn-id: http://svn.automattic.com/wordpress/trunk@3647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-20 19:45:46 +00:00
ryan
f3880e051d Post paging rework from David House. fixes #2536
git-svn-id: http://svn.automattic.com/wordpress/trunk@3646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-20 19:43:57 +00:00
ryan
667597592c Comment feed fixes from David House. fixes #2570
git-svn-id: http://svn.automattic.com/wordpress/trunk@3644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-17 01:16:22 +00:00
ryan
898d025430 ent2ncr optimization. Props random. fixes #2548
git-svn-id: http://svn.automattic.com/wordpress/trunk@3641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-14 02:48:36 +00:00
ryan
5b10d4b1e0 Remove smilies sort. Props random. fixes #2550
git-svn-id: http://svn.automattic.com/wordpress/trunk@3640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-14 02:32:59 +00:00
ryan
9303053d39 Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-13 01:44:32 +00:00
ryan
6970a75e94 Rewrite API additions and improvements from David House. #2433
git-svn-id: http://svn.automattic.com/wordpress/trunk@3638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-12 22:57:00 +00:00
ryan
3f9714b97f Cron fixes from mdawaffe. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-08 05:51:42 +00:00
ryan
bc44b1b75d Cron fixes from masquerade. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-07 22:34:05 +00:00
ryan
fb1e531077 Cron improvements from masquerade. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-07 21:43:59 +00:00
ryan
8d5089e9d1 Don't add UTC offset again when formatting 'U' in mysql2date. Props masquerade. fixes #2537
git-svn-id: http://svn.automattic.com/wordpress/trunk@3633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-07 21:24:49 +00:00
ryan
14ece75d6f Language support for TinyMCE. Props capt_kirk and Stephen Chu. fixes #2476
git-svn-id: http://svn.automattic.com/wordpress/trunk@3623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-06 22:51:28 +00:00
ryan
2714ef2df9 Relative links in RTE. fixes #2492
git-svn-id: http://svn.automattic.com/wordpress/trunk@3612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-04 22:44:51 +00:00
ryan
509ffdb9a7 Isolate backref. fixes #2521
git-svn-id: http://svn.automattic.com/wordpress/trunk@3610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-04 22:41:16 +00:00
ryan
91621266c1 Back compat fixes for get_links().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-04 20:39:51 +00:00
ryan
150bb1dcee Normalize argument names.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 21:38:36 +00:00
ryan
eaea1c6e70 prefix not table_prefix. Props Kafkaesqui. fixes #2528
git-svn-id: http://svn.automattic.com/wordpress/trunk@3604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 20:36:40 +00:00
ryan
df35b1041b Use table prefix from wpdb. Props Mark J. #2524
git-svn-id: http://svn.automattic.com/wordpress/trunk@3603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 17:19:05 +00:00
ryan
ce4fd3bf02 Forget to group with parens on [3600]. #2498
git-svn-id: http://svn.automattic.com/wordpress/trunk@3601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 02:17:14 +00:00
ryan
18db892b64 Make sure posts array is not empty before checking preview state. #2498
git-svn-id: http://svn.automattic.com/wordpress/trunk@3600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 02:14:31 +00:00
ryan
7f125c5135 Use array_merge() to set defaults.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 06:37:00 +00:00
ryan
5643e1c1ba 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: http://svn.automattic.com/wordpress/trunk@3594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 05:47:59 +00:00
ryan
83a6d4c005 Move links.php to template-functions-bookmarks.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 04:59:27 +00:00
ryan
e475b0e8d9 s/get_linkz/get_bookmarks/
git-svn-id: http://svn.automattic.com/wordpress/trunk@3592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 04:55:31 +00:00
ryan
36adfa7d1c Add wp_dropdown_categories(). Deprecate dropdown_categories(). Add wp_list_categories() and make wp_list_cats() an alias.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 04:51:24 +00:00
ryan
263088e1a8 Actually move these this time. #2520
git-svn-id: http://svn.automattic.com/wordpress/trunk@3590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 03:31:43 +00:00
ryan
ca92bb4311 Move deprecated functions to deprecated.php. #2520
git-svn-id: http://svn.automattic.com/wordpress/trunk@3589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 03:27:48 +00:00
ryan
459c030ef3 wp_list_cats() rework. Add walk_tree() and walk_category_tree(). Use get_categories() for query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-01 13:30:19 +00:00
ryan
6452ec1bbc What's up front? #2515
git-svn-id: http://svn.automattic.com/wordpress/trunk@3581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-01 07:08:04 +00:00
ryan
5fb29643cb walk_page_tree() fix from Mark J. fixes #2516
git-svn-id: http://svn.automattic.com/wordpress/trunk@3579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 21:02:10 +00:00
ryan
0c110bc342 Fix page walk bug. fixes #2516
git-svn-id: http://svn.automattic.com/wordpress/trunk@3578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 11:19:04 +00:00
ryan
25c2dcac3c More comment cookie sanitation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 09:49:06 +00:00
ryan
6eadde74ac Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 08:00:39 +00:00
ryan
740d8f1c1f Add name arg to wp_dropdown_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 06:11:59 +00:00
ryan
672530a9da Strip all html from comment author name, email, and url.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 04:22:24 +00:00
ryan
803c970527 wp_dropdown_pages() and walk_page_tree()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-28 03:57:08 +00:00
ryan
e9c75f4bd2 Bookmark/link rework. #2499
git-svn-id: http://svn.automattic.com/wordpress/trunk@3570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-27 04:57:30 +00:00
ryan
0bc5aae7ef Mac meta keys from Alex King. fixes #2182
git-svn-id: http://svn.automattic.com/wordpress/trunk@3569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-24 03:55:25 +00:00
ryan
83728df100 Fix edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 19:17:28 +00:00
ryan
5322fc2faa current user cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 19:08:55 +00:00
ryan
e06ed8c9b6 Hide cookie layout behind wp_get_cookie_login() so that plugins can customize the cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-22 07:30:28 +00:00
ryan
b4166c403b Allow queries by post type. Enable paging in Manage->Pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@3564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-21 08:39:58 +00:00
ryan
29540c8e2b Breakup post.php into post.php, comment.php, page.php, post-new.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-21 06:11:46 +00:00
ryan
decf6ec071 Move wp_cron from shutdown hook to init. It was acting all funky (in the bad way) in the shutdown hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 21:07:17 +00:00
ryan
f517a9c06c Use current_time() instead of time(). fixes #2489
git-svn-id: http://svn.automattic.com/wordpress/trunk@3559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 17:15:13 +00:00
ryan
605d4a617a Fix post/page slug out. Props donncha. fixes #2472
git-svn-id: http://svn.automattic.com/wordpress/trunk@3558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-20 17:13:06 +00:00
ryan
35c2833427 Add alpha sort to wp_get_archives(). Props skippy. fixes #247
git-svn-id: http://svn.automattic.com/wordpress/trunk@3549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-19 02:07:13 +00:00
ryan
941ec0ff97 Blog privacy. fixes #2480
git-svn-id: http://svn.automattic.com/wordpress/trunk@3548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-18 07:40:43 +00:00
ryan
96ee80d399 Remove useless lines. Props majelbstoat. fixes #2455
git-svn-id: http://svn.automattic.com/wordpress/trunk@3540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:25:10 +00:00
ryan
ec22fc85b3 Add post_content_filtered to insert and update in wp_insert_attachment(). Props bungeman. fixes #2457
git-svn-id: http://svn.automattic.com/wordpress/trunk@3539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:09:40 +00:00
ryan
e95ada23ce get_permalink() performance improvement from arnee. fixes #2463
git-svn-id: http://svn.automattic.com/wordpress/trunk@3538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:04:20 +00:00
ryan
34398e5a2e Make sure user_id is set before inserting. Props bungeman. fixes #2459
git-svn-id: http://svn.automattic.com/wordpress/trunk@3537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-17 01:00:18 +00:00
ryan
60d01b1f96 Use post_type not post_status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-15 07:16:58 +00:00
ryan
a37a1d7440 Give future posts a post_status of future when upgrading.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 23:22:22 +00:00
ryan
d30b5f1c99 Option to 'mark as spam' in notification e-mail from Mark J. fixes #1048
git-svn-id: http://svn.automattic.com/wordpress/trunk@3529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 20:09:13 +00:00
ryan
bcb996e5d3 Don't show private and draft pages in post lists. fixes #2442
git-svn-id: http://svn.automattic.com/wordpress/trunk@3528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 06:23:03 +00:00
ryan
ecb85e38bb Don't walk rewrite structure when generating comment feed rewrite rules. This fixes a bug uncovered when we switched from unions to merges. Props joshkidd. fixes #2379
git-svn-id: http://svn.automattic.com/wordpress/trunk@3527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 01:30:14 +00:00
ryan
535d41ea76 If requesting post caps for a page, redirect to equivalent page caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 01:10:51 +00:00
ryan
f3faa6c75d Fix timestamps for future posts. fixes #2439
git-svn-id: http://svn.automattic.com/wordpress/trunk@3525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-14 00:12:09 +00:00
ryan
d0f14a4c93 Move generic_ping() to execute-pings.php. fixes #2440
git-svn-id: http://svn.automattic.com/wordpress/trunk@3524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-13 23:14:59 +00:00
ryan
a9fca43a85 get_page_by_path() tweak.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-13 07:04:14 +00:00
ryan
373424383e wp_cron() array warning fix ups from Owen. fixes #2436
git-svn-id: http://svn.automattic.com/wordpress/trunk@3522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-13 05:30:44 +00:00
ryan
8b166d5c9b User ref instead of copying. Props m4ttias. fixes #2256
git-svn-id: http://svn.automattic.com/wordpress/trunk@3519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 08:14:10 +00:00
ryan
e309d60bdb i18n fix for next month links from bob58. fixes #2399
git-svn-id: http://svn.automattic.com/wordpress/trunk@3518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 08:00:54 +00:00
ryan
dd202ce1f9 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:53:23 +00:00
ryan
30bb2362e2 dylsexia
git-svn-id: http://svn.automattic.com/wordpress/trunk@3515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:43:15 +00:00
ryan
a5fc1e9ebe Post status = future. #2426
git-svn-id: http://svn.automattic.com/wordpress/trunk@3514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-12 07:41:56 +00:00
ryan
d6d431c1be Add new page caps now that pages can be draft or publish. Brings page caps to parity with posts. Add delete caps for posts and pages. fixes #2382 #2336 #2301
git-svn-id: http://svn.automattic.com/wordpress/trunk@3513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-11 09:56:02 +00:00
ryan
9f50b562b5 Pseudo-cron first cut. Props Owen. #2425
git-svn-id: http://svn.automattic.com/wordpress/trunk@3512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-11 02:24:47 +00:00
ryan
67968a6127 get_page_by_path. Some page uri cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-10 00:54:16 +00:00
ryan
f812294867 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: http://svn.automattic.com/wordpress/trunk@3510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 10:03:48 +00:00
matt
8f3d06a864 Exclude cats like we said we would, davidhouse. Fixes #2215 and fixes #2187
git-svn-id: http://svn.automattic.com/wordpress/trunk@3508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 08:26:30 +00:00
matt
f4a34c7074 Better email error checking, fixes #2046
git-svn-id: http://svn.automattic.com/wordpress/trunk@3507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 08:11:26 +00:00
matt
d266a0d226 Don't falsely marketh as spam. Fixes #1560
git-svn-id: http://svn.automattic.com/wordpress/trunk@3506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-09 07:25:25 +00:00
ryan
66828c03e9 Use current_user_can
git-svn-id: http://svn.automattic.com/wordpress/trunk@3505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-07 01:06:04 +00:00
ryan
6c4e7e48d2 Disable cache by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-02-04 03:21:09 +00:00
matt
7d7b32416c Bump!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-31 20:05:42 +00:00
ryan
f035ac9b20 Make check_admin_referer() pluggable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 23:06:58 +00:00
ryan
81908816ab Flush all_page_ids when a page is addded or deleted.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 19:58:48 +00:00
ryan
325a641cac Delete usermeta field if set to empty string. Props David House. fixes #2341
git-svn-id: http://svn.automattic.com/wordpress/trunk@3495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 19:48:09 +00:00
ryan
cd678d9a32 Allow empty usermeta fields. Props David House. fixes #2341
git-svn-id: http://svn.automattic.com/wordpress/trunk@3494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 00:21:48 +00:00
ryan
e4e35319e1 Fix RSD link. Props Juergen. fixes #2349
git-svn-id: http://svn.automattic.com/wordpress/trunk@3493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 00:15:57 +00:00
ryan
5c166af378 CGI ping fixes. fixes #2197
git-svn-id: http://svn.automattic.com/wordpress/trunk@3491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-28 18:41:19 +00:00
matt
dd14d47290 Caching typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-28 06:19:11 +00:00
ryan
a191df007e Make sure we have an array. Props David House. fixes #2344
git-svn-id: http://svn.automattic.com/wordpress/trunk@3489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-27 19:22:55 +00:00
ryan
a225d305fa Reinstate user_firstname, user_lastname, and user_description in the user object for backwards compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-27 18:14:33 +00:00
ryan
10c1b81d0a Use double quotes. fixes #2332
git-svn-id: http://svn.automattic.com/wordpress/trunk@3487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-26 02:33:14 +00:00
ryan
710a6ef5b5 post_custom cleanup. fixes #2160
git-svn-id: http://svn.automattic.com/wordpress/trunk@3486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 07:38:43 +00:00
ryan
f87324b259 update_option_* actions. fixes #2332
git-svn-id: http://svn.automattic.com/wordpress/trunk@3485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 06:46:21 +00:00
ryan
72dfd6faab 404 if category not found. fixes #2123
git-svn-id: http://svn.automattic.com/wordpress/trunk@3484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:59:41 +00:00
ryan
9cff7433a7 add_role() fix from nielshackius. fixes #2298
git-svn-id: http://svn.automattic.com/wordpress/trunk@3482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:39:59 +00:00
ryan
99385a2f18 Username sanitization cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:09:16 +00:00
ryan
392ba189b3 Bumpity, bump, bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 07:53:26 +00:00
ryan
6a4f2fbec8 add_query_arg() fix from majelbstoat. fixes #2326
git-svn-id: http://svn.automattic.com/wordpress/trunk@3474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:42:25 +00:00
ryan
9a6867aa44 is_preview() fixes from David House. fixes #2188
git-svn-id: http://svn.automattic.com/wordpress/trunk@3473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:39:56 +00:00
ryan
f4071a3759 Use array_append() instead of unions. Props majelbstoat. fixes #2321
git-svn-id: http://svn.automattic.com/wordpress/trunk@3472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:20:17 +00:00
matt
cdc37f33a4 Compat function, fixes #2319
git-svn-id: http://svn.automattic.com/wordpress/trunk@3471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:15:17 +00:00
ryan
b708753730 Don't use glob. Props David House. fixes #2312
git-svn-id: http://svn.automattic.com/wordpress/trunk@3468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-20 21:09:19 +00:00
ryan
3fa51b528a Make sure we have an array. Props Ozh and David House. fixes #2313
git-svn-id: http://svn.automattic.com/wordpress/trunk@3467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-20 21:07:10 +00:00
ryan
ee7a432c55 Cache flush improvements from Owen. fixes #2223 #2278
git-svn-id: http://svn.automattic.com/wordpress/trunk@3465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-19 22:12:15 +00:00
ryan
30be2a8f69 8 not 7. fixes #2283
git-svn-id: http://svn.automattic.com/wordpress/trunk@3464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-19 00:21:42 +00:00
ryan
4dcbfe9b37 Add ENABLE_CACHE flag to force persistent cache enable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 22:21:40 +00:00
ryan
6ff524425a Fall back to default theme if current theme is deleted. Props David House. fixes #2305
git-svn-id: http://svn.automattic.com/wordpress/trunk@3459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 19:38:29 +00:00
ryan
f6c66d873d Give draft posts a current timestamp. Props David House and technosailor. fixes #2164
git-svn-id: http://svn.automattic.com/wordpress/trunk@3458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 19:30:28 +00:00
ryan
395b6dbc1a Pass comment ID to comment email filters. Props Mark Jaquith. fixes #2307
git-svn-id: http://svn.automattic.com/wordpress/trunk@3455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 18:49:28 +00:00
ryan
45863965f1 sanitize_user() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 05:37:26 +00:00
ryan
515892d7ab wp_roles cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 01:06:11 +00:00
matt
0ca2b56f1e get_post_custom_values update. Fixes #2160
git-svn-id: http://svn.automattic.com/wordpress/trunk@3448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-17 01:01:17 +00:00
matt
90b3004603 Better HTTPS support - fixes #2283
git-svn-id: http://svn.automattic.com/wordpress/trunk@3445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-16 23:04:09 +00:00
ryan
d96ba966cd Use ->comments instead of . fixes #2294
git-svn-id: http://svn.automattic.com/wordpress/trunk@3442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-16 20:03:56 +00:00
ryan
86d3dbb81f wp_specialchars the request uri when contructing paging links. fixes #1686
git-svn-id: http://svn.automattic.com/wordpress/trunk@3440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-15 23:42:10 +00:00
ryan
aaf8f92d73 i18n fix from pandem. fixes #2292
git-svn-id: http://svn.automattic.com/wordpress/trunk@3438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-15 22:04:21 +00:00
ryan
db03553bf2 More upload path tweaks. fixes #2271
git-svn-id: http://svn.automattic.com/wordpress/trunk@3437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-14 22:09:51 +00:00
ryan
150fb02aa0 Disable peristent cache when safe_mode.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-14 21:22:48 +00:00
ryan
937e73d016 Acquire lock when flushing cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-14 00:05:22 +00:00
ryan
58029f7249 Force absolute lookup. Props tanuki. fixes #2237
git-svn-id: http://svn.automattic.com/wordpress/trunk@3433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 22:40:22 +00:00
ryan
cb093369a1 Make the xmlrpc user the current user. fixes #2273
git-svn-id: http://svn.automattic.com/wordpress/trunk@3430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 19:19:09 +00:00
ryan
558711072b kses regex tweakage for better comment filtering. fixes #2130
git-svn-id: http://svn.automattic.com/wordpress/trunk@3429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 07:28:47 +00:00
ryan
ba29615e7e Trigger pre_ping action outside of loop. Props Mark Jaquith. fixes #2269
git-svn-id: http://svn.automattic.com/wordpress/trunk@3427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-11 21:35:36 +00:00
ryan
96abeca9f3 Don't overwrite global request when starting a new query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-11 11:06:26 +00:00
ryan
3904108d96 Add gettext filter. fixes #2258
git-svn-id: http://svn.automattic.com/wordpress/trunk@3425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-10 22:53:40 +00:00
ryan
107326dcd9 Rerun comment text back through kses.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-10 01:27:36 +00:00
ryan
ea84ce4551 Pass comments through kses. Props tsimmons. fixes #2130 #2167
git-svn-id: http://svn.automattic.com/wordpress/trunk@3417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 23:49:56 +00:00
ryan
8154a9f636 Bump version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 22:29:36 +00:00
ryan
88e32d34fc Add upload folder options. Props David House. fixes #2206
git-svn-id: http://svn.automattic.com/wordpress/trunk@3413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 22:24:57 +00:00
ryan
84da5fc90f Save cache after the shutdown hook runs. fixes #2232
git-svn-id: http://svn.automattic.com/wordpress/trunk@3411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-06 02:10:43 +00:00
ryan
02089fb5f2 Fix get_post_meta() array return. fixes #2183
git-svn-id: http://svn.automattic.com/wordpress/trunk@3410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-06 01:30:13 +00:00
ryan
cff4c42d36 Avoid invoking template filters twice. Props David House. fixes #2225
git-svn-id: http://svn.automattic.com/wordpress/trunk@3409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-06 01:09:16 +00:00
ryan
778923ceb1 Don't cache posts when importing. fixes #2224
git-svn-id: http://svn.automattic.com/wordpress/trunk@3404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 05:34:28 +00:00
ryan
81cb9e9d7b Remove printr calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 05:27:31 +00:00
ryan
05188cd4a0 Don't remove top level cache dir when flushing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 04:50:58 +00:00
ryan
9c9f5f8aaa Add [L] to rewrite rule. Props cavemonkey50. fixes #2222
git-svn-id: http://svn.automattic.com/wordpress/trunk@3401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 03:47:38 +00:00
ryan
9675f5fd55 More reliable cache flusher that does not require glob().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 02:56:42 +00:00
ryan
6db55e81a6 Fix variable name collision that was breaking paging. fixes #2204
git-svn-id: http://svn.automattic.com/wordpress/trunk@3396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-04 00:41:53 +00:00
ryan
e2aecdde88 Better broken path info workaround for setups that use redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-03 00:59:31 +00:00
ryan
ee8b3c94df i18n fixes from SteveAgl. fixes #2207
git-svn-id: http://svn.automattic.com/wordpress/trunk@3393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 21:08:34 +00:00
ryan
b0f69e20a3 Create dir hierarchy for files passed to wp_upload_bits().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 04:59:39 +00:00
ryan
c798fede84 Upload dir cleanups. Honor old fileupload_path settings if present.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 04:33:27 +00:00
ryan
807f5ded08 Preserve suid and sgid bits when creating new directories. fixes #2190
git-svn-id: http://svn.automattic.com/wordpress/trunk@3388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 02:50:59 +00:00
ryan
faa30b7898 Default expiration is too long. Change it to 15 minutes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 22:34:58 +00:00
ryan
67febd9d7a Fallback to matching the leaf category if the full path doesn't match. Props David House. fixes #2161
git-svn-id: http://svn.automattic.com/wordpress/trunk@3385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 21:53:13 +00:00
ryan
90fc694201 Trackback tweaks. Props http://blog.serv.idv.tw/2005/12/29/380/. fixes #2170
git-svn-id: http://svn.automattic.com/wordpress/trunk@3384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 21:24:56 +00:00
ryan
38f4fca0db Move PHP_SELF setup to wp-settings.php. #2153
git-svn-id: http://svn.automattic.com/wordpress/trunk@3382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 23:11:26 +00:00
ryan
6d40d77615 More wp_upload_bits() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 02:07:10 +00:00
ryan
39195303f1 Fix extension handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:46:32 +00:00
ryan
d789b7005e Typo in wp_upload_bits()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:40:42 +00:00
ryan
00e695e6f5 LJ tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:25:41 +00:00
ryan
305a286ce1 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: http://svn.automattic.com/wordpress/trunk@3373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 07:05:05 +00:00
ryan
240128b76d Create explicit page attachment rewrite rules rather than matching the attachment name against a regexp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 04:27:21 +00:00
ryan
8906eb2557 Anchor str replacements to head so that we don't replace across the entire string. fixes #2162
git-svn-id: http://svn.automattic.com/wordpress/trunk@3370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 01:48:29 +00:00
ryan
f1e77a800a i18n trackback fix. Props thinkini. fixes #2163
git-svn-id: http://svn.automattic.com/wordpress/trunk@3368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:55:55 +00:00
matt
08005a3bba Pop the champagne
git-svn-id: http://svn.automattic.com/wordpress/trunk@3362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-26 20:15:06 +00:00
ryan
ca096fabad Make sure we have a valid timestamp. fixes #2148
git-svn-id: http://svn.automattic.com/wordpress/trunk@3359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-25 21:42:07 +00:00
ryan
9c99a92bc5 Silence mkdir().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-25 21:16:27 +00:00
ryan
48f0f0a89e Update post_modified when the post is changed. fixes #1837
git-svn-id: http://svn.automattic.com/wordpress/trunk@3357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 20:04:59 +00:00
ryan
541c30cc70 Fix page permalink 404 when pages are reordered. Props David House. fixes #2071
git-svn-id: http://svn.automattic.com/wordpress/trunk@3356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 16:26:55 +00:00
ryan
c9afa8e4dc MAke sure post_parent is valid.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 05:34:50 +00:00
ryan
d0ff0c9315 Make wp_insert_attachment() MySQL 5 strict mode compliant. fixes #2115
git-svn-id: http://svn.automattic.com/wordpress/trunk@3353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 05:32:49 +00:00
ryan
cbb50041a8 Return ID not user_login.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 23:16:01 +00:00
ryan
2a40219b33 Hide errors when getting usermeta in case we're upgrading and usermeta doesn't exist yet. fixes #2110
git-svn-id: http://svn.automattic.com/wordpress/trunk@3343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 00:32:15 +00:00
matt
b111087cbb Updating to stable version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 21:45:59 +00:00
ryan
65223a924f Reduce consecutive backslashes to one backslash. Handy when escaped windows paths are passed in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 05:18:18 +00:00
ryan
3a3d3f6aee Don't get children for cat 0. fixes #2123
git-svn-id: http://svn.automattic.com/wordpress/trunk@3338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 04:31:48 +00:00
ryan
0d9a94d553 Edit link does not belong on attachments. fixes #2119
git-svn-id: http://svn.automattic.com/wordpress/trunk@3333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-21 15:47:54 +00:00
matt
d62c42289e It goes bump in the night.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-20 07:07:26 +00:00
ryan
2d9779beba Make sure comment_parent is set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-20 04:28:32 +00:00
ryan
a626f32296 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: http://svn.automattic.com/wordpress/trunk@3330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-19 19:14:22 +00:00
ryan
4f3bef3ac1 Validation tweaks. fixes #2097
git-svn-id: http://svn.automattic.com/wordpress/trunk@3329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-19 19:10:09 +00:00
ryan
beca0741ca Init tweak. No need to prime category cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-18 22:08:01 +00:00
ryan
4e79fa55fe get_children()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 09:50:10 +00:00
ryan
30c70223b3 Compression tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 08:04:55 +00:00
ryan
4260bf8b16 Populate PHP_SELF from REQUEST_URI if blank.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 08:04:41 +00:00
ryan
97cd7143da New asyncronous ping method. fixes #2048
git-svn-id: http://svn.automattic.com/wordpress/trunk@3317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 03:04:33 +00:00
ryan
ee7b572202 Add post titles to site comment feed. Add some gettext. fixes #2067 #1987
git-svn-id: http://svn.automattic.com/wordpress/trunk@3314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 22:20:06 +00:00
ryan
c676e9c5c0 Separate dbx managers for post and page forms. Props mdawaffe. fixes #2035
git-svn-id: http://svn.automattic.com/wordpress/trunk@3313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 21:48:12 +00:00
ryan
3a51b35f25 Pluggable tinyMCE init. fixes #2080
git-svn-id: http://svn.automattic.com/wordpress/trunk@3312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 21:42:38 +00:00
ryan
fd28b6f640 When changing a post's categories, redo category counts for both old and new cats. Props ringmaster. fixes #2085
git-svn-id: http://svn.automattic.com/wordpress/trunk@3311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 20:31:29 +00:00
ryan
d567007a42 Don't treat a numeric user name as an id.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 16:45:20 +00:00
ryan
5a56fc2414 is_user_logged_in()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 16:31:41 +00:00
ryan
9aa7dc5290 Bump ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 01:17:46 +00:00
ryan
ab9b8f8b6a Attachment enhancements from skeltoac. fixes #2074
git-svn-id: http://svn.automattic.com/wordpress/trunk@3303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 19:19:56 +00:00
ryan
9a11319958 Better user check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 18:18:07 +00:00
ryan
3671c6786d 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: http://svn.automattic.com/wordpress/trunk@3300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:49:09 +00:00
ryan
2343663e0b If no user is logged in, setup an empty user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:46:40 +00:00
ryan
f2d7c06c6d Add optional user_id arg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:46:08 +00:00
ryan
f588d966bd Add read_post meta cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 00:54:52 +00:00
ryan
72650ed6b7 role_has_cap and user_has_cap filters from ringmaster. fixes #2005
git-svn-id: http://svn.automattic.com/wordpress/trunk@3296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 23:20:44 +00:00
ryan
2a4aafe9b9 Fix attachment queries. fixes #2041
git-svn-id: http://svn.automattic.com/wordpress/trunk@3293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:33:46 +00:00
ryan
9d75e305a2 MCE improvements from skeltoac. fixes #2058
git-svn-id: http://svn.automattic.com/wordpress/trunk@3292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:27:56 +00:00
ryan
b5da83787d Resurrect save_post action for back compat. fixes #2063
git-svn-id: http://svn.automattic.com/wordpress/trunk@3291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 00:30:14 +00:00
ryan
93cd8402f2 Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: http://svn.automattic.com/wordpress/trunk@3290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 19:14:29 +00:00
ryan
931ee9ff74 get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: http://svn.automattic.com/wordpress/trunk@3289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 18:01:19 +00:00
ryan
4e4739b918 Gecko paste fix. fixes #2051
git-svn-id: http://svn.automattic.com/wordpress/trunk@3287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 01:32:05 +00:00
ryan
e6bcf0632d Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: http://svn.automattic.com/wordpress/trunk@3286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:29:39 +00:00
ryan
157aecdf6e Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: http://svn.automattic.com/wordpress/trunk@3285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:22:47 +00:00
ryan
0ace9024cd Add richedit_pre filter. Props mani_monaj. fixes #2047
git-svn-id: http://svn.automattic.com/wordpress/trunk@3284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 19:03:22 +00:00
ryan
06c51d01c2 MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: http://svn.automattic.com/wordpress/trunk@3283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-09 19:24:14 +00:00
ryan
ec0b1a8602 Remove debug cruft. fixes #2040
git-svn-id: http://svn.automattic.com/wordpress/trunk@3280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-08 23:54:24 +00:00
ryan
1f2e257074 Add timezone to iso8601 timestamp. Props devlogic. fixes #2036
git-svn-id: http://svn.automattic.com/wordpress/trunk@3279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-08 00:08:12 +00:00
ryan
3221e7d7df gzdeflate unnecessary. fixes #2038
git-svn-id: http://svn.automattic.com/wordpress/trunk@3278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 23:53:02 +00:00
ryan
c8b54e3bba Make page slugs unique. Props skeltoac. fixes #2034
git-svn-id: http://svn.automattic.com/wordpress/trunk@3277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 19:02:05 +00:00
ryan
1547da4733 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: http://svn.automattic.com/wordpress/trunk@3276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 00:36:07 +00:00
ryan
181dd79885 Add wp_title filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 23:57:41 +00:00
ryan
3d55d1e28c autop fixes from skeltoac. fixes #2022
git-svn-id: http://svn.automattic.com/wordpress/trunk@3273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 17:00:01 +00:00
ryan
9d4c41b823 i18n fix from pandem. fixes #2028
git-svn-id: http://svn.automattic.com/wordpress/trunk@3272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 16:58:26 +00:00
ryan
9dc3881715 Decrease comment count only when deleting approved comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 05:31:27 +00:00
ryan
1a44970d3a Add edit_pages checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 04:04:23 +00:00
ryan
bd31c21f83 Relocate wp_upload_dir(). fixes #2019
git-svn-id: http://svn.automattic.com/wordpress/trunk@3267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:17:03 +00:00
ryan
57ce56e8f4 tinyMCE updates from skeltoac. fixes #1991
git-svn-id: http://svn.automattic.com/wordpress/trunk@3265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:04:25 +00:00
ryan
843a9afbfc i18n fixes from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:37:02 +00:00
ryan
30a8b614b2 Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 22:51:40 +00:00
ryan
9de108b9bf Make sure user_login keyed caches are cleared upon change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 17:38:37 +00:00
ryan
40a83116c2 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: http://svn.automattic.com/wordpress/trunk@3252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 01:34:29 +00:00
ryan
4cc66547a3 Remove ugly whitespace. Props abhay. fixes #1996
git-svn-id: http://svn.automattic.com/wordpress/trunk@3250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 21:13:18 +00:00
ryan
ec4e918588 add_role() and remove_role() convenience wrappers around
git-svn-id: http://svn.automattic.com/wordpress/trunk@3249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 20:04:04 +00:00
ryan
d9c7e8ff0d Add delete_usermeta(). fixes #1992
git-svn-id: http://svn.automattic.com/wordpress/trunk@3247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 19:19:47 +00:00
ryan
24d31cbef8 Remove extraneous parens.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 17:30:51 +00:00
ryan
8f6c123fa7 TinyMCE directionality for RTL support. Props skeltoac. fixes #1967
git-svn-id: http://svn.automattic.com/wordpress/trunk@3244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 17:15:43 +00:00
ryan
7b9f47b54b Allow Author role to edit published posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 07:47:22 +00:00
ryan
b174a8dadb Return role object after adding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 07:32:43 +00:00
ryan
5211ae3da6 Unserialize fix. fixes #1988
git-svn-id: http://svn.automattic.com/wordpress/trunk@3239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 00:25:05 +00:00
ryan
1a351ef8c0 Add get_role() convenience wrapper.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 18:47:28 +00:00
ryan
489c6c4257 escapeshell SA17779
git-svn-id: http://svn.automattic.com/wordpress/trunk@3235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 14:07:30 +00:00
matt
0ff8f49cd5 Part of a healthy balanced breakfast - fixes #1980
git-svn-id: http://svn.automattic.com/wordpress/trunk@3234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 07:58:50 +00:00
ryan
f57362c61c Only unset query vars when serving admin pages. fixes #1979
git-svn-id: http://svn.automattic.com/wordpress/trunk@3233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 06:44:44 +00:00
ryan
b62211209a If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:33:25 +00:00
matt
138f2e6a91 So close I can taste it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:01:48 +00:00
ryan
efce6979b1 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: http://svn.automattic.com/wordpress/trunk@3229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 01:43:32 +00:00
ryan
cba87fb462 Don't try to do permalinks for admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:30:42 +00:00
matt
beff0bedba Don't do bad xhtml fixing by default - fixes #1975
git-svn-id: http://svn.automattic.com/wordpress/trunk@3223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:05:12 +00:00
matt
2235469b60 No need to do those big fancy joins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 09:44:56 +00:00
matt
7c4d4cbec8 Another query bites the dust!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 09:37:17 +00:00
matt
dced5779ea Don't create empty umeta values.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 08:48:18 +00:00
matt
e8a4812526 Return if not an array, fixes #1940
git-svn-id: http://svn.automattic.com/wordpress/trunk@3217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 06:38:12 +00:00
matt
2fdc11a1d2 Don't show 404s for empty cats, fixes #1969
git-svn-id: http://svn.automattic.com/wordpress/trunk@3215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 03:15:48 +00:00
matt
43b2fc5f73 Better email from, fixes #1532
git-svn-id: http://svn.automattic.com/wordpress/trunk@3214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 22:57:26 +00:00
ryan
313e9a406b 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: http://svn.automattic.com/wordpress/trunk@3206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 22:38:25 +00:00
ryan
6708e3d4ff s/user_description/description/. Props tinyau. fixes #1943
git-svn-id: http://svn.automattic.com/wordpress/trunk@3205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 18:01:32 +00:00
ryan
945a03bea5 Add get_attached_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 10:00:07 +00:00
matt
45c73a3298 Don't show 0 as a month.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 07:57:58 +00:00
ryan
0b3cf7e738 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: http://svn.automattic.com/wordpress/trunk@3200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 01:35:08 +00:00
ryan
c9cc15c4f4 Add some defaults to avoid MySQL warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 00:38:56 +00:00
ryan
7b29bce03c Add glob() compat for php < 4.3.0
git-svn-id: http://svn.automattic.com/wordpress/trunk@3198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 23:39:56 +00:00
ryan
9426478867 Store some values in the class for debug purposes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 21:07:48 +00:00
matt
ac47eb038c Bumpa version
git-svn-id: http://svn.automattic.com/wordpress/trunk@3195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 09:56:15 +00:00
ryan
5be6242b23 Silence mkdir().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 07:45:07 +00:00
ryan
24e2307445 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: http://svn.automattic.com/wordpress/trunk@3193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 03:45:40 +00:00
ryan
a9d801767f Upgrade to Snoopy 1.2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@3191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 01:14:26 +00:00
ryan
73dde55507 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: http://svn.automattic.com/wordpress/trunk@3190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 00:36:36 +00:00
ryan
40bcf58a25 Therapeutic db version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:13:20 +00:00
ryan
3587a865c9 Run attachment filter for themes that don't have single.php or page.php. Props podz. fixes #1924
git-svn-id: http://svn.automattic.com/wordpress/trunk@3174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 02:08:59 +00:00
ryan
6cc1deb00c TinyMCE publish fix from skeltoac. fixes #1921
git-svn-id: http://svn.automattic.com/wordpress/trunk@3172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-20 07:34:47 +00:00
ryan
eb7c563406 Silence fopen warnings and check return.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 22:52:57 +00:00
ryan
6628bfcf35 Suppress fopen warnings and check return.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 20:12:26 +00:00
ryan
51b8a36906 get_post_mime_type() from skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 20:08:21 +00:00
ryan
ed7b824257 Remove extra file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:41:54 +00:00
ryan
e1a257cc18 Add missing file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:41:21 +00:00
ryan
a42ba92fe9 Relocate help icon to the correct place.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:39:09 +00:00
ryan
d34cfa089b Update help icon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:28:48 +00:00
ryan
15147edb24 TinyMCE help. fixes #1908
git-svn-id: http://svn.automattic.com/wordpress/trunk@3163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:15:11 +00:00
ryan
ff39307b04 Wrong PCRE flag break TinyMCE on lower PHP versions. fixes #1913
git-svn-id: http://svn.automattic.com/wordpress/trunk@3162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:11:03 +00:00
matt
94c145394c Dat da-da duuuummmmmmmm
git-svn-id: http://svn.automattic.com/wordpress/trunk@3160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 00:19:43 +00:00
ryan
a78ca073b5 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: http://svn.automattic.com/wordpress/trunk@3156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:27:39 +00:00
ryan
dfb4f6b962 Autosave warning fix. fixes #1910
git-svn-id: http://svn.automattic.com/wordpress/trunk@3153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 22:55:39 +00:00
ryan
f4f22fce81 Attachment cleanups from skeltoac. fixes #1870
git-svn-id: http://svn.automattic.com/wordpress/trunk@3145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 09:25:47 +00:00
ryan
d2ae62c45c Remove dead code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 02:20:19 +00:00
ryan
c1095d12dd Don't return undefined variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 02:15:08 +00:00
ryan
2b178e8737 Filter on the_content_rss. Props Kafkaesqui. fixes #1685
git-svn-id: http://svn.automattic.com/wordpress/trunk@3140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 23:17:06 +00:00
ryan
90004a8ae6 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: http://svn.automattic.com/wordpress/trunk@3139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 23:01:28 +00:00
ryan
f237c0bf41 Don't loop over empty options. fixes #1900
git-svn-id: http://svn.automattic.com/wordpress/trunk@3138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 22:46:18 +00:00
ryan
e6425a4127 Tidy up get_userdatabylogin().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 18:15:59 +00:00
ryan
544842e3dc Big tiny fixes from skeltoac. fixes #1897
git-svn-id: http://svn.automattic.com/wordpress/trunk@3136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 17:47:29 +00:00
ryan
3a83db90da Don't bother with sems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:30:14 +00:00
ryan
d662ef80b1 Add posts_groupby and posts_request filters. fixes #1479
git-svn-id: http://svn.automattic.com/wordpress/trunk@3130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:10:18 +00:00
ryan
a370a5d002 i18n fix from nbachiyski. fixes #1874
git-svn-id: http://svn.automattic.com/wordpress/trunk@3125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 03:01:55 +00:00
ryan
a6472cdafa Check if writable before checking if dir to avoid permission denied problems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 02:24:52 +00:00
matt
60e7c34c12 Fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@3122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 01:57:18 +00:00
matt
1fb7241355 New logo, better login.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 00:51:34 +00:00
matt
773df46145 Not used any more.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 00:34:24 +00:00
ryan
a41c4a693f Add missing space to fix validation. Props seth. fixes #1887
git-svn-id: http://svn.automattic.com/wordpress/trunk@3118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:59:29 +00:00
ryan
09809cc917 Don't run stylesheet directory URI through filters. fixes #1890
git-svn-id: http://svn.automattic.com/wordpress/trunk@3117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:54:39 +00:00
ryan
5fdc8b56da Add some comment API and update comment popup templates to use them. Props David Hose. fixes #1892
git-svn-id: http://svn.automattic.com/wordpress/trunk@3115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:48:12 +00:00
matt
6154d26ea1 Better email links, fixes #1416
git-svn-id: http://svn.automattic.com/wordpress/trunk@3114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:44:03 +00:00
ryan
36722b2528 Silence file ops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:40:14 +00:00
ryan
4eb19bcf5e More 404 work. Hopefully fixes #1471
git-svn-id: http://svn.automattic.com/wordpress/trunk@3111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 22:54:52 +00:00
ryan
64567c90f4 Don't flush if cache is disabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 19:01:58 +00:00
ryan
aba1a4437d Fix 404s. Props donncha. fixes #1471
git-svn-id: http://svn.automattic.com/wordpress/trunk@3108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 10:16:20 +00:00
ryan
428f06c54a Fix typos in remove_accents(). Props kyknos and YaaL. fixes #1688
git-svn-id: http://svn.automattic.com/wordpress/trunk@3106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 06:37:06 +00:00
ryan
25b644e8ce Add comment_count to the posts table. Props donncha. fixes #1860
git-svn-id: http://svn.automattic.com/wordpress/trunk@3104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 06:29:36 +00:00
ryan
005dce9352 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: http://svn.automattic.com/wordpress/trunk@3103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 03:27:22 +00:00
ryan
b6f44dc532 Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 02:54:23 +00:00
ryan
10c71b6d01 Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864
git-svn-id: http://svn.automattic.com/wordpress/trunk@3097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 01:58:04 +00:00
ryan
72c031e0a5 Update to use cap API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 00:50:02 +00:00
ryan
0170736e28 Move category post count updater into wp_set_post_cats().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 23:47:16 +00:00
ryan
f83326f125 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 22:55:24 +00:00
ryan
e120711bdd Update category counts. Props donncha. fixes #1886
git-svn-id: http://svn.automattic.com/wordpress/trunk@3091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 16:31:24 +00:00
ryan
9ba3193309 Fix [3074] commit so that draft->publish transitions up date the timestamp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 00:00:26 +00:00
matt
e13b370b3d Mystery of the disappearing post solved, fixes #1879
git-svn-id: http://svn.automattic.com/wordpress/trunk@3089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 23:28:10 +00:00
ryan
a3a84d2957 Flush the cache before installing. fixes #1877
git-svn-id: http://svn.automattic.com/wordpress/trunk@3088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 22:32:03 +00:00
ryan
08fea3c335 Implement wp_cache_flush().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 22:10:28 +00:00
ryan
60d04abb0c Avoid infinite recursion when expiring cache. fixes #1875
git-svn-id: http://svn.automattic.com/wordpress/trunk@3086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 21:29:30 +00:00
matt
50cc9f757b Don't die on me now! Fixes #1631
git-svn-id: http://svn.automattic.com/wordpress/trunk@3083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 10:21:39 +00:00
matt
886de0616c Allow modified, fixes #1651
git-svn-id: http://svn.automattic.com/wordpress/trunk@3080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 10:12:22 +00:00
matt
682ad94a9f Follow standards in Pingback - fixes #1668
git-svn-id: http://svn.automattic.com/wordpress/trunk@3078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 10:08:12 +00:00
matt
f059c4f049 Fixes #1837 timestamp funkiness
git-svn-id: http://svn.automattic.com/wordpress/trunk@3074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 09:56:41 +00:00
matt
4f0edc7878 Reverse that cleanup, there is reason in the madness ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@3071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 09:08:27 +00:00
matt
f1951d856a Small cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 08:51:04 +00:00
ryan
f6fd138e51 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: http://svn.automattic.com/wordpress/trunk@3067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 06:51:09 +00:00
matt
46d3b062a9 Silly thumbnail files
git-svn-id: http://svn.automattic.com/wordpress/trunk@3066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 03:08:08 +00:00
matt
1301fdf266 More accessible comment links
git-svn-id: http://svn.automattic.com/wordpress/trunk@3065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 03:06:52 +00:00
matt
8591106e59 More eol-style: native
git-svn-id: http://svn.automattic.com/wordpress/trunk@3062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 04:43:57 +00:00
matt
fe1e8af589 Don't allow newlines in redirects
git-svn-id: http://svn.automattic.com/wordpress/trunk@3060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 04:38:56 +00:00
matt
d3d3e45cf7 Add error function back, fixes #1446
git-svn-id: http://svn.automattic.com/wordpress/trunk@3057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 02:54:49 +00:00
matt
dd67f966fb Account for more letter entities, fixes #1431
git-svn-id: http://svn.automattic.com/wordpress/trunk@3056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 02:48:35 +00:00
matt
9187979859 Moderation and comment_author_link, fixes #1019
git-svn-id: http://svn.automattic.com/wordpress/trunk@3055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 02:45:53 +00:00
ryan
3f20184aa3 Cleanup options save.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-12 09:36:20 +00:00
ryan
0c2c997bab Don't use hard query. Remove unneeded line. fixes #1858
git-svn-id: http://svn.automattic.com/wordpress/trunk@3052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:24:09 +00:00
matt
62b08c17be Missing stripslashes - fixes #1793
git-svn-id: http://svn.automattic.com/wordpress/trunk@3049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:16:26 +00:00
matt
2b47bd4e9d Missed a line, fixes #1593
git-svn-id: http://svn.automattic.com/wordpress/trunk@3048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:00:06 +00:00
matt
cfa85af2d8 Call nocache_headers for logged in users
git-svn-id: http://svn.automattic.com/wordpress/trunk@3047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:44:41 +00:00
matt
41775561d5 Add HTTPS support, fixes #1372
git-svn-id: http://svn.automattic.com/wordpress/trunk@3041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:21:28 +00:00
matt
89bbb5bb21 Eliminating query and vars now that we have category_count in DB
git-svn-id: http://svn.automattic.com/wordpress/trunk@3039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:03:13 +00:00
ryan
2a94c54ff7 Don't loop over empty list. Props skippy. fixes #1467
git-svn-id: http://svn.automattic.com/wordpress/trunk@3038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 00:55:31 +00:00
ryan
42f144b4d9 Add author support to wp_title(). Props graeme. fixes #1615
git-svn-id: http://svn.automattic.com/wordpress/trunk@3037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 00:48:31 +00:00
matt
98945dd8b4 Use reply-to instead of from to stop acting spammy - fixes #1593
git-svn-id: http://svn.automattic.com/wordpress/trunk@3035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 00:07:39 +00:00
ryan
c42cbf7d09 Highlight current class. Props amanzi and skippy. fixes #1800
git-svn-id: http://svn.automattic.com/wordpress/trunk@3033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 23:42:56 +00:00
matt
f67be7f30f Don't notify your own comments, fixes #1670
git-svn-id: http://svn.automattic.com/wordpress/trunk@3031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 23:31:58 +00:00
ryan
833f1cca4e Template functions for getting the post's modified time from error and Mark Jaquith. fixes #1836
git-svn-id: http://svn.automattic.com/wordpress/trunk@3030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 23:31:30 +00:00
ryan
03567e7d88 Return false if we don't find the option.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 20:59:20 +00:00
ryan
d2fec03493 Fix commit gone wild.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 21:30:40 +00:00
matt
dace166de0 Missing semi, also fixes #1599
git-svn-id: http://svn.automattic.com/wordpress/trunk@3025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 21:01:24 +00:00
matt
9ada34a5ae Should fix #1599 for IIS blogs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 20:58:58 +00:00
ryan
8e154dc493 Options fixes from donncha. fixes #1859
git-svn-id: http://svn.automattic.com/wordpress/trunk@3023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 18:15:55 +00:00
ryan
3a088cfaf1 Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 11:17:33 +00:00
ryan
6f54ba207a Add cache expiration. Cache requests for non-existant options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 11:10:34 +00:00
ryan
a656505563 TinyMCE accesskeys from skeltoac. fixes #1854
git-svn-id: http://svn.automattic.com/wordpress/trunk@3020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 08:44:48 +00:00
ryan
f49dbd725d Hide serialized object data in comment blocks within .php files. Props ringmaster. fixes #1857
git-svn-id: http://svn.automattic.com/wordpress/trunk@3019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 02:38:17 +00:00
ryan
13cff25d99 Oops. Comment out stats dump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-08 22:28:45 +00:00