Commit Graph

864 Commits

Author SHA1 Message Date
saxmatt
10792f3274 More filters and KSES cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:29:18 +00:00
saxmatt
8d7769dd6b Typo in filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@2150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 20:35:13 +00:00
rboren
38a0c65a59 If a category has parents, include those parents when generating the post permalink (if the permalink contains %category%).
git-svn-id: http://svn.automattic.com/wordpress/trunk@2148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-25 05:01:54 +00:00
rboren
3166eee481 Remove old "site" page rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-25 00:57:14 +00:00
rboren
5bde51754d Generate feed and trackback rules for pages. Bug 742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-25 00:23:57 +00:00
saxmatt
86e48df4f7 Return comment even if blank.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 10:13:28 +00:00
saxmatt
150b28860c Fix for site-admin / register link - http://mosquito.wordpress.org/view.php?id=603
git-svn-id: http://svn.automattic.com/wordpress/trunk@2142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 10:06:53 +00:00
saxmatt
5da9bc9933 Trim before decoding - http://mosquito.wordpress.org/view.php?id=654
git-svn-id: http://svn.automattic.com/wordpress/trunk@2139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 09:53:23 +00:00
saxmatt
f495494b75 Let people know when things are held for moderation - http://mosquito.wordpress.org/view.php?id=705
git-svn-id: http://svn.automattic.com/wordpress/trunk@2138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 08:27:53 +00:00
saxmatt
5f0aa7f7b0 Some Kubrick cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 08:24:59 +00:00
saxmatt
d7da12c7d2 http://mosquito.wordpress.org/view.php?id=690
git-svn-id: http://svn.automattic.com/wordpress/trunk@2134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 07:55:03 +00:00
saxmatt
99ea3245af Siteurl autoupdate now requires RELOCATE flag - http://mosquito.wordpress.org/view.php?id=602
git-svn-id: http://svn.automattic.com/wordpress/trunk@2130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 07:30:49 +00:00
saxmatt
25e08bf743 Fix pingback emails - http://mosquito.wordpress.org/view.php?id=729 - and also allow redefinition of wp_notify functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@2129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 06:37:20 +00:00
saxmatt
3e1ff77a0e Handle time_diff less than a minute http://mosquito.wordpress.org/view.php?id=737
git-svn-id: http://svn.automattic.com/wordpress/trunk@2124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 06:01:04 +00:00
rboren
696b267d19 Fix locale.php include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-22 16:52:07 +00:00
saxmatt
2c5c76c12b More escaping of description and cleaner default feed URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-22 03:45:35 +00:00
saxmatt
25897c2b91 Adding nofollow support
git-svn-id: http://svn.automattic.com/wordpress/trunk@2117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 18:24:14 +00:00
saxmatt
f6d6435f63 User-generated rel attributes shouldn't be allowed in comments (doesn't make sense for any current uses of rel.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 07:53:02 +00:00
rboren
24d3874fa2 Add more rewrite rule filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 05:10:13 +00:00
rboren
8968f4f1aa Fix whitelist. Bug 664.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 03:33:13 +00:00
rboren
375e821211 Filter category description. Bug 727. Hat tip: dmclark
git-svn-id: http://svn.automattic.com/wordpress/trunk@2113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 03:06:56 +00:00
rboren
8add0e48f5 Used the filtered vars, not the unfiltered ones. Bug 641.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 02:55:35 +00:00
rboren
7348f9a66b Pass $d from comment_time() to get_comment_time(). Bug 724. Props: coffee2code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 00:38:04 +00:00
rboren
122c114cd6 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: http://svn.automattic.com/wordpress/trunk@2107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 04:56:24 +00:00
rboren
032dbc8c79 Deprecate start_wp(). Move start_wp functionality to setup_postdata(). Add the_post() method to WP_Query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-19 02:21:36 +00:00
saxmatt
01ee685d3c 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: http://svn.automattic.com/wordpress/trunk@2103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-18 06:12:23 +00:00
rboren
d3c2c2852f Fix $id arg processing for get_the_title(). Also, mark "Protected:" for translation. Bug 706. Props: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-17 20:16:22 +00:00
rboren
80373058d9 Use str_repeat instead of array_fill. Bug 695. Patch from gbhugo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-15 15:51:31 +00:00
saxmatt
f836050ca3 http://mosquito.wordpress.org/view.php?id=684
git-svn-id: http://svn.automattic.com/wordpress/trunk@2097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-15 01:07:53 +00:00
rboren
83c5911d69 Add the_permalink filter. Bug 693. Props: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 23:43:20 +00:00
rboren
2a2f21524e wp_list_pages() using wrong time/date fields. Bug 680.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 23:06:12 +00:00
rboren
4ec2370af8 Fix call to join. Bug 658. Hat tip: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 23:01:21 +00:00
saxmatt
5db85f10c6 Check everything for entities.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 22:42:09 +00:00
saxmatt
69291131ff http://mosquito.wordpress.org/view.php?id=668
git-svn-id: http://svn.automattic.com/wordpress/trunk@2082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 18:47:07 +00:00
donncha
b8190acec8 removed images from enclosure scanning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 17:07:54 +00:00
saxmatt
743313fa50 Whitelist trackbacks and pingbacks from domains in blogroll.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 23:21:42 +00:00
saxmatt
2a6738aacb Add more hooks into commenting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 20:26:10 +00:00
saxmatt
652654d4d5 Spam tastes great, we should eat more of it. Add 'spam' approval value, and basic blacklist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 20:21:06 +00:00
rboren
7f29387599 Fix post time display. Bug 636.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-09 02:40:06 +00:00
saxmatt
7f98c031a7 Some feed template function cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 22:01:59 +00:00
saxmatt
837a9db1a4 http://mosquito.wordpress.org/view.php?id=252
git-svn-id: http://svn.automattic.com/wordpress/trunk@2066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:29:49 +00:00
saxmatt
f20de56a5b http://mosquito.wordpress.org/view.php?id=608
git-svn-id: http://svn.automattic.com/wordpress/trunk@2064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:21:12 +00:00
saxmatt
4015316834 http://mosquito.wordpress.org/view.php?id=521
git-svn-id: http://svn.automattic.com/wordpress/trunk@2062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:11:51 +00:00
saxmatt
6584b204a6 Some cleanup patches from Scott: http://www.coffee2code.com/archives/2005/01/06/walking-with-15/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 23:10:28 +00:00
saxmatt
99df7e3a03 Cleaning up filters and format-to-post
git-svn-id: http://svn.automattic.com/wordpress/trunk@2059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 22:51:44 +00:00
saxmatt
a4857688db Patch for balanceTags from Scott Reilly: http://mosquito.wordpress.org/view.php?id=53
git-svn-id: http://svn.automattic.com/wordpress/trunk@2057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 10:24:11 +00:00
saxmatt
acd814c90f Don't muddy <pre> pool
git-svn-id: http://svn.automattic.com/wordpress/trunk@2056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 10:10:55 +00:00
saxmatt
224dc527f8 Don't cache serialized options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 10:07:52 +00:00
saxmatt
4777e1b28f Proper linebreak in moderation email.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 09:58:23 +00:00
saxmatt
fb2ccdee42 Bad link in snoopy class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 09:53:40 +00:00
rboren
5af5da1547 Add preprocess_comment filter to enable filtering all comment data in one go. Patch from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-05 21:11:42 +00:00
rboren
acbdd5c97d Feed fixes from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-04 23:30:10 +00:00
rboren
40c697b18f Keep it separated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-04 23:29:13 +00:00
rboren
72430a4584 Remove % from title before utf8 uri encoding is done.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 09:08:55 +00:00
rboren
15e84a0811 Use new default theme path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 02:50:03 +00:00
rboren
ab6ff7fee4 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: http://svn.automattic.com/wordpress/trunk@2032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 02:47:45 +00:00
saxmatt
4b9c67c876 When deleting a page level up all children.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 23:13:38 +00:00
saxmatt
373276ee25 Sub-page hierarchy, show pages on default menu. TODO: Ping Michael about top-level pages in kubrick menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 23:05:07 +00:00
saxmatt
e5d942f411 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: http://svn.automattic.com/wordpress/trunk@2027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 22:09:08 +00:00
rboren
04d470cbbd Add rewind_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-31 21:49:48 +00:00
rboren
5f0a8d8186 Use load_template().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 21:58:01 +00:00
rboren
964011e54f Add get_pages(). Improve wp_list_pages(). Props: Adi Sieker and Chris Waigl.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 19:41:14 +00:00
rboren
84afc4c76c Fix comments-popup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 19:35:57 +00:00
michelvaldrighi
88f5c2951c 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: http://svn.automattic.com/wordpress/trunk@2018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 17:34:27 +00:00
saxmatt
52929c176b Move inside for better clearing and such.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 11:27:33 +00:00
saxmatt
5ee32f34cb It's that time :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 11:25:56 +00:00
saxmatt
0310599445 Don't leave in debugging code (it's late)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 11:10:00 +00:00
saxmatt
d046644a4c Typo typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@2010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 11:08:42 +00:00
saxmatt
232e019cc6 Moving default template stuff into wp-includes, uncluttering root
git-svn-id: http://svn.automattic.com/wordpress/trunk@2009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 10:58:06 +00:00
saxmatt
8c472b4241 Make work with https URIs
git-svn-id: http://svn.automattic.com/wordpress/trunk@2008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-28 20:28:57 +00:00
rboren
90d0421792 If $p evaluates to zero, ignore it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-28 17:36:28 +00:00
rboren
888021c22a Leave htaccess alone if permalinks are not turned on. Bug 597.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-27 22:30:52 +00:00
rboren
d781edcc70 Add is_admin flag. Do not set is_home if is_admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-26 16:37:55 +00:00
rboren
c29d067801 Fix single quote sanitization. Bug 594. Hat Tip: bcrow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-25 17:21:43 +00:00
rboren
db7cbbdc94 Add post_where_paged and post_join_paged filter hooks. Move posts_where and posts_join before the paging queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-25 00:32:50 +00:00
rboren
8790a95eeb Fix href quoting. Bug 532. Hat Tip: MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 21:00:06 +00:00
saxmatt
637cfdc7a4 Cleaning up blogfilename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 01:34:47 +00:00
saxmatt
b73a9d7e8c Have get_function return unadulterated data
git-svn-id: http://svn.automattic.com/wordpress/trunk@1996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-23 21:52:09 +00:00
saxmatt
f9b77bb837 Clean up global ideas from michel_v
git-svn-id: http://svn.automattic.com/wordpress/trunk@1994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-23 00:08:43 +00:00
michelvaldrighi
f046e9d27d typo id -> comment_id made WP make one extra query per post
git-svn-id: http://svn.automattic.com/wordpress/trunk@1992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-22 14:36:26 +00:00
michelvaldrighi
21c073a733 get_userdata should not ask for data when userid is 0 (why does it get called like that anyway?)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-22 14:32:25 +00:00
saxmatt
3e850435d4 Validation fix in retrospam
git-svn-id: http://svn.automattic.com/wordpress/trunk@1986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-20 17:10:15 +00:00
rboren
02ea09c795 Remove percent signs from slugs. PAtch from MooKitty. Bug 569.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-20 06:35:54 +00:00
saxmatt
7727b00596 Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 18:43:45 +00:00
saxmatt
1bd4057b23 Bug fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 07:26:43 +00:00
saxmatt
90c90b336f New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 02:30:40 +00:00
saxmatt
3f39fe4b61 First pass at dashboard. Hat tip: Jesuit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 00:10:10 +00:00
saxmatt
fef86c9964 Some code cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 20:56:26 +00:00
rboren
b3a3894b2a Add generate_rewrite_rule().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 19:40:02 +00:00
rboren
71e989b683 Rework query precedence for bug 541. Add is_trackback().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 00:28:24 +00:00
saxmatt
8f82a03a02 Comment notification fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-17 10:25:00 +00:00
saxmatt
b3bc745046 http://mosquito.wordpress.org/view.php?id=556
git-svn-id: http://svn.automattic.com/wordpress/trunk@1969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-17 08:48:30 +00:00
rboren
8a663f2f25 Fix include of comment-functions.php. Bug 554.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 23:18:15 +00:00
rboren
96e7d7f160 Improved wp_list_pages() from Adi Sieker.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 08:02:53 +00:00
saxmatt
b51ae91b9a Let's get_ down
git-svn-id: http://svn.automattic.com/wordpress/trunk@1965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 03:08:07 +00:00
saxmatt
65bbec71d0 Comments refactoring and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 02:57:05 +00:00
rboren
b63186a6ff the_/get_the_ split. Patch from Owen Taylor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 23:15:17 +00:00
rboren
914be4bf02 Fix comments popup template load. Bug 545.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 02:03:08 +00:00
rboren
ea392f4b13 Fix date permalinks. Bug 539.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 01:23:38 +00:00
saxmatt
7104f60653 Texturize bloginfo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 09:10:34 +00:00
saxmatt
340804aa79 Move all auth stuff into functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 03:00:55 +00:00
rboren
036efdfdc2 Add filter hook for locale string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-13 04:39:26 +00:00
saxmatt
c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
rboren
7a580db825 get_author_permastruct()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 02:40:35 +00:00
saxmatt
5237112e3f 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: http://svn.automattic.com/wordpress/trunk@1931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 01:30:34 +00:00
saxmatt
5fcde26744 Don't wrap horizontal rules in paragraphs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:32:14 +00:00
saxmatt
576846ba19 Don't show errors if we can't fsockopen a server.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:25:07 +00:00
rboren
c37fc847ff Comment the unicode blocks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:16:33 +00:00
donncha
ceca2e9751 Fixed mangled email headers, thanks to John Allman
git-svn-id: http://svn.automattic.com/wordpress/trunk@1921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 14:40:40 +00:00
rboren
83e6c81f41 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: http://svn.automattic.com/wordpress/trunk@1920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 02:35:53 +00:00
saxmatt
2852e800da Don't add breaks to <colgroup>s. Hat tip: Joe Clark.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-07 20:09:46 +00:00
rboren
d352c9be64 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:12:08 +00:00
rboren
b1a4a04126 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-03 02:38:11 +00:00
rboren
09330bec21 Add posts_join filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-01 06:52:26 +00:00
rboren
d0742f3227 Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 23:37:29 +00:00
rboren
8c9c4e1556 Unserialize empty arrays.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 19:53:11 +00:00
saxmatt
aad8c71bb1 Fix for bug http://mosquito.wordpress.org/view.php?id=177, adding class to smileys and encoding quotes in alt text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 19:16:14 +00:00
rboren
c02d589e36 Use preg_quote() to make spam words regex safe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 05:24:09 +00:00
rboren
39bf85133f Perform empty() check on $doing_rss to avoid warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:47:54 +00:00
rboren
03766d3f29 Use weekday locale data in mysql2date. Bug 492. Patch by nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 16:23:24 +00:00
rboren
477e3344b8 Do not allow a page to be its own parent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-24 00:12:46 +00:00
emc3
aa2fbccf6f Use new user_can_foo() functions, clean up comment editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@1875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 15:09:24 +00:00
emc3
db5183e714 Don't you think it's time for a minor version bump?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 14:09:38 +00:00
rboren
368bf570e6 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: http://svn.automattic.com/wordpress/trunk@1872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-21 06:03:19 +00:00
rboren
2201be3af3 Add is_paged().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-20 18:32:31 +00:00
rboren
81bb103348 Rewrite rule generation cleanup, including re-indent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-20 04:28:36 +00:00
rboren
9872261202 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 20:54:16 +00:00
saxmatt
742a9d549f Actions shouldn't change around what they're passed
git-svn-id: http://svn.automattic.com/wordpress/trunk@1867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 07:37:18 +00:00
saxmatt
f4dcbb2a3b Don't cache pages with DB errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 02:18:23 +00:00
saxmatt
d1ddb156ec Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:40:36 +00:00
rboren
013f6d6fee Allow comments on pages. Props: error http://wordpress.org/support/6/16759
git-svn-id: http://svn.automattic.com/wordpress/trunk@1860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-17 03:45:50 +00:00
rboren
1d5e3d4f3c Check for null category list just in case of borkage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 06:00:21 +00:00
rboren
acfb79c47e Sort the category list so that index associations are made non-sparse.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-12 23:08:51 +00:00
rboren
c10118addf 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: http://svn.automattic.com/wordpress/trunk@1849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-10 00:21:24 +00:00
rboren
9f3fcc45ee add $user_agent to check_comment() arg list. Bug 415. Patch by MC_incubus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-09 02:31:48 +00:00
rboren
390531cad7 Put the right index.php in the template file list for the default theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-09 02:29:01 +00:00
emc3
064edd94ae BUGFIX: prevent '#' chars in moderation_keys from breaking regex handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-05 03:56:40 +00:00
emc3
6386e0815c ANTI-SPAM: reject numerically encoded entities that fall in the normal ASCII range
git-svn-id: http://svn.automattic.com/wordpress/trunk@1844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-03 14:21:46 +00:00
rboren
02db3ad66b Typo fix. Bug 423.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-02 02:13:00 +00:00
rboren
626a4d0c83 urldecode page URI so that it will work for multibyte languages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-02 01:56:29 +00:00
donncha
3ec05be4d2 Make sure email and name are not blank when checking comment author in whitelist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-01 13:21:14 +00:00
rboren
7815372fc7 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: http://svn.automattic.com/wordpress/trunk@1835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-27 23:58:40 +00:00
rboren
7cbf843347 List broken themes and suggest corrective action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-24 23:48:51 +00:00
rboren
184628f5dc PATH_INFO page links now include the index. Bug 404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 21:44:00 +00:00
michelvaldrighi
fdfcddbaf7 removed preg_match check from comment_type() since by now we should never ever need it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 15:51:08 +00:00
rboren
0bebcf246f Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 21:28:37 +00:00
donncha
2bef1de2b9 Make checking enclosure URLs much faster - fclose() after blank line in response.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 15:07:49 +00:00
rboren
04786f267d 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: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00
rboren
c591d809f7 Default textdomain loading cleanup. Fix for bug 230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 00:18:12 +00:00
michelvaldrighi
8990d8c02f better fix for single_month_title, preserves backward-compatibility with
git-svn-id: http://svn.automattic.com/wordpress/trunk@1816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 23:52:36 +00:00
michelvaldrighi
d6928c9df3 fixed single_month_title. thanks to Brak (http://wordpress.org/support/6/14897)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 23:45:26 +00:00
donncha
9f62c48cf9 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: http://svn.automattic.com/wordpress/trunk@1812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 12:09:20 +00:00
rboren
667912ce0e Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 04:38:49 +00:00
rboren
b29cb9cb81 Plugin and theme localization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 02:27:35 +00:00
michelvaldrighi
2c7c6cdc8f added more user_can_* functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 16:20:25 +00:00
rboren
cf34374c9c 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: http://svn.automattic.com/wordpress/trunk@1802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 03:16:01 +00:00
saxmatt
62ea5faef5 Fix for bug 137. Patch from kelson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 08:27:56 +00:00
saxmatt
40a8e6885b Trackback and pingback cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:26:41 +00:00
rboren
3472b445a2 Move get_theme*() from admin-functions to functions so that templates and plugins can use them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 03:54:57 +00:00
michelvaldrighi
a53659c2ab unb0rked the pagination links
git-svn-id: http://svn.automattic.com/wordpress/trunk@1791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 14:18:17 +00:00
rboren
c4ff2cc8ec Add template and stylesheet filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 03:20:03 +00:00
rboren
f192cfe5c8 Double hash password in cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 02:21:37 +00:00
michelvaldrighi
a00764ed8e fixed next_posts_links, removed debug artefacts lying there
git-svn-id: http://svn.automattic.com/wordpress/trunk@1785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:21:53 +00:00
michelvaldrighi
f1cd47763b fixed posts_nav_link again, to reclaim functionality lost in last fix ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:12:03 +00:00
michelvaldrighi
fc528e3d09 fixed posts_nav_link to use a much lighter query
git-svn-id: http://svn.automattic.com/wordpress/trunk@1783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:04:35 +00:00
saxmatt
f285ca5c55 Move balanceTags into filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 22:07:09 +00:00
saxmatt
55d5e9f47a Removed some left-over link rating stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@1780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 19:54:09 +00:00
saxmatt
2dc5c6115a PHP 5 fix from http://www.fredfred.net/skriker/index.php?p=84
There be dragons here


git-svn-id: http://svn.automattic.com/wordpress/trunk@1779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 18:45:14 +00:00
michelvaldrighi
4af875d28f printr instead of print_r
git-svn-id: http://svn.automattic.com/wordpress/trunk@1778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 16:49:52 +00:00
michelvaldrighi
7e0657c317 remove contextual compatiblity, and require functions-compat instead
git-svn-id: http://svn.automattic.com/wordpress/trunk@1777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 13:22:33 +00:00
michelvaldrighi
172b13b70a functions-compat.php shall hold PHP functions needed for PHP 4.1 compatibility
git-svn-id: http://svn.automattic.com/wordpress/trunk@1776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 13:17:12 +00:00
donncha
49cb88b7c0 Re-arranged where wp-mail() sets message headers
git-svn-id: http://svn.automattic.com/wordpress/trunk@1775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 12:04:37 +00:00
rboren
39e9a6d942 Login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 07:00:22 +00:00
saxmatt
587429f358 Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-10 18:02:30 +00:00
rboren
3c360863ae wp_list_pages(), first draft
git-svn-id: http://svn.automattic.com/wordpress/trunk@1766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-09 02:03:37 +00:00
rboren
6372a14f42 pagenow fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-09 02:00:34 +00:00
saxmatt
e72de79fa2 Automatically trigger DB upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 19:49:58 +00:00
donncha
0b10eb6d7d Define message header if blank.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 11:52:23 +00:00
rboren
ff3d47b742 Use page_id=xx instead of p=xx&static=1
git-svn-id: http://svn.automattic.com/wordpress/trunk@1759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 08:06:21 +00:00
donncha
d1d02a30bb Check if $uris is an array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 13:10:52 +00:00
saxmatt
6337530119 Automatic login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:31:52 +00:00
rboren
543714fbab Page templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:11:11 +00:00
rboren
96a0b41202 Page/subpage URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 02:18:37 +00:00
donncha
976175ef60 Not required by WordPress.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 09:23:53 +00:00
saxmatt
2d4dd7e6fb Pages update and tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:27:13 +00:00
saxmatt
3be6575475 Fix GUID generation
git-svn-id: http://svn.automattic.com/wordpress/trunk@1746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 07:36:50 +00:00
donncha
37f854a969 Missing ";"
git-svn-id: http://svn.automattic.com/wordpress/trunk@1741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 10:19:43 +00:00
saxmatt
73d33cce75 Kitten's emergent registration / comment whitelisting patch.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:49:45 +00:00
saxmatt
551e52ff91 Code cleanup and some fixes from the WP Japan folks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:03:52 +00:00
saxmatt
ec34fb1d80 Use mb_mail_send if available.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 07:44:04 +00:00
saxmatt
ee921221b7 New login system.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 06:23:53 +00:00
rboren
9490d5bef2 Fix wp_title() for pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-03 17:07:53 +00:00
rboren
0584402e9f 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: http://svn.automattic.com/wordpress/trunk@1728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-02 19:24:40 +00:00
emc3
8fca0cb926 Security: Clean up user inputs before using.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-02 00:46:30 +00:00
rboren
d5c9465fa9 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 17:56:16 +00:00
michelvaldrighi
20fc6e6625 typo/confusion, earlier patch committed in haste
git-svn-id: http://svn.automattic.com/wordpress/trunk@1724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 00:34:46 +00:00
michelvaldrighi
e8a1744ac0 rather ugly fix to prevent the querying of unknown/removed options, feel free to replace it with a better alternative someday
git-svn-id: http://svn.automattic.com/wordpress/trunk@1723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-29 20:33:05 +00:00
rboren
f16701674d Wrap rewrite rules in IfModule. Bug 318.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-28 17:55:52 +00:00
michelvaldrighi
9d428766b0 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: http://svn.automattic.com/wordpress/trunk@1717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 12:41:39 +00:00
michelvaldrighi
802bd72016 whoops, we forgot to store the comment_type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 11:45:15 +00:00
rboren
7f5ef5c1d3 Use get_query_var to get the search terms.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 00:46:42 +00:00
rboren
e61cfd4b02 Use call_user_func() when applying filter. Bug 63. Patch from Bill Zeller.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 00:45:53 +00:00
michelvaldrighi
f6c1bcc60b added discover_pingback_server_uri, should dramatically speed things up
git-svn-id: http://svn.automattic.com/wordpress/trunk@1709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-24 17:29:25 +00:00
michelvaldrighi
00d3d3fec9 fixes for bug #311, by bronski
git-svn-id: http://svn.automattic.com/wordpress/trunk@1705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-22 19:44:35 +00:00
saxmatt
d077a61bd2 No longer used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-21 19:41:13 +00:00
rboren
75d974639b Trackback fix ups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 22:47:43 +00:00
rboren
76d4882921 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 20:04:29 +00:00
rboren
8db1ca2dfa 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: http://svn.automattic.com/wordpress/trunk@1686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 03:04:27 +00:00
michelvaldrighi
4133fc887d reverting wp-admin/xmlrpc.php changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:57:15 +00:00
michelvaldrighi
1ae5d673e4 updated pingback() to use IXR -- now we aren't using phpxmlrpc anywhere anymore
git-svn-id: http://svn.automattic.com/wordpress/trunk@1682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:11:28 +00:00
donncha
331257f4fe Check for moderation_notify flag before notifying moderator that about
held comments.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 10:26:34 +00:00
michelvaldrighi
5fd7490c9f now that we have a new pingback server in wp-admin/xmlrpc.php, let's advertise it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 09:27:04 +00:00
michelvaldrighi
226cf46cb2 letting IXR take care of URI parsing, while leaving the old way to call weblog_ping possible
git-svn-id: http://svn.automattic.com/wordpress/trunk@1676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 08:39:12 +00:00
michelvaldrighi
3de41a8e3e replaced old weblog_ping with new IXR-based weblog_ping
git-svn-id: http://svn.automattic.com/wordpress/trunk@1674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 17:08:56 +00:00
michelvaldrighi
e7d60415cf added timeout and vendor parameters to IXR_Client, could be very useful for weblog_pings
git-svn-id: http://svn.automattic.com/wordpress/trunk@1673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 17:07:59 +00:00
michelvaldrighi
c0de7fb232 support for comment_type, while we move away from <*back /> stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@1669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 13:15:07 +00:00
saxmatt
33cd55d276 Don't forget to strip
git-svn-id: http://svn.automattic.com/wordpress/trunk@1665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 01:08:50 +00:00
saxmatt
e8f22c65a2 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 15:09:39 +00:00
rboren
e7e5b63493 Make $pagenow work with PATH_INFO.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 08:16:58 +00:00
rboren
dfbf01f57b Mark "more" link text for translation, just for grins. Bug 119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 03:37:44 +00:00
rboren
d3b14a607d Make comments_template() theme aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 02:50:29 +00:00
rboren
a165b366ab If the query is for a page, make sure single is false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-14 06:56:13 +00:00
rboren
807c0a77c3 Use stylesheet_url from bloginfo().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-12 20:30:49 +00:00
rboren
fec36ee655 Themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-11 16:12:40 +00:00
saxmatt
aae9dbf02d Timeout changes. Hat tip: Michael Dale.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 10:55:44 +00:00
rboren
692b713381 Incorporate utf8_uri_encode() in sanitize_title(). Improve UTF-8 accented character decomposition in remove_accents().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 08:36:54 +00:00
rboren
e5f5c2c859 get_pagenum_link() tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 07:03:40 +00:00
rboren
760af53e88 Allow the calendar start of week to be provisioned. get_calendar() patch from rq. Bug 32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 23:07:46 +00:00
michelvaldrighi
85b23fe964 ugh, no wonder the new xmlrpc wouldn't post anything
git-svn-id: http://svn.automattic.com/wordpress/trunk@1630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 15:54:03 +00:00
rboren
b036c6d58d 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: http://svn.automattic.com/wordpress/trunk@1629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 03:45:51 +00:00
saxmatt
68fba20343 Some named entities have numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 08:48:36 +00:00
saxmatt
0388cd27b5 Retrospam check from Kitten
git-svn-id: http://svn.automattic.com/wordpress/trunk@1620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 08:17:53 +00:00
rboren
d2c63d853a Paging by days fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 00:02:53 +00:00
saxmatt
5c53295551 Trackback fix from Michael Dale.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 03:15:48 +00:00
saxmatt
b650b0736a Move trackbacks to new comment function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 02:34:12 +00:00
rboren
fda8478485 Apache 1.3 does not support the reluctant (non-greedy) expression modifier. Remove the modifier when outputting mod_rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 00:01:19 +00:00
rboren
1f40b73c6e New page by day code from Sebastian Herp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-06 20:03:16 +00:00
rboren
297af23056 Add missing join to page by day query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-06 03:03:08 +00:00
rboren
5b059e2e9e Remove left over debug output.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 20:06:01 +00:00
rboren
d97d4b74d7 Improve paging by days. Retabify source.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 20:00:09 +00:00
saxmatt
c54f9a539f Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:41:01 +00:00
saxmatt
ed34ca04d8 Set GUID when posting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:03:51 +00:00
saxmatt
ddba48add2 Track and check user agent for comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:50:39 +00:00
saxmatt
de260e7022 Install and upgrade refactoring complete.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:22:17 +00:00
saxmatt
4509b7f435 Version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:31:23 +00:00
saxmatt
c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
saxmatt
009d89ec5b Remove optiongroup_options table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 22:15:46 +00:00
saxmatt
da9e7308b7 Texturize fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 20:47:52 +00:00
rboren
48e72c3061 Fix for bug 250: Metaweblog API discards comment_status and ping_status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-04 06:44:58 +00:00
rboren
3dbecf7853 Return post ID from generic_ping(). Bug 229.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-03 20:33:15 +00:00