Commit Graph

153 Commits

Author SHA1 Message Date
Ryan Boren 42e6256e10 Accept either user_id or user_ID. Remove user_id global. see #11271 #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12300 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 02:06:02 +00:00
Ryan Boren 2a1dcbf551 comment status transition was broken due to sneaky reference return in &get_comment. Props skeltoac
git-svn-id: https://develop.svn.wordpress.org/trunk@12292 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-29 20:05:39 +00:00
Andrew Ozz 365fea47fc "Trash" fixes, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12290 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-28 03:56:20 +00:00
Andrew Ozz a675276ce5 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12286 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-27 10:34:09 +00:00
Andrew Ozz 387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Ryan Boren 27db8a8161 Standardize on user_id instead of user_ID when passing comment data. fixes #11222
git-svn-id: https://develop.svn.wordpress.org/trunk@12267 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-23 21:04:11 +00:00
Andrew Ozz 54208d4973 Ignore trashed comments for duplicate comment check, props scribu, fixes #10944
git-svn-id: https://develop.svn.wordpress.org/trunk@12254 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-21 11:31:21 +00:00
Ryan Boren e540e6b3ce Return if no comment queried
git-svn-id: https://develop.svn.wordpress.org/trunk@12223 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 17:58:11 +00:00
Andrew Ozz c875acd15d Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
git-svn-id: https://develop.svn.wordpress.org/trunk@12183 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 05:39:17 +00:00
Ryan Boren 6c86018563 Remove ints from switch. see #11073
git-svn-id: https://develop.svn.wordpress.org/trunk@12150 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 22:53:31 +00:00
Ryan Boren bc7e8e284b Trash comments when trashing a post. see #11073
git-svn-id: https://develop.svn.wordpress.org/trunk@12148 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 21:03:09 +00:00
Andrew Ozz 8a0569e144 Fix possible bad query, props aaroncampbell, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12122 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 03:10:59 +00:00
Ryan Boren e35b179907 Remove slow left join pending better solution. see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12116 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 15:51:58 +00:00
Ryan Boren a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Andrew Ozz 59981a3d5b Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12008 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 08:24:59 +00:00
Andrew Ozz aeab6ed248 Add conditional to handle get_comment_meta() return value, make #comment_id required arg for wp_trash_comment() and wp_untrash_comment(), see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11997 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-05 01:49:19 +00:00
Peter Westwood ef14722014 Delete the trash metadata when untrashing a comment. See #4529 props caesarsgrunt.
git-svn-id: https://develop.svn.wordpress.org/trunk@11992 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 19:59:35 +00:00
Mark Jaquith 737378702c esc_sql() for wp-includes
git-svn-id: https://develop.svn.wordpress.org/trunk@11978 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-27 05:33:56 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Ryan Boren 578e956287 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11968 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:10:28 +00:00
Peter Westwood 8f93bd78f8 Move the storage of the metadata for trashed comments into the comment meta table rather than storing it in an option. See #4529.
git-svn-id: https://develop.svn.wordpress.org/trunk@11945 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:51:12 +00:00
Peter Westwood 482e701639 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11943 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:17:33 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Ryan Boren 3e35ee1c6a Pass correct old status when transitioning comment status. Props hakre. fixes #8863
git-svn-id: https://develop.svn.wordpress.org/trunk@11860 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:27:01 +00:00
Ryan Boren b1447aa6a4 Kill entity check in wp_blacklist_check(). Props tellyworth. fixes #9965
git-svn-id: https://develop.svn.wordpress.org/trunk@11836 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-17 01:38:01 +00:00
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