Commit Graph

47 Commits

Author SHA1 Message Date
Ryan Boren f7ee176581 More comment cookie sanitation.
git-svn-id: https://develop.svn.wordpress.org/trunk@3577 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 09:49:06 +00:00
Ryan Boren e0feeb161a Strip all html from comment author name, email, and url.
git-svn-id: https://develop.svn.wordpress.org/trunk@3574 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 04:22:24 +00:00
Ryan Boren cd4a8a24c5 current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:08:55 +00:00
Ryan Boren bac53166c4 clean comment author url. fixes #2454
git-svn-id: https://develop.svn.wordpress.org/trunk@3542 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:31:53 +00:00
Matt Mullenweg be5caf3590 Redirect to permalink instead of referrer. Fixes #1673
git-svn-id: https://develop.svn.wordpress.org/trunk@2984 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-05 22:08:56 +00:00
Matt Mullenweg 0c4c22f966 Don't set for logged in users.
git-svn-id: https://develop.svn.wordpress.org/trunk@2837 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-05 04:14:29 +00:00
Ryan Boren b3f7bd726c Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: https://develop.svn.wordpress.org/trunk@2699 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-05 20:47:22 +00:00
Matt Mullenweg a2fa5d6a70 Better headers for CGI enviroments
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg 423287de0d Don't accept comments on drafts - http://mosquito.wordpress.org/view.php?id=946
git-svn-id: https://develop.svn.wordpress.org/trunk@2580 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 07:31:29 +00:00
Matt Mullenweg beb8bbab56 I count good now
git-svn-id: https://develop.svn.wordpress.org/trunk@2558 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 19:05:34 +00:00
Matt Mullenweg 2e3c23045c Line ending fixes and commenting cleanups from Scott Reilly
git-svn-id: https://develop.svn.wordpress.org/trunk@2556 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-20 03:37:23 +00:00
Matt Mullenweg a1ac3e7120 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: https://develop.svn.wordpress.org/trunk@2552 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:24:05 +00:00
Ryan Boren c5646b894e Trim comment info. http://mosquito.wordpress.org/view.php?id=1183 Props: ryanduff
git-svn-id: https://develop.svn.wordpress.org/trunk@2490 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 14:52:41 +00:00
Ryan Boren 90e6959288 Validate comment author email. http://mosquito.wordpress.org/view.php?id=982 Props: MtDewVirus
git-svn-id: https://develop.svn.wordpress.org/trunk@2464 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 00:29:43 +00:00
Ryan Boren df3fb34a70 Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 16:36:09 +00:00
Ryan Boren 87f10408a5 Don't require email address from registered authors. http://mosquito.wordpress.org/view.php?id=948 Props: michel_v
git-svn-id: https://develop.svn.wordpress.org/trunk@2431 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 03:31:39 +00:00
Ryan Boren e1eb496fac Fix comments popup window reload upon post. http://mosquito.wordpress.org/view.php?id=897
git-svn-id: https://develop.svn.wordpress.org/trunk@2427 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-10 07:01:42 +00:00
Ryan Boren cdc96a2cc5 Don't strip scheme from comment url. Bug 883.
git-svn-id: https://develop.svn.wordpress.org/trunk@2359 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 23:01:02 +00:00
Ryan Boren 9944883d86 Addslashes to user data before inserting in DB.
git-svn-id: https://develop.svn.wordpress.org/trunk@2231 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 19:02:10 +00:00
Matt Mullenweg bbc5b2da00 Wrong variable - http://mosquito.wordpress.org/view.php?id=786
git-svn-id: https://develop.svn.wordpress.org/trunk@2221 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 05:38:57 +00:00
Matt Mullenweg f6a27d19b0 Comment registration goodness. Hat tip to Jason at noprequisite.com for user_identity code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2166 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 06:38:12 +00:00
Ryan Boren 173eb4a098 Fix comment cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2002 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-25 18:01:06 +00:00
Ryan Boren db217dd174 Fix required fields checking. Bug 576. Hat tip: bronski
git-svn-id: https://develop.svn.wordpress.org/trunk@1985 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-20 06:45:19 +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 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
Matt Mullenweg a007528ca1 http://mosquito.wordpress.org/view.php?id=558
git-svn-id: https://develop.svn.wordpress.org/trunk@1968 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-17 08:44:30 +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 1b3ce357bb Refuse comments for post IDs that do not exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@1854 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-15 06:20:28 +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
Donncha O Caoimh 5802a33673 Fixed minor bug - wrong variable passed to get_permalink() - caused
comment redirect to fail.


git-svn-id: https://develop.svn.wordpress.org/trunk@1756 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 06:34:19 +00:00
Matt Mullenweg 112d84ee01 Better redirect cleaning.
git-svn-id: https://develop.svn.wordpress.org/trunk@1751 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 16:22:31 +00:00
Matt Mullenweg 4cf19662eb Changes to how we do redirects.
git-svn-id: https://develop.svn.wordpress.org/trunk@1748 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-05 08:35:22 +00:00
Matt Mullenweg c72416ed6d Move plugin call to allow plugin authors to get in before notification is sent out.
git-svn-id: https://develop.svn.wordpress.org/trunk@1739 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-04 08:54:04 +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
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 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
Matt Mullenweg be284328ae Fix for cookie paths being set correctly when using a different home setting. Refactored comments-post.
git-svn-id: https://develop.svn.wordpress.org/trunk@1237 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 23:21:31 +00:00
Matt Mullenweg 94f0cf9181 Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
michelvaldrighi ab33245ad1 typo
git-svn-id: https://develop.svn.wordpress.org/trunk@1018 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-26 11:26:57 +00:00
Matt Mullenweg 84635f1a44 Additional plugin API hooks, extending moderation scheme to more fully cover trackbacks and pingbacks, cleanup of XML-RPC file.
git-svn-id: https://develop.svn.wordpress.org/trunk@1012 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 20:18:20 +00:00
michelvaldrighi 21084dfa50 now commenting in localtime+gmt
git-svn-id: https://develop.svn.wordpress.org/trunk@997 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 01:56:02 +00:00
Matt Mullenweg f14254c46b New comment moderation code, for trackbacks and comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@984 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-21 08:31:33 +00:00
Matt Mullenweg 59155a15f3 Migration to get_settings
git-svn-id: https://develop.svn.wordpress.org/trunk@956 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 06:13:32 +00:00
michelvaldrighi 1ef85f9dd5 big leap to GMT dates
git-svn-id: https://develop.svn.wordpress.org/trunk@914 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 03:42:40 +00:00
jverber 52beb61afc Removed redundant convert_chars (it is called during display)
git-svn-id: https://develop.svn.wordpress.org/trunk@860 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-10 19:43:39 +00:00
Matt Mullenweg a62c5e20c6 Comments number bug.
git-svn-id: https://develop.svn.wordpress.org/trunk@707 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-03 20:35:02 +00:00
Matt Mullenweg 9c6a0a9403 The great renaming.
git-svn-id: https://develop.svn.wordpress.org/trunk@601 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 00:22:36 +00:00