Commit Graph

128 Commits

Author SHA1 Message Date
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz 245d113bfc "Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11741 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-24 07:23:11 +00:00
Ryan Boren 60936ba553 Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11734 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 23:09:47 +00:00
Ryan Boren 0f8ce0e0df Process waiting pings a half hour after the last ping to avoid spamming ping sites. Don't make a ping wait if the last ping was more than half an hour ago. Props VoxPelli. fixes #6698 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11732 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 19:44:21 +00:00
Andrew Ozz 8db7e5a07c "Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11731 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-21 03:11:12 +00:00
Andrew Ozz 3cd210f180 Truncate comment agent when longer than 255 chars, props Denis-de-Bernardy, fixes #10389
git-svn-id: https://develop.svn.wordpress.org/trunk@11713 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-14 08:20:24 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Ryan Boren bc3941424e Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11410 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 17:03:19 +00:00
Ryan Boren c4f78ad63a Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-14 02:00:32 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz 3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Peter Westwood e4f47bc83f Enhance get_comments() phpdoc.
git-svn-id: https://develop.svn.wordpress.org/trunk@11169 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 09:22:44 +00:00
Ryan Boren 3e6b3326c8 Fix status transitions from edit comment form. Props josephscott. fixes #8863
git-svn-id: https://develop.svn.wordpress.org/trunk@11124 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 17:22:08 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren 1952e923f8 gettext contexts. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10767 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 23:02:29 +00:00
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