Commit Graph

262 Commits

Author SHA1 Message Date
Ryan Boren a1c34fd65d Reparent children when deleting a comment. Props vladimir_kolesnikov. fixes #9003
git-svn-id: https://develop.svn.wordpress.org/trunk@10762 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:02:27 +00:00
Ryan Boren a5d73d7a2f Use wpdb::insert() and update(). see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10731 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 05:06:15 +00:00
Ryan Boren 1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Ryan Boren 5b4d3c536d Add some error feedback to ajax comment moderation. see #9261
git-svn-id: https://develop.svn.wordpress.org/trunk@10681 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 21:48:37 +00:00
Ryan Boren 23af8f4060 discover_pingback_server_uri optimizations. Props DD32. fixes #8816
git-svn-id: https://develop.svn.wordpress.org/trunk@10579 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 20:56:54 +00:00
Ryan Boren 38845db326 Disambiguate 'Approved' translation. Props nbachiyski. fixes #8638
git-svn-id: https://develop.svn.wordpress.org/trunk@10564 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-12 20:42:04 +00:00
Andrew Ozz db63b501d4 Make comment_karma accessible from normal comment API functions, props beaulebens, fixes #9085
git-svn-id: https://develop.svn.wordpress.org/trunk@10536 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 19:16:00 +00:00
Ryan Boren 55c270d136 wp_insert_comment action
git-svn-id: https://develop.svn.wordpress.org/trunk@10465 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 22:22:20 +00:00
Ryan Boren d468232b26 Don't count emoticons toward link total. Props tott. fixes #8627 #7821 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10453 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-28 21:12:57 +00:00
Ryan Boren ffd54c67a6 Include only approved comments when determining page of comment. Props GregMulhauser. fixes #8973 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10449 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-28 18:43:08 +00:00
Ryan Boren 00f96adf85 Close comments for old posts, pages, and attachments, not just posts. Props mrmist. fixes #8740
git-svn-id: https://develop.svn.wordpress.org/trunk@10273 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-30 20:09:40 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Mark Jaquith 789a86a92a Only count specific comment approval types for the types we know about, to avoid a potential notice. fixes #8503
git-svn-id: https://develop.svn.wordpress.org/trunk@10136 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 08:07:52 +00:00
Ryan Boren fc8c54d3d9 Add paging links above comments list. Props Viper007Bond. fixes #8219
git-svn-id: https://develop.svn.wordpress.org/trunk@10097 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 04:49:22 +00:00
Ryan Boren 154cc86cb5 Allow plugins to hook in a custom comment counter
git-svn-id: https://develop.svn.wordpress.org/trunk@10078 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 23:40:09 +00:00
Peter Westwood d1926da5bb Fix Notice on comment posting.
git-svn-id: https://develop.svn.wordpress.org/trunk@10042 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 20:26:05 +00:00
Mark Jaquith abecad5356 Improvements for get_comment_link() from Viper007Bond. fixes #8287
git-svn-id: https://develop.svn.wordpress.org/trunk@9808 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 06:41:55 +00:00
Mark Jaquith e0905512b2 Count links in comments after performing automatic linking. props tott. fixes #7821
git-svn-id: https://develop.svn.wordpress.org/trunk@9782 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 07:08:37 +00:00
Ryan Boren d7351f96be Use pings_open() to check ping status
git-svn-id: https://develop.svn.wordpress.org/trunk@9696 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 22:33:13 +00:00
Ryan Boren b9a4fd0d29 Differentiate between plural noun, verb and adjective Spam translations. Props nbachiyski. fixes #8154
git-svn-id: https://develop.svn.wordpress.org/trunk@9615 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-11 19:54:54 +00:00
Mark Jaquith eef5445e38 Use prepare() in get_comments()
git-svn-id: https://develop.svn.wordpress.org/trunk@9601 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 22:16:50 +00:00
Ryan Boren 83e002f20b Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 18:54:18 +00:00
Ryan Boren d88ff155c1 notice fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9541 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 02:05:59 +00:00
Mark Jaquith ded4fe72b8 Massive get_comment_link() performance improvements for posts with a lot of comments. props Viper007Bond. fixes #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9522 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 07:09:20 +00:00
Ryan Boren c3f6773b5b Add caching to get_comments(). see #8057
git-svn-id: https://develop.svn.wordpress.org/trunk@9511 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-04 16:44:55 +00:00
Ryan Boren 3934806865 Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9490 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 06:44:48 +00:00
Ryan Boren 713a155bfc get_page_of_comment() fixes from Viper007Bond. see #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9379 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 07:29:04 +00:00
Ryan Boren 45d0800e30 get_page_of_comment() fixes from Viper007Bond. see #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9377 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 07:17:29 +00:00
Andrew Ozz 3b6a13b520 Fix redirecting of old slugs when Close Old Comments is enabled, props DD32, fixes #7976
git-svn-id: https://develop.svn.wordpress.org/trunk@9373 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 01:20:38 +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
Ryan Boren 4a28191916 Send 403 instead of 500 for comment flood protection. Allow specifying response code for wp_die(). Props DD32. fixes #7246
git-svn-id: https://develop.svn.wordpress.org/trunk@9335 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 21:00:40 +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 9415f1fa2a Don't double encode ping/trackbacks. Props reinkim. fixes #7844
git-svn-id: https://develop.svn.wordpress.org/trunk@9292 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 22:48:14 +00:00
Ryan Boren 6cad582eaf comment_status transition hooks from Viper007Bond. fixes #7894
git-svn-id: https://develop.svn.wordpress.org/trunk@9195 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 04:18:45 +00:00
Ryan Boren 4e7c5375fa Error checking for HTTP requests. Props jacobsantos. see #7793
git-svn-id: https://develop.svn.wordpress.org/trunk@9051 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 00:32:21 +00:00
Ryan Boren 9ba606f9ff If comment type is empty set it to 'comment'. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@9039 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-30 19:49:26 +00:00
Ryan Boren ee35ce8253 Make pings_open() and comments_open() aware of old post settings. see #7741
git-svn-id: https://develop.svn.wordpress.org/trunk@9015 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-28 03:31:26 +00:00
Peter Westwood 2c58a341ee Move the pingbacks and trackbacks to the new HTTP api. See #7793 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@9012 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 21:40:09 +00:00
Andrew Ozz 85a802aeb9 phpDoc corrections for comment.php, props jacobsantos, fixes #7550
git-svn-id: https://develop.svn.wordpress.org/trunk@8956 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 20:21:10 +00:00
Andrew Ozz 79dff2c149 Complete comment.php inline documentation, props jacobsantos, fixes #5578
git-svn-id: https://develop.svn.wordpress.org/trunk@8949 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 03:39:41 +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 cb195c411f Close comments for old posts. see #7741
git-svn-id: https://develop.svn.wordpress.org/trunk@8892 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-15 16:26:37 +00:00
Andrew Ozz 622026bb01 Ignore comment_max_links option when zero, props tellyworth, fixes #7699
git-svn-id: https://develop.svn.wordpress.org/trunk@8833 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-06 05:59:56 +00:00
Ryan Boren 6d94c5cfcc Lose USE INDEX on comment_date_gmt. It didn't help performance very much and some people are missing the comment_date_gmt index. see #7664
git-svn-id: https://develop.svn.wordpress.org/trunk@8813 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 15:43:26 +00:00
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
Ryan Boren 3d1b545642 comment_approved can be zero, so check with isset instead of empty. fixes #7446
git-svn-id: https://develop.svn.wordpress.org/trunk@8622 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 16:23:47 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +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 5c2ffbf45f PHPDoc updates for comment.php. See #5578 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8091 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-15 09:34:00 +00:00
Ryan Boren dfe33306a1 close the socket in discover_pingback_server_uri
git-svn-id: https://develop.svn.wordpress.org/trunk@8052 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-04 23:36:55 +00:00
Ryan Boren e68bc53d0d Fix duplicate comment notifications. Props MtDewVirus. fixes #6892 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8004 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-28 15:37:59 +00:00
Ryan Boren bb09f56b88 Resurrect comment approval notification. Props chmac. fixes #6892 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7917 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 16:14:15 +00:00
Mark Jaquith 9ae97a6602 Remove last remaining user level checks in favor of capabilities checks. props filosofo. fixes #6940
git-svn-id: https://develop.svn.wordpress.org/trunk@7912 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-09 00:45:17 +00:00
Ryan Boren d44e29da33 Use 'counts' cache group. see #6884
git-svn-id: https://develop.svn.wordpress.org/trunk@7878 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-02 19:42:44 +00:00
Ryan Boren 920d0717dd Add per post counting to wp_count_comments(). Props josephscott. fixes #6884
git-svn-id: https://develop.svn.wordpress.org/trunk@7868 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-01 16:52:48 +00:00
Ryan Boren c3348047a8 Cache comment count and use count API in menu.php
git-svn-id: https://develop.svn.wordpress.org/trunk@7714 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:45:39 +00:00
Ryan Boren cd0641c856 Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: https://develop.svn.wordpress.org/trunk@7690 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-15 18:05:08 +00:00
Ryan Boren 91aa0954a4 Add missing comma. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7657 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:45:12 +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
Mark Jaquith 2a0b33bae4 don't time-throttle comments from Administrators
git-svn-id: https://develop.svn.wordpress.org/trunk@7425 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-20 20:32:18 +00:00
Ryan Boren cd9d655c72 Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: https://develop.svn.wordpress.org/trunk@7140 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:05:23 +00:00
Ryan Boren 0a28ed62e4 Manage comments rework. WIP
git-svn-id: https://develop.svn.wordpress.org/trunk@6994 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-23 08:33:44 +00:00
Ryan Boren 1101f9750a generic_ping() improvements from fitztrev. fixes #5855
git-svn-id: https://develop.svn.wordpress.org/trunk@6853 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-14 21:50:43 +00:00
Ryan Boren ce5b15209f Order by and index on comment_date_gmt instead of comment_date to insulate order from offset changes. fixes #5773
git-svn-id: https://develop.svn.wordpress.org/trunk@6736 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 23:29:59 +00:00
Ryan Boren fa13bbbd58 Add key on comment_approved,comment_date to speed up last comment modified queries. fixes #5773
git-svn-id: https://develop.svn.wordpress.org/trunk@6729 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 18:04:17 +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
Peter Westwood 14be0c9816 Remove the duplicate code for sanitising IP Addresses we only need to do it once. Fixes #4579.
git-svn-id: https://develop.svn.wordpress.org/trunk@6668 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-26 10:18:33 +00:00
Peter Westwood 0db02d1e0d Allow IPv6 addresses as well. Fixes #4579 props pishmishy.
git-svn-id: https://develop.svn.wordpress.org/trunk@6658 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 18:50:52 +00:00
Ryan Boren 86c6a5c1a2 get_col() instead of get_results(). Props fitzrev. fixes #5699
git-svn-id: https://develop.svn.wordpress.org/trunk@6640 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-22 05:50:22 +00:00
Ryan Boren 830b718dcd Eliminate comment_date_gmt <= now from get_lastcommentmodified() queries. fixes #5650
git-svn-id: https://develop.svn.wordpress.org/trunk@6610 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-14 05:59:39 +00:00
Peter Westwood 8151a4a389 Simplify to_ping query. Fixes #5649 props misterbisson.
git-svn-id: https://develop.svn.wordpress.org/trunk@6603 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-12 17:31:17 +00:00
Ryan Boren a50cd52330 phpdoc for comment.php from darkdragon. fixes #5578
git-svn-id: https://develop.svn.wordpress.org/trunk@6553 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 20:03:42 +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 851481d869 wp.getCommentCount from josephscott. fixes #5463
git-svn-id: https://develop.svn.wordpress.org/trunk@6534 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-01 18:40:39 +00:00
Ryan Boren d633240113 Defer comment counting. Props tellyworth. fixes #5557
git-svn-id: https://develop.svn.wordpress.org/trunk@6532 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-01 17:03:52 +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
Ryan Boren 376e2d98af Remove old comment_count_cache variable. It's dead.
git-svn-id: https://develop.svn.wordpress.org/trunk@6348 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-29 05:03:25 +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 d8381c8973 Remove hardcoded clean_url on comment_author_url since it is handled on the pre_comment_author_url filter. Props wnorris. fixes #4120
git-svn-id: https://develop.svn.wordpress.org/trunk@5975 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 19:04:14 +00:00
Matt Mullenweg 7d95821088 Make the entire comment flood check pluggable as it can cause load problems on large sites.
git-svn-id: https://develop.svn.wordpress.org/trunk@5947 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-27 06:34:18 +00:00
Ryan Boren b6f4407016 Don't update comments feed last-modified header for unapproved comments. Props James Ballantine and Nazgul. fixes #4618 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5885 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 19:26:01 +00:00
Ryan Boren 3927faeee5 wp_update_comment_count hook from mdawaffe. fixes #4740
git-svn-id: https://develop.svn.wordpress.org/trunk@5869 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-14 03:08:44 +00:00
Mark Jaquith de83c2db51 Mark pingback as already pinged when the target site says it already got the pingback. props mdawaffe. fixes #4289
git-svn-id: https://develop.svn.wordpress.org/trunk@5772 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 23:28:36 +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
Ryan Boren d9f2285155 Use the right field name ya idjit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5329 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 04:34:44 +00:00
Ryan Boren b9b37cd426 Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@5328 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 03:51:36 +00:00
rob1n 2b3f6e3070 Housekeeping -- clean out debug calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@5307 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:58:51 +00:00
Ryan Boren 51cd99bb02 More clean_url and int casts for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5119 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:45:41 +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 d8336eed5c use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Ryan Boren ec1ca7975e Update comment date gmt when updating comment date. Props mm6. fixes #3503
git-svn-id: https://develop.svn.wordpress.org/trunk@4705 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-09 08:22:28 +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
Ryan Boren ba54bd7839 Some caching cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4631 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 07:35:45 +00:00
Mark Jaquith db44b0a561 Bunch of whitespace and coding standardization.
git-svn-id: https://develop.svn.wordpress.org/trunk@4626 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 03:57:23 +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
Mark Jaquith f66977080e comment link counting improvements from Nazgul. fixes: #938
git-svn-id: https://develop.svn.wordpress.org/trunk@4299 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 04:43:25 +00:00
Mark Jaquith d63bbe60c1 remove comment_user_domain cruft. Props Nazgul. fixes #3197
git-svn-id: https://develop.svn.wordpress.org/trunk@4293 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:58:43 +00:00
Ryan Boren 09830f0bbd Pluggable comment throttling from Mark Jaquith. fixes #3175
git-svn-id: https://develop.svn.wordpress.org/trunk@4265 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-02 18:19:44 +00:00
Matt Mullenweg 06f0097a94 Options cleanup and some styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@4196 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 06:11:42 +00:00
Ryan Boren 7d25a72195 do_action_ref_array(). fixes #3125
git-svn-id: https://develop.svn.wordpress.org/trunk@4186 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-12 17:45:23 +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 cd766e57e9 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:40:17 +00:00
Matt Mullenweg d75bc044ef Clean up how we address IP addresses throughout the code
git-svn-id: https://develop.svn.wordpress.org/trunk@3990 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 00:04:24 +00:00
Ryan Boren 0b25954d38 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +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 5e32c14d39 Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3900 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 19:44:36 +00:00
Ryan Boren aa335e6150 wp_update_comment_count() from MarkJaquith. fixes #2836
git-svn-id: https://develop.svn.wordpress.org/trunk@3887 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-19 17:17:52 +00:00
Ryan Boren d3f6c3ca0d Reworg post/page/attachment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3851 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:17:59 +00:00
Ryan Boren 54f3ab72d5 Add some prophylactic int casts and quoting.
git-svn-id: https://develop.svn.wordpress.org/trunk@3740 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-22 00:02:00 +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