Commit Graph

947 Commits

Author SHA1 Message Date
Matt Mullenweg
ae46b3819f User-generated rel attributes shouldn't be allowed in comments (doesn't make sense for any current uses of rel.)
git-svn-id: https://develop.svn.wordpress.org/trunk@2116 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 07:53:02 +00:00
Ryan Boren
3cb2f62076 Add more rewrite rule filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@2115 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 05:10:13 +00:00
Ryan Boren
8648c9bb7b Fix whitelist. Bug 664.
git-svn-id: https://develop.svn.wordpress.org/trunk@2114 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 03:33:13 +00:00
Ryan Boren
41709858cf Filter category description. Bug 727. Hat tip: dmclark
git-svn-id: https://develop.svn.wordpress.org/trunk@2113 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 03:06:56 +00:00
Ryan Boren
11d220ba2f Used the filtered vars, not the unfiltered ones. Bug 641.
git-svn-id: https://develop.svn.wordpress.org/trunk@2112 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 02:55:35 +00:00
Ryan Boren
4fe4ec5c05 Pass $d from comment_time() to get_comment_time(). Bug 724. Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2111 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 00:38:04 +00:00
Ryan Boren
39baae5246 wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
git-svn-id: https://develop.svn.wordpress.org/trunk@2107 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 04:56:24 +00:00
Ryan Boren
e693c815d3 Deprecate start_wp(). Move start_wp functionality to setup_postdata(). Add the_post() method to WP_Query.
git-svn-id: https://develop.svn.wordpress.org/trunk@2104 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-19 02:21:36 +00:00
Matt Mullenweg
51ac4da63e http://mosquito.wordpress.org/view.php?id=708 - Patch from Owen Winkler allowing XML-RPC library to call classes without extending the base class.
git-svn-id: https://develop.svn.wordpress.org/trunk@2103 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-18 06:12:23 +00:00
Ryan Boren
871e575d73 Fix $id arg processing for get_the_title(). Also, mark "Protected:" for translation. Bug 706. Props: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2099 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-17 20:16:22 +00:00
Ryan Boren
adf9a63fc8 Use str_repeat instead of array_fill. Bug 695. Patch from gbhugo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2098 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-15 15:51:31 +00:00
Matt Mullenweg
7577e661b5 http://mosquito.wordpress.org/view.php?id=684
git-svn-id: https://develop.svn.wordpress.org/trunk@2097 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-15 01:07:53 +00:00
Ryan Boren
04b4729e6e Add the_permalink filter. Bug 693. Props: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2094 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 23:43:20 +00:00
Ryan Boren
ed1c204a4a wp_list_pages() using wrong time/date fields. Bug 680.
git-svn-id: https://develop.svn.wordpress.org/trunk@2092 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 23:06:12 +00:00
Ryan Boren
f4bb37f16b Fix call to join. Bug 658. Hat tip: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2091 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 23:01:21 +00:00
Matt Mullenweg
5f52d2717d Check everything for entities.
git-svn-id: https://develop.svn.wordpress.org/trunk@2085 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 22:42:09 +00:00
Matt Mullenweg
2e5a49bea1 http://mosquito.wordpress.org/view.php?id=668
git-svn-id: https://develop.svn.wordpress.org/trunk@2082 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 18:47:07 +00:00
Donncha O Caoimh
33b00f6c71 removed images from enclosure scanning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2081 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 17:07:54 +00:00
Matt Mullenweg
85cca48589 Whitelist trackbacks and pingbacks from domains in blogroll.
git-svn-id: https://develop.svn.wordpress.org/trunk@2077 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 23:21:42 +00:00
Matt Mullenweg
063ab31a4f Add more hooks into commenting.
git-svn-id: https://develop.svn.wordpress.org/trunk@2076 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 20:26:10 +00:00
Matt Mullenweg
3696312ac7 Spam tastes great, we should eat more of it. Add 'spam' approval value, and basic blacklist.
git-svn-id: https://develop.svn.wordpress.org/trunk@2075 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-10 20:21:06 +00:00
Ryan Boren
cf5e38acb6 Fix post time display. Bug 636.
git-svn-id: https://develop.svn.wordpress.org/trunk@2071 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-09 02:40:06 +00:00
Matt Mullenweg
7e8f96ac46 Some feed template function cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2068 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 22:01:59 +00:00
Matt Mullenweg
6424a1893f http://mosquito.wordpress.org/view.php?id=252
git-svn-id: https://develop.svn.wordpress.org/trunk@2066 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:29:49 +00:00
Matt Mullenweg
1eb6a8e91d http://mosquito.wordpress.org/view.php?id=608
git-svn-id: https://develop.svn.wordpress.org/trunk@2064 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:21:12 +00:00
Matt Mullenweg
6ca2c31abd http://mosquito.wordpress.org/view.php?id=521
git-svn-id: https://develop.svn.wordpress.org/trunk@2062 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 01:11:51 +00:00
Matt Mullenweg
a4083cd938 Some cleanup patches from Scott: http://www.coffee2code.com/archives/2005/01/06/walking-with-15/
git-svn-id: https://develop.svn.wordpress.org/trunk@2060 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 23:10:28 +00:00
Matt Mullenweg
00d285d0dd Cleaning up filters and format-to-post
git-svn-id: https://develop.svn.wordpress.org/trunk@2059 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 22:51:44 +00:00
Matt Mullenweg
8841601ea6 Patch for balanceTags from Scott Reilly: http://mosquito.wordpress.org/view.php?id=53
git-svn-id: https://develop.svn.wordpress.org/trunk@2057 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 10:24:11 +00:00
Matt Mullenweg
a80371dc20 Don't muddy <pre> pool
git-svn-id: https://develop.svn.wordpress.org/trunk@2056 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 10:10:55 +00:00
Matt Mullenweg
5d67f3b75b Don't cache serialized options.
git-svn-id: https://develop.svn.wordpress.org/trunk@2055 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 10:07:52 +00:00
Matt Mullenweg
21bf536e4e Proper linebreak in moderation email.
git-svn-id: https://develop.svn.wordpress.org/trunk@2054 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 09:58:23 +00:00
Matt Mullenweg
fcb910cb67 Bad link in snoopy class.
git-svn-id: https://develop.svn.wordpress.org/trunk@2053 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 09:53:40 +00:00
Ryan Boren
785835599e Add preprocess_comment filter to enable filtering all comment data in one go. Patch from MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@2048 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-05 21:11:42 +00:00
Ryan Boren
cecd758d0f Feed fixes from MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@2046 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-04 23:30:10 +00:00
Ryan Boren
0f3886534d Keep it separated.
git-svn-id: https://develop.svn.wordpress.org/trunk@2045 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-04 23:29:13 +00:00
Ryan Boren
6bbc7fe7a0 Remove % from title before utf8 uri encoding is done.
git-svn-id: https://develop.svn.wordpress.org/trunk@2036 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 09:08:55 +00:00
Ryan Boren
2cb1f36df9 Use new default theme path.
git-svn-id: https://develop.svn.wordpress.org/trunk@2033 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 02:50:03 +00:00
Ryan Boren
4b217b7022 Relocate default theme to themes/default. Remove special casing of default theme. Do not look directly in wp-content/ for default theme files. Simplify, simplify.
git-svn-id: https://develop.svn.wordpress.org/trunk@2032 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 02:47:45 +00:00
Matt Mullenweg
0717e39156 When deleting a page level up all children.
git-svn-id: https://develop.svn.wordpress.org/trunk@2030 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 23:13:38 +00:00
Matt Mullenweg
c136a2ad21 Sub-page hierarchy, show pages on default menu. TODO: Ping Michael about top-level pages in kubrick menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@2029 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 23:05:07 +00:00
Matt Mullenweg
df201019ca Added check if Snoopy exists, and two fairly major bugs in the dashboard. update_option was not serializing objects and $cache->get() wasn't checking for the correct option name.
git-svn-id: https://develop.svn.wordpress.org/trunk@2027 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 22:09:08 +00:00
Ryan Boren
5a9ead8b0f Add rewind_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@2026 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-31 21:49:48 +00:00
Ryan Boren
4553f8cef0 Use load_template().
git-svn-id: https://develop.svn.wordpress.org/trunk@2023 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 21:58:01 +00:00
Ryan Boren
a7c5546375 Add get_pages(). Improve wp_list_pages(). Props: Adi Sieker and Chris Waigl.
git-svn-id: https://develop.svn.wordpress.org/trunk@2022 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 19:41:14 +00:00
Ryan Boren
5b811de7b8 Fix comments-popup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2021 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 19:35:57 +00:00
michelvaldrighi
c5f6ac8cc4 fixed bad b2 mistakes: zeroise is really a glorified sprintf; funky_javascript_fix was only needed for Gecko because of bad Apaches running with AddDefaultCharset On, and the fixes for Gecko weren't even accurate
git-svn-id: https://develop.svn.wordpress.org/trunk@2018 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 17:34:27 +00:00
Matt Mullenweg
68f1ba5deb Move inside for better clearing and such.
git-svn-id: https://develop.svn.wordpress.org/trunk@2015 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 11:27:33 +00:00
Matt Mullenweg
7c40637bb3 It's that time :)
git-svn-id: https://develop.svn.wordpress.org/trunk@2014 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 11:25:56 +00:00
Matt Mullenweg
16bd00dfa0 Don't leave in debugging code (it's late)
git-svn-id: https://develop.svn.wordpress.org/trunk@2011 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 11:10:00 +00:00
Matt Mullenweg
4502d745cf Typo typo
git-svn-id: https://develop.svn.wordpress.org/trunk@2010 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 11:08:42 +00:00
Matt Mullenweg
7c3debb42a Moving default template stuff into wp-includes, uncluttering root
git-svn-id: https://develop.svn.wordpress.org/trunk@2009 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 10:58:06 +00:00
Matt Mullenweg
7a8c7eb2e3 Make work with https URIs
git-svn-id: https://develop.svn.wordpress.org/trunk@2008 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-28 20:28:57 +00:00
Ryan Boren
fe196958e6 If $p evaluates to zero, ignore it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2007 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-28 17:36:28 +00:00
Ryan Boren
8662dfbc33 Leave htaccess alone if permalinks are not turned on. Bug 597.
git-svn-id: https://develop.svn.wordpress.org/trunk@2006 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-27 22:30:52 +00:00
Ryan Boren
ef5346f4bf Add is_admin flag. Do not set is_home if is_admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@2003 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-26 16:37:55 +00:00
Ryan Boren
10d81f7d37 Fix single quote sanitization. Bug 594. Hat Tip: bcrow.
git-svn-id: https://develop.svn.wordpress.org/trunk@2001 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-25 17:21:43 +00:00
Ryan Boren
1e15c95646 Add post_where_paged and post_join_paged filter hooks. Move posts_where and posts_join before the paging queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@2000 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-25 00:32:50 +00:00
Ryan Boren
2186a59149 Fix href quoting. Bug 532. Hat Tip: MooKitty.
git-svn-id: https://develop.svn.wordpress.org/trunk@1999 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 21:00:06 +00:00
Matt Mullenweg
3ebf5a36e2 Cleaning up blogfilename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1997 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 01:34:47 +00:00
Matt Mullenweg
c12f7caf57 Have get_function return unadulterated data
git-svn-id: https://develop.svn.wordpress.org/trunk@1996 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-23 21:52:09 +00:00
Matt Mullenweg
978063ce7c Clean up global ideas from michel_v
git-svn-id: https://develop.svn.wordpress.org/trunk@1994 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-23 00:08:43 +00:00
michelvaldrighi
7092499610 typo id -> comment_id made WP make one extra query per post
git-svn-id: https://develop.svn.wordpress.org/trunk@1992 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-22 14:36:26 +00:00
michelvaldrighi
ea09591ef3 get_userdata should not ask for data when userid is 0 (why does it get called like that anyway?)
git-svn-id: https://develop.svn.wordpress.org/trunk@1991 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-22 14:32:25 +00:00
Matt Mullenweg
6653d4bf0c Validation fix in retrospam
git-svn-id: https://develop.svn.wordpress.org/trunk@1986 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-20 17:10:15 +00:00
Ryan Boren
4dd9d7eebb Remove percent signs from slugs. PAtch from MooKitty. Bug 569.
git-svn-id: https://develop.svn.wordpress.org/trunk@1984 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-20 06:35:54 +00:00
Matt Mullenweg
f5a244747e Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: https://develop.svn.wordpress.org/trunk@1983 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 18:43:45 +00:00
Matt Mullenweg
37da98059e Bug fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1980 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 07:26:43 +00:00
Matt Mullenweg
17234ff3f1 New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
git-svn-id: https://develop.svn.wordpress.org/trunk@1979 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 02:30:40 +00:00
Matt Mullenweg
960463fdee First pass at dashboard. Hat tip: Jesuit.
git-svn-id: https://develop.svn.wordpress.org/trunk@1976 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 00:10:10 +00:00
Matt Mullenweg
e535a6b7af Some code cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1974 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 20:56:26 +00:00
Ryan Boren
09d522246e Add generate_rewrite_rule().
git-svn-id: https://develop.svn.wordpress.org/trunk@1973 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 19:40:02 +00:00
Ryan Boren
0971447cf6 Rework query precedence for bug 541. Add is_trackback().
git-svn-id: https://develop.svn.wordpress.org/trunk@1972 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 00:28:24 +00:00
Matt Mullenweg
455abe8ff1 Comment notification fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1970 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-17 10:25:00 +00:00
Matt Mullenweg
413186855c http://mosquito.wordpress.org/view.php?id=556
git-svn-id: https://develop.svn.wordpress.org/trunk@1969 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-17 08:48:30 +00:00
Ryan Boren
59c3fe5b65 Fix include of comment-functions.php. Bug 554.
git-svn-id: https://develop.svn.wordpress.org/trunk@1967 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 23:18:15 +00:00
Ryan Boren
8515151df6 Improved wp_list_pages() from Adi Sieker.
git-svn-id: https://develop.svn.wordpress.org/trunk@1966 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 08:02:53 +00:00
Matt Mullenweg
48513d6d70 Let's get_ down
git-svn-id: https://develop.svn.wordpress.org/trunk@1965 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 03:08:07 +00:00
Matt Mullenweg
b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Ryan Boren
592eae2cdd the_/get_the_ split. Patch from Owen Taylor.
git-svn-id: https://develop.svn.wordpress.org/trunk@1962 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 23:15:17 +00:00
Ryan Boren
da74b3654f Fix comments popup template load. Bug 545.
git-svn-id: https://develop.svn.wordpress.org/trunk@1960 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 02:03:08 +00:00
Ryan Boren
fc51a741e7 Fix date permalinks. Bug 539.
git-svn-id: https://develop.svn.wordpress.org/trunk@1959 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-15 01:23:38 +00:00
Matt Mullenweg
bc1f03b72f Texturize bloginfo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1952 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 09:10:34 +00:00
Matt Mullenweg
59d1012c9d Move all auth stuff into functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1947 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 03:00:55 +00:00
Ryan Boren
92dd459497 Add filter hook for locale string.
git-svn-id: https://develop.svn.wordpress.org/trunk@1941 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-13 04:39:26 +00:00
Matt Mullenweg
953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Ryan Boren
cf66c440de get_author_permastruct()
git-svn-id: https://develop.svn.wordpress.org/trunk@1933 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 02:40:35 +00:00
Matt Mullenweg
28080bcaae Related to: http://mosquito.wordpress.org/view.php?id=225
Allow optiondates to be a PHP date() formatted timestamp, maintains backward compatibility.


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


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


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


git-svn-id: https://develop.svn.wordpress.org/trunk@1678 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 10:26:34 +00:00
michelvaldrighi
fa94dfa448 now that we have a new pingback server in wp-admin/xmlrpc.php, let's advertise it
git-svn-id: https://develop.svn.wordpress.org/trunk@1677 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 09:27:04 +00:00
michelvaldrighi
be784a3f52 letting IXR take care of URI parsing, while leaving the old way to call weblog_ping possible
git-svn-id: https://develop.svn.wordpress.org/trunk@1676 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 08:39:12 +00:00
michelvaldrighi
0d2f304c8b replaced old weblog_ping with new IXR-based weblog_ping
git-svn-id: https://develop.svn.wordpress.org/trunk@1674 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 17:08:56 +00:00
michelvaldrighi
d1d60768cc added timeout and vendor parameters to IXR_Client, could be very useful for weblog_pings
git-svn-id: https://develop.svn.wordpress.org/trunk@1673 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 17:07:59 +00:00
michelvaldrighi
8f164348c6 support for comment_type, while we move away from <*back /> stuff
git-svn-id: https://develop.svn.wordpress.org/trunk@1669 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 13:15:07 +00:00
Matt Mullenweg
5b73909f79 Don't forget to strip
git-svn-id: https://develop.svn.wordpress.org/trunk@1665 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 01:08:50 +00:00
Matt Mullenweg
3776531128 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1664 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 15:09:39 +00:00
Ryan Boren
c3ad9d60cf Make $pagenow work with PATH_INFO.
git-svn-id: https://develop.svn.wordpress.org/trunk@1663 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 08:16:58 +00:00
Ryan Boren
3d0c99e58c Mark "more" link text for translation, just for grins. Bug 119.
git-svn-id: https://develop.svn.wordpress.org/trunk@1661 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 03:37:44 +00:00
Ryan Boren
c4a4ee4dff Make comments_template() theme aware.
git-svn-id: https://develop.svn.wordpress.org/trunk@1660 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 02:50:29 +00:00
Ryan Boren
5980b30da1 If the query is for a page, make sure single is false.
git-svn-id: https://develop.svn.wordpress.org/trunk@1645 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 06:56:13 +00:00
Ryan Boren
d6463ce6a6 Use stylesheet_url from bloginfo().
git-svn-id: https://develop.svn.wordpress.org/trunk@1639 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-12 20:30:49 +00:00
Ryan Boren
ddf9be9ef1 Themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1638 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-11 16:12:40 +00:00
Matt Mullenweg
3bfd308dc6 Timeout changes. Hat tip: Michael Dale.
git-svn-id: https://develop.svn.wordpress.org/trunk@1637 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 10:55:44 +00:00
Ryan Boren
ebcdb0990e Incorporate utf8_uri_encode() in sanitize_title(). Improve UTF-8 accented character decomposition in remove_accents().
git-svn-id: https://develop.svn.wordpress.org/trunk@1636 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 08:36:54 +00:00
Ryan Boren
08f8a3d0eb get_pagenum_link() tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1635 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 07:03:40 +00:00
Ryan Boren
3c7fe8a8d0 Allow the calendar start of week to be provisioned. get_calendar() patch from rq. Bug 32.
git-svn-id: https://develop.svn.wordpress.org/trunk@1632 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 23:07:46 +00:00
michelvaldrighi
54cf4d7e78 ugh, no wonder the new xmlrpc wouldn't post anything
git-svn-id: https://develop.svn.wordpress.org/trunk@1630 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 15:54:03 +00:00
Ryan Boren
bce7d33025 Use get_query_var() to get cat and name so that we pick up any processing done on them by the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1629 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-09 03:45:51 +00:00
Matt Mullenweg
adf3e5d380 Some named entities have numbers.
git-svn-id: https://develop.svn.wordpress.org/trunk@1623 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:48:36 +00:00
Matt Mullenweg
f0edc5ccf7 Retrospam check from Kitten
git-svn-id: https://develop.svn.wordpress.org/trunk@1620 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 08:17:53 +00:00
Ryan Boren
4e7e0194b5 Paging by days fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1618 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-08 00:02:53 +00:00
Matt Mullenweg
31ed310727 Trackback fix from Michael Dale.
git-svn-id: https://develop.svn.wordpress.org/trunk@1617 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 03:15:48 +00:00
Matt Mullenweg
bee9686570 Move trackbacks to new comment function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1616 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 02:34:12 +00:00
Ryan Boren
122631f99e Apache 1.3 does not support the reluctant (non-greedy) expression modifier. Remove the modifier when outputting mod_rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@1615 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-07 00:01:19 +00:00
Ryan Boren
6a98ee3737 New page by day code from Sebastian Herp.
git-svn-id: https://develop.svn.wordpress.org/trunk@1614 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-06 20:03:16 +00:00
Ryan Boren
3d451b067e Add missing join to page by day query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1613 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-06 03:03:08 +00:00
Ryan Boren
7ec1b62a42 Remove left over debug output.
git-svn-id: https://develop.svn.wordpress.org/trunk@1611 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 20:06:01 +00:00
Ryan Boren
24fd61e7fc Improve paging by days. Retabify source.
git-svn-id: https://develop.svn.wordpress.org/trunk@1610 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 20:00:09 +00:00
Matt Mullenweg
0ed9084d7d Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: https://develop.svn.wordpress.org/trunk@1605 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:41:01 +00:00
Matt Mullenweg
bf70fc82bd Set GUID when posting.
git-svn-id: https://develop.svn.wordpress.org/trunk@1604 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:03:51 +00:00
Matt Mullenweg
94c29fd51e Track and check user agent for comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@1603 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:50:39 +00:00
Matt Mullenweg
173f2cd3e6 Install and upgrade refactoring complete.
git-svn-id: https://develop.svn.wordpress.org/trunk@1601 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 01:22:17 +00:00
Matt Mullenweg
42be6523f2 Version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@1600 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:31:23 +00:00
Matt Mullenweg
6b0bcbf2f5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +00:00
Matt Mullenweg
9c1d725609 Remove optiongroup_options table.
git-svn-id: https://develop.svn.wordpress.org/trunk@1597 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 22:15:46 +00:00
Matt Mullenweg
1173ae6867 Texturize fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@1592 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 20:47:52 +00:00
Ryan Boren
68246928c2 Fix for bug 250: Metaweblog API discards comment_status and ping_status.
git-svn-id: https://develop.svn.wordpress.org/trunk@1589 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-04 06:44:58 +00:00
Ryan Boren
40a13971f9 Return post ID from generic_ping(). Bug 229.
git-svn-id: https://develop.svn.wordpress.org/trunk@1586 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 20:33:15 +00:00
Ryan Boren
0ef4844be2 More permissive, i18n friendly regexs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1585 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 20:22:23 +00:00
Ryan Boren
1e61535580 Send Geo Url Header only if use_geo_positions is set. Bug 242. Patch from 2fargon.
git-svn-id: https://develop.svn.wordpress.org/trunk@1584 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 04:29:11 +00:00
Ryan Boren
09754a9dbc Add missing quotes. Bug 0000254.
git-svn-id: https://develop.svn.wordpress.org/trunk@1582 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-03 04:03:55 +00:00
Matt Mullenweg
6e1c571490 Vanquishing the terror of iso-8859-1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1575 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-30 07:16:40 +00:00
Matt Mullenweg
d89603ce20 Improved autolink function. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000236
git-svn-id: https://develop.svn.wordpress.org/trunk@1571 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-28 08:40:13 +00:00
Ryan Boren
b9fc57acbc 404 permalink handler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1570 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 20:59:38 +00:00
michelvaldrighi
d69d080abc added very basic timezone support to IXR_Date
git-svn-id: https://develop.svn.wordpress.org/trunk@1564 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-26 12:40:48 +00:00
michelvaldrighi
e9cbd77e2e added user_can_edit_post and user_can_delete_post
git-svn-id: https://develop.svn.wordpress.org/trunk@1561 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-25 15:12:10 +00:00
michelvaldrighi
4d37021dd5 whoops, typo in trackback_url_list
git-svn-id: https://develop.svn.wordpress.org/trunk@1560 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-25 14:22:39 +00:00
Ryan Boren
8da2215076 Template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1558 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 08:43:01 +00:00
Ryan Boren
6c12d408ec Add previous_post_link() and next_post_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1557 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:35:57 +00:00
Ryan Boren
046c5333e8 Add is_year(), is_month(), is_day(), is_time().
git-svn-id: https://develop.svn.wordpress.org/trunk@1556 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:24:48 +00:00
Ryan Boren
a1d2b2eb86 Fix a path info paging bug. Add using_mod_rewrite().
git-svn-id: https://develop.svn.wordpress.org/trunk@1555 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 23:28:14 +00:00
Matt Mullenweg
230d603f6d Missing table block elements from arnau siches
git-svn-id: https://develop.svn.wordpress.org/trunk@1554 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 09:07:07 +00:00
Matt Mullenweg
46c39cd718 Escape from slashville
git-svn-id: https://develop.svn.wordpress.org/trunk@1545 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-21 01:50:59 +00:00
Matt Mullenweg
f5b015ecd3 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1544 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-20 17:56:51 +00:00
Matt Mullenweg
13b77cd51b Some profiling info in $wpdb optionally.
git-svn-id: https://develop.svn.wordpress.org/trunk@1543 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-20 17:52:49 +00:00
Ryan Boren
218841c9c2 Search permalinks complete with feed and paging support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1540 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-18 21:05:34 +00:00
Ryan Boren
2c75118680 Use is_single().
git-svn-id: https://develop.svn.wordpress.org/trunk@1537 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-17 02:29:37 +00:00
Ryan Boren
3db73193ef Paging cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@1536 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-16 22:50:06 +00:00
Ryan Boren
ee416fcdc2 Complete support for %author% in post permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1534 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 17:29:09 +00:00
Ryan Boren
38088a0503 Use sanitize_title() to process post, page, author, and category names in the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@1533 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 16:08:57 +00:00
Ryan Boren
f43f503c7e Add lost return to get_permalink().
git-svn-id: https://develop.svn.wordpress.org/trunk@1532 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-13 15:00:45 +00:00
Ryan Boren
01b53facab Add pagename query var.
git-svn-id: https://develop.svn.wordpress.org/trunk@1531 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-11 01:55:34 +00:00
Ryan Boren
ec57c1a114 Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:35:59 +00:00
Matt Mullenweg
aaac167408 Type.
git-svn-id: https://develop.svn.wordpress.org/trunk@1525 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 09:06:49 +00:00
Matt Mullenweg
c98f01f8db Some login functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1524 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 08:29:51 +00:00
Matt Mullenweg
a71c9d98f2 Don't need the 1=1
git-svn-id: https://develop.svn.wordpress.org/trunk@1523 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-09 07:54:23 +00:00
Ryan Boren
9f2cd5bc27 Gracefully handle multiple <!--more> tags. From Scott Reilly (coffee2code). Bug 0000113.
git-svn-id: https://develop.svn.wordpress.org/trunk@1519 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 20:22:29 +00:00
Ryan Boren
3c161591e7 Hack to make day initials unique for translation. Ugly, but it works. Bug 0000010.
git-svn-id: https://develop.svn.wordpress.org/trunk@1518 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 18:54:34 +00:00
Ryan Boren
3dc8c1dabe Add get_query_var() wrapper for $wp_query->get().
git-svn-id: https://develop.svn.wordpress.org/trunk@1517 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 16:47:22 +00:00
Ryan Boren
cf3a6080bd WP Query class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1516 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 15:31:50 +00:00
Ryan Boren
debef5a642 Fix get_pagenum_link() to work with path info permalinks and permalinks without trailing slashes. Bug 0002040.
git-svn-id: https://develop.svn.wordpress.org/trunk@1514 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-07 18:12:54 +00:00
Matt Mullenweg
fed106eb57 Define COOKIEHASH and new get_profile function. TODO: re-org function soup
git-svn-id: https://develop.svn.wordpress.org/trunk@1513 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-07 01:22:17 +00:00
Ryan Boren
32bd9e6ac7 In sanitize_title(), strip_tags() before sanitizing, not after. In post.php, if post name is empty, pass the post title to the sanitizer.
git-svn-id: https://develop.svn.wordpress.org/trunk@1512 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-06 01:28:51 +00:00
Ryan Boren
1163f6fcc5 Fix localization of next month link in get_calendar. Bug 0000201.
git-svn-id: https://develop.svn.wordpress.org/trunk@1508 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-03 21:59:29 +00:00
Ryan Boren
0f49ccc3d3 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: https://develop.svn.wordpress.org/trunk@1500 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-29 03:34:08 +00:00
Ryan Boren
49d3ad1d06 Oops. Add ENT_QUOTES.
git-svn-id: https://develop.svn.wordpress.org/trunk@1498 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 23:13:01 +00:00
Ryan Boren
52ae977992 Run htmlspecialchars on title attribute text in get_archives_link(). Bug 0000162.
git-svn-id: https://develop.svn.wordpress.org/trunk@1497 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 23:09:33 +00:00
Ryan Boren
77614fa3e1 Fix wp_title() display of category_name.
git-svn-id: https://develop.svn.wordpress.org/trunk@1492 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 03:30:15 +00:00
Ryan Boren
fdaf705b04 Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.
git-svn-id: https://develop.svn.wordpress.org/trunk@1491 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 02:43:54 +00:00
Ryan Boren
d605d2aa6f Fix for 0000190. Do not set the category query state to true if single, date, or search are true.
git-svn-id: https://develop.svn.wordpress.org/trunk@1490 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 01:59:29 +00:00
Ryan Boren
483dfd5388 Write rewrite rules to .htacces if .htaccess is writable. Create .htaccess if it does not exist and the directory is writable. Props to Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1489 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 23:37:45 +00:00
Ryan Boren
5cf4b39065 strip_tags from title in sanitize_title(). Patch from Masquerade for bugs 0000181 and 00000107.
git-svn-id: https://develop.svn.wordpress.org/trunk@1488 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 15:12:18 +00:00
Ryan Boren
685eeb94f9 Quote $id in get_the_category() db query. Patch from MCincubus for bug 0000191.
git-svn-id: https://develop.svn.wordpress.org/trunk@1486 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 14:58:30 +00:00
Ryan Boren
68f755f608 If the sanitized title is empty, fallback to the post ID for the nicename. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000116
git-svn-id: https://develop.svn.wordpress.org/trunk@1481 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-24 03:22:49 +00:00
Matt Mullenweg
4143fbe12c Whoops!
git-svn-id: https://develop.svn.wordpress.org/trunk@1480 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 09:26:37 +00:00
Matt Mullenweg
2d87b95f69 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@1479 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 09:17:14 +00:00
Matt Mullenweg
30de863dfd Options system can now transparently handle arrays and objects.
git-svn-id: https://develop.svn.wordpress.org/trunk@1478 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 09:14:30 +00:00
Matt Mullenweg
80bf1b51a4 Improved error messages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1475 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-23 01:35:56 +00:00
Ryan Boren
999d760f6c Add rewrite_rules_array filter point.
git-svn-id: https://develop.svn.wordpress.org/trunk@1466 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-15 23:29:41 +00:00
Ryan Boren
dc70d3501d Handle trackback URIs containing query strings. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000066
git-svn-id: https://develop.svn.wordpress.org/trunk@1461 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-13 17:52:47 +00:00
Matt Mullenweg
0b2b99ea65 Check for registration settings.
git-svn-id: https://develop.svn.wordpress.org/trunk@1460 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-12 06:24:08 +00:00
Matt Mullenweg
25095a256a A nicer meta bar.
git-svn-id: https://develop.svn.wordpress.org/trunk@1459 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-10 23:34:47 +00:00
Matt Mullenweg
3cba01120b Missing $before from Josh Kaufman-Horner and some code cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@1451 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-06 17:04:07 +00:00
Matt Mullenweg
61060a0668 Fine tune checking.
git-svn-id: https://develop.svn.wordpress.org/trunk@1450 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 21:54:10 +00:00
Ryan Boren
4c0a18c68e Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.
git-svn-id: https://develop.svn.wordpress.org/trunk@1449 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 15:31:49 +00:00
Ryan Boren
9fcaf1faad If the new value and old value are the same, do not update the option in update_option().
git-svn-id: https://develop.svn.wordpress.org/trunk@1446 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-24 01:00:31 +00:00
Ryan Boren
dc89a3d3a4 Add missing breaks to the_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@1444 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-22 01:42:24 +00:00
Ryan Boren
ed96c5e8c9 Add posts_where, the_posts, and query_string filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1443 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-20 22:36:45 +00:00
jverber
cb8c5d6273 Fixes for bugs #0000088-90: fixed encoding of special chars.
git-svn-id: https://develop.svn.wordpress.org/trunk@1438 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-19 04:23:59 +00:00
Ryan Boren
475e0b9e07 stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: https://develop.svn.wordpress.org/trunk@1435 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-18 00:22:09 +00:00
jverber
150265dd4e Fix for bug #0000062: calendar no longer highlights _today_ for previous years.
git-svn-id: https://develop.svn.wordpress.org/trunk@1430 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-16 15:45:44 +00:00
Ryan Boren
2ddf0582d4 Call update_post_caches() from within query_posts() and get_posts(). http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000046
git-svn-id: https://develop.svn.wordpress.org/trunk@1428 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-15 03:30:00 +00:00
michelvaldrighi
3b8afed11f rolling back the ob_gzhandler 'fix' because ob_get_status is php >4.1
git-svn-id: https://develop.svn.wordpress.org/trunk@1426 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 23:16:03 +00:00
michelvaldrighi
d596c91d88 send the blog's charset in trackbacks' Content-type
git-svn-id: https://develop.svn.wordpress.org/trunk@1425 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 22:43:27 +00:00
michelvaldrighi
0b280f5ca2 prevent double ob_gzhandler error
git-svn-id: https://develop.svn.wordpress.org/trunk@1424 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-14 22:42:43 +00:00
Ryan Boren
7c8e02accb Handle https URLs when manipulating COOKIEPATH. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000001
git-svn-id: https://develop.svn.wordpress.org/trunk@1415 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:34:26 +00:00
Ryan Boren
e95ed7fd5a Add comment_approved to commentdata. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000015
git-svn-id: https://develop.svn.wordpress.org/trunk@1413 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:03:59 +00:00
jverber
b8faed46d6 Changed (wp_)list_cats. children argument now determines if categories below top level are displayed, and hierarchical determines if the list is displayed hierarchically.
git-svn-id: https://develop.svn.wordpress.org/trunk@1412 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:01:01 +00:00
Matt Mullenweg
426d0b472a Ugly but works. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000014
git-svn-id: https://develop.svn.wordpress.org/trunk@1410 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 18:09:21 +00:00
Matt Mullenweg
e0ef0f1631 http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000013
git-svn-id: https://develop.svn.wordpress.org/trunk@1409 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 17:52:41 +00:00
Ryan Boren
9da4053c26 stripslashes() elimination.
git-svn-id: https://develop.svn.wordpress.org/trunk@1408 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 16:51:39 +00:00
Ryan Boren
e5e50fe714 Remove more stripslashes().
git-svn-id: https://develop.svn.wordpress.org/trunk@1406 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 08:11:49 +00:00
Ryan Boren
a5a67ec795 Get our slashes straight.
git-svn-id: https://develop.svn.wordpress.org/trunk@1405 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 08:02:40 +00:00
Matt Mullenweg
39541ea299 Gzip cleanup, debugged wacky options problem, some cleanup and reorg. We need to split up functions.php more logically, and kill some of the useless functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1404 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 10:01:45 +00:00
Matt Mullenweg
f1cdd2b2ff Needs to be inside of conditional.
git-svn-id: https://develop.svn.wordpress.org/trunk@1402 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 09:17:41 +00:00
Matt Mullenweg
6c97530035 Changes to options system and query improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1401 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:42:25 +00:00
Matt Mullenweg
feef0aee85 More comments and comment template improvements. TODO: popup comment template
git-svn-id: https://develop.svn.wordpress.org/trunk@1400 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:40:58 +00:00
Matt Mullenweg
a507894ed3 Move comments include into function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1398 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 07:42:48 +00:00
Ryan Boren
7f3d0a8af1 Global $m in wp_title() so that date archive titles are displayed correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@1396 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-09 20:35:58 +00:00
Ryan Boren
1935f7c897 Add back the trailing slash to paged permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1395 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 17:48:21 +00:00
Ryan Boren
25b507c295 Add null check to $functions in apply_filters(). http://www.kackreiz.net/wordpress.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1394 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 09:34:01 +00:00
Ryan Boren
78b413030f Fix links generated by link_pages() in next mode. http://www.kackreiz.net/wordpress.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1393 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 09:29:41 +00:00
Ryan Boren
5e0bb09d82 posts_nav_link fixes. http://wordpress.org/support/6/6979
git-svn-id: https://develop.svn.wordpress.org/trunk@1391 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-07 04:41:06 +00:00
Ryan Boren
650a1a3a56 Guard against empty $cat_counts array. http://wordpress.org/support/3/6080
git-svn-id: https://develop.svn.wordpress.org/trunk@1389 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 07:21:58 +00:00
Ryan Boren
44d532c6e3 Rewrite and %category% fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1388 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 02:02:27 +00:00
Ryan Boren
fe680a36a0 Add %category% support to get_permalink.
git-svn-id: https://develop.svn.wordpress.org/trunk@1385 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-04 02:36:46 +00:00
Matt Mullenweg
2146da7f5c Added consistant trailing slash.
git-svn-id: https://develop.svn.wordpress.org/trunk@1384 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 21:43:18 +00:00
Matt Mullenweg
4530008ec8 Fix for strange slash nav errors for paged nice links, and validation fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1383 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:44:43 +00:00
Ryan Boren
640004f5ca Make /feed/ and /comments/feed work with path info. Introduce get_feed_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1382 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:14:03 +00:00
Ryan Boren
98378de860 Rewrite rule fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1381 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 05:16:44 +00:00
Ryan Boren
b721c5b54f index.php now handles feeds and trackbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1376 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 23:35:32 +00:00
Ryan Boren
013c08307a Apply the list_cats filter to the cat name. Credit: Jaykul. http://wordpress.org/support/4/6242
git-svn-id: https://develop.svn.wordpress.org/trunk@1375 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 22:09:38 +00:00
Ryan Boren
a807cd1fad More rewrite rule refactoring. Move the permalink parser into generate_rewrite_rules() and make it handle categories and authors.
git-svn-id: https://develop.svn.wordpress.org/trunk@1374 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 21:34:00 +00:00
Ryan Boren
94732a5611 Revamp rewrite rule generation. Add clean page links. Credit to Jaykul for get_pagenum_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1373 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:22:25 +00:00
michelvaldrighi
bec01652c4 added iso8601 handling functions, to avoid ugly nasty conversions
git-svn-id: https://develop.svn.wordpress.org/trunk@1372 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:02:09 +00:00
Ryan Boren
035a6402d2 Fix up the_category_ID() and the_category_head() to maintain backwards compat. Mark as deprecated.
git-svn-id: https://develop.svn.wordpress.org/trunk@1368 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 21:19:37 +00:00
Dougal Campbell
1cb1a9bf7a Fixed check_comment() to ignore empty lines in moderation_keys.
git-svn-id: https://develop.svn.wordpress.org/trunk@1366 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 13:53:27 +00:00
Matt Mullenweg
9df4c2452a New hook for when comment status is changed.
git-svn-id: https://develop.svn.wordpress.org/trunk@1365 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-27 03:49:23 +00:00
Matt Mullenweg
499980672d Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@1362 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-26 05:07:14 +00:00
Matt Mullenweg
be058a1058 Fix for unencoded ampersands. When did we lose this?
git-svn-id: https://develop.svn.wordpress.org/trunk@1361 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-25 04:33:37 +00:00
Ryan Boren
5715b0880d Make $request global to satisfy the page navigation fxns.
git-svn-id: https://develop.svn.wordpress.org/trunk@1360 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-25 01:16:49 +00:00
Matt Mullenweg
717855f007 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
Ryan Boren
97d49f1923 Introducing query_posts(), update_post_caches(), update_user_cache(), and update_category_cache().
git-svn-id: https://develop.svn.wordpress.org/trunk@1354 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 02:55:39 +00:00
michelvaldrighi
0eee4cb011 relocated misc database-related functions
git-svn-id: https://develop.svn.wordpress.org/trunk@1353 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 01:34:57 +00:00
michelvaldrighi
39d6ffcb6b make xmlrpc_getpostcategory support multiple, comma-separated categories
git-svn-id: https://develop.svn.wordpress.org/trunk@1347 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-23 02:55:10 +00:00
michelvaldrighi
903f80b54c we shall use IXR instead of phpxmlrpc in the future -- so long, and thanks for all the xmlrpcval headaches
git-svn-id: https://develop.svn.wordpress.org/trunk@1346 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 16:44:45 +00:00
michelvaldrighi
c4d4add631 new remove_accents for sanitize_title, not relying on the file's charset
git-svn-id: https://develop.svn.wordpress.org/trunk@1345 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 14:34:09 +00:00
Matt Mullenweg
dd1c202d8b FINALLY.
git-svn-id: https://develop.svn.wordpress.org/trunk@1344 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-22 10:27:12 +00:00
michelvaldrighi
5ffeea8e7c strip leading and trailing dashes from post slugs
git-svn-id: https://develop.svn.wordpress.org/trunk@1336 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:35:16 +00:00
michelvaldrighi
63f7bf9723 backing out that encoding fix until further testing is done
git-svn-id: https://develop.svn.wordpress.org/trunk@1335 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:29:57 +00:00
michelvaldrighi
be29cd98fb removing removeaccents, will put replacement after a release is out
git-svn-id: https://develop.svn.wordpress.org/trunk@1334 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 21:05:17 +00:00
Ryan Boren
49bb2124c1 Add removeaccents for use in sanitize_title to remove accents from characters so that they can be used in permalinks. Bust the functionality in sanitize_title out into a replaceable filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@1333 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 08:37:55 +00:00
Ryan Boren
7be84af801 Require wp-config.php from wp-l10n.php to make sure WPLANG is always set.
git-svn-id: https://develop.svn.wordpress.org/trunk@1331 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 03:26:12 +00:00
Matt Mullenweg
ceb940bbe2 Support for MathML, from Jacques Distler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1329 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 17:25:26 +00:00
Dougal Campbell
7fbb072b49 Fixed list_cats support for hide_empty and optioncount. Also fixed indentation in that function.
git-svn-id: https://develop.svn.wordpress.org/trunk@1328 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-20 14:07:55 +00:00