Commit Graph

64 Commits

Author SHA1 Message Date
Andrew Ozz 3e9d31fc8f Reply to comments from admin, first run, see #7435
git-svn-id: https://develop.svn.wordpress.org/trunk@8720 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-24 06:56:22 +00:00
Peter Westwood 97d67b7f80 Minor phpdoc fixups.
git-svn-id: https://develop.svn.wordpress.org/trunk@8149 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 20:56:40 +00:00
Ryan Boren e25996c368 File file level phpdoc from jacobsantos. see #7037
git-svn-id: https://develop.svn.wordpress.org/trunk@7991 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 15:50:15 +00:00
Ryan Boren e911cca913 Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: https://develop.svn.wordpress.org/trunk@7971 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:59:27 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren 40f80710a4 Add filters to comments_open() and pings_open(). Props tellyworth. fixes #5761
git-svn-id: https://develop.svn.wordpress.org/trunk@6716 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-04 20:27:45 +00:00
Mark Jaquith 8f31e395de Update wp-comments-post.php to WP coding conventions. props JeremyVisser. fixes #4573
git-svn-id: https://develop.svn.wordpress.org/trunk@5777 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-04 16:12:37 +00:00
Mark Jaquith 0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
rob1n 12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
Ryan Boren 82a40d63e6 Requesting wp-comments-post.php with GET should return 405. Props Mike Little. fixes #3797
git-svn-id: https://develop.svn.wordpress.org/trunk@5128 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-28 17:34:42 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Mark Jaquith 096395f366 nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5039 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-14 23:10:57 +00:00
Mark Jaquith f8e2216f0e strip tags from comment author before determining emptiness status. props Nazgul. fixes #3839
git-svn-id: https://develop.svn.wordpress.org/trunk@4939 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-25 13:35:16 +00:00
Ryan Boren 8453685dc9 comment_post_redirect and comment_edit_redirect from Mark J. fixes #2590
git-svn-id: https://develop.svn.wordpress.org/trunk@4260 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-28 19:16:15 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren 4562fd2b74 wp_die() for comment errors. Props filosofo. fixes #1786
git-svn-id: https://develop.svn.wordpress.org/trunk@3984 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 20:34:19 +00:00
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