Commit Graph

224 Commits

Author SHA1 Message Date
Ryan Boren f38c4fd079 Obey comment_order if set. Defaul to asc if not set
git-svn-id: https://develop.svn.wordpress.org/trunk@9386 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 16:41:47 +00:00
Ryan Boren 190e2ace16 Threaded comment fixes from filosofo. fixes #7980
git-svn-id: https://develop.svn.wordpress.org/trunk@9385 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 16:17:48 +00:00
Ryan Boren c5c2377468 Make get_comment_link() paging aware. Props Viper007Bond. see #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9367 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 16:31:26 +00:00
Mark Jaquith dbf395043c Fix comment paging for when $comments is passed in. props Viper007Bond. see #7927
git-svn-id: https://develop.svn.wordpress.org/trunk@9317 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 07:27:19 +00:00
Ryan Boren 873a5b075b Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: https://develop.svn.wordpress.org/trunk@9296 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 16:08:47 +00:00
Ryan Boren 44f07ae292 Pass args from Walker to comment_reply_link(). Props Otto42. fixes #7901
git-svn-id: https://develop.svn.wordpress.org/trunk@9209 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 20:22:53 +00:00
Ryan Boren 9a1ec7be98 Add avatar_size arg. Props Otto42. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9207 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 20:05:34 +00:00
Ryan Boren 635d53975f comment_id_fields(). see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9175 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 19:06:18 +00:00
Andrew Ozz ef7ad0e31d Use no-js reply on error in comment-reply.js, see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9114 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-09 20:27:39 +00:00
Andrew Ozz 24041a2802 No jQuery requirement for comment-reply.js, see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9113 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-09 11:11:56 +00:00
Andrew Ozz 29ceb968bd No-JS mode for replying to comments and some improvements/cleanup of comment-reply.js, includes patch by Viper007Bond, see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9112 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-09 07:37:05 +00:00
Ryan Boren 0828ea41d8 before and after for comment_reply_link(). see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9093 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-07 18:03:43 +00:00
Ryan Boren a7789a4124 Add arg to comments_template() for requesting separating comments by type. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9092 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-06 23:16:26 +00:00
Ryan Boren 119280586f Hide reply link by default. Enable with JS. Props Viper007Bond. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9037 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-30 17:27:15 +00:00
Ryan Boren 5365f12fa5 phpdoc for comments-template from jacobsantos. see #7550
git-svn-id: https://develop.svn.wordpress.org/trunk@8970 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-24 20:02:41 +00:00
Ryan Boren 1811b9a81a Fix comment display when paging is off. see #7769
git-svn-id: https://develop.svn.wordpress.org/trunk@8964 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-24 05:20:17 +00:00
Ryan Boren c724813461 s/list/ul/ see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8963 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-24 04:57:17 +00:00
Ryan Boren 37fad7545b Add thread alt classes. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8962 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-24 04:45:50 +00:00
Ryan Boren 23fd52bd85 First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8961 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-23 21:11:27 +00:00
Ryan Boren ab4782d5aa Fix depth inversion. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8941 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-19 21:45:01 +00:00
Ryan Boren 31186d41d9 Add missing return. Props DD32. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8898 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-16 00:24:43 +00:00
Ryan Boren 6f8cefd5fe Add type argument to wp_list_comments(). Make comments arg optional. Introduce separate_comments(). see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8897 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-16 00:23:38 +00:00
Ryan Boren 61400609c9 Add depth handling to comment_reply_link(). see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8878 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-12 23:45:15 +00:00
Ryan Boren 0acc8c3900 Add respondID and respondRoot args to cancelCommentReply(). see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8877 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-12 21:19:40 +00:00
Ryan Boren 5af3c01ea2 Threaded comments improvements from DD32. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8876 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-12 19:18:39 +00:00
Ryan Boren 403d9214ed wp_list_comments() and threaded comment support. First cut. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8869 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-11 19:25:50 +00:00
Ryan Boren a487b60f71 post_password_required(). fixes #7679
git-svn-id: https://develop.svn.wordpress.org/trunk@8800 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-03 19:54:14 +00:00
Ryan Boren ba5140d219 comment_class(). Props sandbox theme. see #7560
git-svn-id: https://develop.svn.wordpress.org/trunk@8695 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 23:48:09 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren b370c7862c XML-RPC comments API. see #7446
git-svn-id: https://develop.svn.wordpress.org/trunk@8543 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 22:29:37 +00:00
Peter Westwood 8b8928d5ac Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: https://develop.svn.wordpress.org/trunk@8497 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:21:14 +00:00
Ryan Boren ef20031e40 phpdoc updates from jacobsantos. see #7038
git-svn-id: https://develop.svn.wordpress.org/trunk@8164 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-22 20:23:23 +00:00
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren 3fa0a54c74 number_format_i18n() for comments_number()
git-svn-id: https://develop.svn.wordpress.org/trunk@7910 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 17:54:40 +00:00
Ryan Boren d0806eb11c Fix variable name typo. Props reinkim. fixes #5834
git-svn-id: https://develop.svn.wordpress.org/trunk@6802 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 06:39:45 +00:00
Ryan Boren d99739dac9 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: https://develop.svn.wordpress.org/trunk@6777 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-10 07:59:34 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +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
Ryan Boren 60b802e55d Some notice fixes from Nazgul. fixes #3155
git-svn-id: https://develop.svn.wordpress.org/trunk@6711 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 18:42:09 +00:00
Ryan Boren 791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren 410d3b3b56 phpdoc for comment-template.php from darkdragon. fixes #5528
git-svn-id: https://develop.svn.wordpress.org/trunk@6495 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-26 17:18:13 +00:00
Matt Mullenweg a5aa17b2fc Revert [6368]. Fixes #5448, fixes #5247 by adding a new filter to hook in specifically to add attributes, rather than filtering the whole thing. Minor formatting cleanup of comments_popup_link.
git-svn-id: https://develop.svn.wordpress.org/trunk@6372 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-10 20:49:46 +00:00
Ryan Boren 340228e4ad comments_popup_link filter from joostdevalk. fixes #5247
git-svn-id: https://develop.svn.wordpress.org/trunk@6368 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-10 06:53:58 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Mark Jaquith d9c7174ee2 prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6173 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-27 07:34:15 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren 3ff8ad1a47 Trackback fxn cleanup from Otto42. fixes #4800
git-svn-id: https://develop.svn.wordpress.org/trunk@5982 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 23:08:44 +00:00
Ryan Boren 72be6cb001 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: https://develop.svn.wordpress.org/trunk@5752 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 17:48:35 +00:00
Ryan Boren 09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Ryan Boren 163f22deb5 Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: https://develop.svn.wordpress.org/trunk@5666 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 00:20:22 +00:00
rob1n a79b7c6772 Fix a strpos typo. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@5626 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:10:03 +00:00
rob1n 9dcdbbd7ae Tweak displaying comments awaiting moderation to their authors. Props wnorris. fixes #4108
git-svn-id: https://develop.svn.wordpress.org/trunk@5238 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:12:11 +00:00
rob1n d57de9f654 Add CSS class in if it's not empty when there's no comments. fixes #2180
git-svn-id: https://develop.svn.wordpress.org/trunk@5165 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:57:13 +00:00
Ryan Boren 9de70f4145 Add trackback_url filter. Props jhodgdon. fixes #4032
git-svn-id: https://develop.svn.wordpress.org/trunk@5116 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 23:40:49 +00:00
Ryan Boren 6e2d108bf0 Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: https://develop.svn.wordpress.org/trunk@5101 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:18:19 +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 e2f9950018 user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5019 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:18:43 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Ryan Boren 2f191b4b56 Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: https://develop.svn.wordpress.org/trunk@4934 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-24 07:33:29 +00:00
Mark Jaquith 5164d38cb5 Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: https://develop.svn.wordpress.org/trunk@4886 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-15 07:07:12 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Matt Mullenweg 36e8aa39df Adding a hook for comments, fixes #3084
git-svn-id: https://develop.svn.wordpress.org/trunk@4568 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 03:30:26 +00:00
Ryan Boren 8d2a32913e Pass format string and gmtbool as args to data and time filters. Props sdiz. fixes #2754
git-svn-id: https://develop.svn.wordpress.org/trunk@4498 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-20 01:46:20 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren 603ec78946 i18n fix for comments_number(). Props Mark Jaquith. fixes #3244
git-svn-id: https://develop.svn.wordpress.org/trunk@4494 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:45:28 +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 07ac9fb01c specialchars quotes in comment title. Props deko. fixes #2915
git-svn-id: https://develop.svn.wordpress.org/trunk@3995 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 02:28:34 +00:00
Ryan Boren 39229a3311 wp_get_current_commenter()
git-svn-id: https://develop.svn.wordpress.org/trunk@3902 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 20:52:12 +00:00
Ryan Boren 8fbc24984c Specialchars title. Props David House and Mark Jaquith. fixes #2625
git-svn-id: https://develop.svn.wordpress.org/trunk@3874 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 07:32:06 +00:00
Matt Mullenweg be72546992 Updating eol-style native. We must remember to do this when adding new files.
git-svn-id: https://develop.svn.wordpress.org/trunk@3730 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 10:13:28 +00:00
Matt Mullenweg 8658f214f8 Tidy comment_author_url_link just like we do on the bookmarks page
git-svn-id: https://develop.svn.wordpress.org/trunk@3723 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 08:36:45 +00:00
Ryan Boren be2be64b99 Remove comment_count_cache. fixes #2670
git-svn-id: https://develop.svn.wordpress.org/trunk@3716 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:53:02 +00:00
Ryan Boren 63c32823bd Reorg comment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3714 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:32:12 +00:00