Commit Graph

736 Commits

Author SHA1 Message Date
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