azaozz
|
fe29434e05
|
Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-27 10:34:09 +00:00 |
azaozz
|
c3f7df6b24
|
Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-26 11:29:54 +00:00 |
ryan
|
cfc8317abe
|
Standardize on user_id instead of user_ID when passing comment data. fixes #11222
git-svn-id: http://svn.automattic.com/wordpress/trunk@12267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-23 21:04:11 +00:00 |
azaozz
|
986cc7d505
|
Ignore trashed comments for duplicate comment check, props scribu, fixes #10944
git-svn-id: http://svn.automattic.com/wordpress/trunk@12254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-21 11:31:21 +00:00 |
ryan
|
c8ead9801c
|
Return if no comment queried
git-svn-id: http://svn.automattic.com/wordpress/trunk@12223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-19 17:58:11 +00:00 |
azaozz
|
dc7d0f1dff
|
Always show "Configure" links on dashboard widgets in IE6, fix "Right Now" comments counts, fixes #11129
git-svn-id: http://svn.automattic.com/wordpress/trunk@12183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-13 05:39:17 +00:00 |
ryan
|
87208b9a48
|
Remove ints from switch. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-05 22:53:31 +00:00 |
ryan
|
33a8043b97
|
Trash comments when trashing a post. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-05 21:03:09 +00:00 |
azaozz
|
b86f746d21
|
Fix possible bad query, props aaroncampbell, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-28 03:10:59 +00:00 |
ryan
|
0dd4b4ab9e
|
Remove slow left join pending better solution. see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-27 15:51:58 +00:00 |
ryan
|
bf96c01551
|
Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-15 20:26:21 +00:00 |
azaozz
|
d20c23e98d
|
Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-08 08:24:59 +00:00 |
azaozz
|
ba6b275c7a
|
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: http://svn.automattic.com/wordpress/trunk@11997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-05 01:49:19 +00:00 |
westi
|
606b6197b5
|
Delete the trash metadata when untrashing a comment. See #4529 props caesarsgrunt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-01 19:59:35 +00:00 |
markjaquith
|
4ead128521
|
esc_sql() for wp-includes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-27 05:33:56 +00:00 |
ryan
|
57f26bb58e
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-24 17:19:13 +00:00 |
ryan
|
ead46cf470
|
Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-24 17:10:28 +00:00 |
westi
|
ef11608c43
|
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: http://svn.automattic.com/wordpress/trunk@11945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 20:51:12 +00:00 |
westi
|
c67e70dd91
|
First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 20:17:33 +00:00 |
ryan
|
8e3808bce2
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-14 14:03:32 +00:00 |
ryan
|
0e3f9e6b8d
|
Pass correct old status when transitioning comment status. Props hakre. fixes #8863
git-svn-id: http://svn.automattic.com/wordpress/trunk@11860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-21 01:27:01 +00:00 |
ryan
|
9eef5564d5
|
Kill entity check in wp_blacklist_check(). Props tellyworth. fixes #9965
git-svn-id: http://svn.automattic.com/wordpress/trunk@11836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-17 01:38:01 +00:00 |
azaozz
|
39e4f05a15
|
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-30 13:39:34 +00:00 |
azaozz
|
2040971211
|
"Trash" status for comments updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-24 07:23:11 +00:00 |
ryan
|
f7e02a7c22
|
Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 23:09:47 +00:00 |
ryan
|
98e73f0c98
|
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: http://svn.automattic.com/wordpress/trunk@11732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 19:44:21 +00:00 |
azaozz
|
d2fec31c0e
|
"Trash" status for comments, first run, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 03:11:12 +00:00 |
azaozz
|
9f6cd3b709
|
Truncate comment agent when longer than 255 chars, props Denis-de-Bernardy, fixes #10389
git-svn-id: http://svn.automattic.com/wordpress/trunk@11713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-14 08:20:24 +00:00 |
ryan
|
2df887bd07
|
Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-24 23:47:49 +00:00 |
ryan
|
05d4c954ac
|
Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-20 17:03:19 +00:00 |
ryan
|
1354d0660a
|
Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-14 02:00:32 +00:00 |
markjaquith
|
6c2ffddf31
|
_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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 19:43:53 +00:00 |
azaozz
|
83f674bf9a
|
Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 04:28:05 +00:00 |
westi
|
96eb01c3ac
|
Enhance get_comments() phpdoc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-04 09:22:44 +00:00 |
ryan
|
1d2a1111a0
|
Fix status transitions from edit comment form. Props josephscott. fixes #8863
git-svn-id: http://svn.automattic.com/wordpress/trunk@11124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-29 17:22:08 +00:00 |
ryan
|
2d489767bb
|
s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-28 05:58:45 +00:00 |
ryan
|
e8b6fe7347
|
Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-18 02:43:45 +00:00 |
ryan
|
d10b538652
|
gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-10 23:02:29 +00:00 |
ryan
|
45e76b1b55
|
Reparent children when deleting a comment. Props vladimir_kolesnikov. fixes #9003
git-svn-id: http://svn.automattic.com/wordpress/trunk@10762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-10 19:02:27 +00:00 |
ryan
|
c1886783d1
|
Use wpdb::insert() and update(). see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-06 05:06:15 +00:00 |
ryan
|
d43bd8177c
|
Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-06 04:27:51 +00:00 |
ryan
|
3e3cb817f1
|
Add some error feedback to ajax comment moderation. see #9261
git-svn-id: http://svn.automattic.com/wordpress/trunk@10681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-02 21:48:37 +00:00 |
ryan
|
b5a65633d0
|
discover_pingback_server_uri optimizations. Props DD32. fixes #8816
git-svn-id: http://svn.automattic.com/wordpress/trunk@10579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-15 20:56:54 +00:00 |
ryan
|
e18f062b92
|
Disambiguate 'Approved' translation. Props nbachiyski. fixes #8638
git-svn-id: http://svn.automattic.com/wordpress/trunk@10564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-12 20:42:04 +00:00 |
azaozz
|
fdcf39c107
|
Make comment_karma accessible from normal comment API functions, props beaulebens, fixes #9085
git-svn-id: http://svn.automattic.com/wordpress/trunk@10536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-10 19:16:00 +00:00 |
ryan
|
94ac6098e2
|
wp_insert_comment action
git-svn-id: http://svn.automattic.com/wordpress/trunk@10465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-01-29 22:22:20 +00:00 |
ryan
|
9bdf38f5c2
|
Don't count emoticons toward link total. Props tott. fixes #8627 #7821 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-01-28 21:12:57 +00:00 |
ryan
|
b2b22f66d2
|
Include only approved comments when determining page of comment. Props GregMulhauser. fixes #8973 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-01-28 18:43:08 +00:00 |
ryan
|
a3becc9f3a
|
Close comments for old posts, pages, and attachments, not just posts. Props mrmist. fixes #8740
git-svn-id: http://svn.automattic.com/wordpress/trunk@10273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-30 20:09:40 +00:00 |
ryan
|
e89192b1a8
|
Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-09 18:03:31 +00:00 |
markjaquith
|
85d594a716
|
Only count specific comment approval types for the types we know about, to avoid a potential notice. fixes #8503
git-svn-id: http://svn.automattic.com/wordpress/trunk@10136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-09 08:07:52 +00:00 |
ryan
|
9f56c8eba4
|
Add paging links above comments list. Props Viper007Bond. fixes #8219
git-svn-id: http://svn.automattic.com/wordpress/trunk@10097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-07 04:49:22 +00:00 |
ryan
|
b3745318f4
|
Allow plugins to hook in a custom comment counter
git-svn-id: http://svn.automattic.com/wordpress/trunk@10078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-05 23:40:09 +00:00 |
westi
|
cfbc31027e
|
Fix Notice on comment posting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-04 20:26:05 +00:00 |
markjaquith
|
30c3602b92
|
Improvements for get_comment_link() from Viper007Bond. fixes #8287
git-svn-id: http://svn.automattic.com/wordpress/trunk@9808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-20 06:41:55 +00:00 |
markjaquith
|
ef4c17e167
|
Count links in comments after performing automatic linking. props tott. fixes #7821
git-svn-id: http://svn.automattic.com/wordpress/trunk@9782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-19 07:08:37 +00:00 |
ryan
|
8f19010b2d
|
Use pings_open() to check ping status
git-svn-id: http://svn.automattic.com/wordpress/trunk@9696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-14 22:33:13 +00:00 |
ryan
|
2bab4e2ec0
|
Differentiate between plural noun, verb and adjective Spam translations. Props nbachiyski. fixes #8154
git-svn-id: http://svn.automattic.com/wordpress/trunk@9615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-11 19:54:54 +00:00 |
markjaquith
|
8d544355df
|
Use prepare() in get_comments()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-10 22:16:50 +00:00 |
ryan
|
545da15950
|
Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-10 18:54:18 +00:00 |
ryan
|
3b043a8308
|
notice fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-06 02:05:59 +00:00 |
markjaquith
|
88bfbbd948
|
Massive get_comment_link() performance improvements for posts with a lot of comments. props Viper007Bond. fixes #7956
git-svn-id: http://svn.automattic.com/wordpress/trunk@9522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-05 07:09:20 +00:00 |
ryan
|
feab9ff5f1
|
Add caching to get_comments(). see #8057
git-svn-id: http://svn.automattic.com/wordpress/trunk@9511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-04 16:44:55 +00:00 |
ryan
|
c31fcfdab3
|
Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-03 06:44:48 +00:00 |
ryan
|
08998169ad
|
get_page_of_comment() fixes from Viper007Bond. see #7956
git-svn-id: http://svn.automattic.com/wordpress/trunk@9379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-28 07:29:04 +00:00 |
ryan
|
8d76dc5af1
|
get_page_of_comment() fixes from Viper007Bond. see #7956
git-svn-id: http://svn.automattic.com/wordpress/trunk@9377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-28 07:17:29 +00:00 |
azaozz
|
f7ea3c572b
|
Fix redirecting of old slugs when Close Old Comments is enabled, props DD32, fixes #7976
git-svn-id: http://svn.automattic.com/wordpress/trunk@9373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-28 01:20:38 +00:00 |
ryan
|
53220e2a0e
|
Make get_comment_link() paging aware. Props Viper007Bond. see #7956
git-svn-id: http://svn.automattic.com/wordpress/trunk@9367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-27 16:31:26 +00:00 |
ryan
|
e3517a9be4
|
Send 403 instead of 500 for comment flood protection. Allow specifying response code for wp_die(). Props DD32. fixes #7246
git-svn-id: http://svn.automattic.com/wordpress/trunk@9335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-24 21:00:40 +00:00 |
ryan
|
91841f2e3c
|
Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: http://svn.automattic.com/wordpress/trunk@9296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-23 16:08:47 +00:00 |
ryan
|
729539ef94
|
Don't double encode ping/trackbacks. Props reinkim. fixes #7844
git-svn-id: http://svn.automattic.com/wordpress/trunk@9292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-22 22:48:14 +00:00 |
ryan
|
3be95653d0
|
comment_status transition hooks from Viper007Bond. fixes #7894
git-svn-id: http://svn.automattic.com/wordpress/trunk@9195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-16 04:18:45 +00:00 |
ryan
|
33bcf4ec87
|
Error checking for HTTP requests. Props jacobsantos. see #7793
git-svn-id: http://svn.automattic.com/wordpress/trunk@9051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-02 00:32:21 +00:00 |
ryan
|
d0ae9b2196
|
If comment type is empty set it to 'comment'. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@9039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-30 19:49:26 +00:00 |
ryan
|
a21c2c2890
|
Make pings_open() and comments_open() aware of old post settings. see #7741
git-svn-id: http://svn.automattic.com/wordpress/trunk@9015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-28 03:31:26 +00:00 |
westi
|
7aa23c8b4f
|
Move the pingbacks and trackbacks to the new HTTP api. See #7793 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-27 21:40:09 +00:00 |
azaozz
|
df5ff389e9
|
phpDoc corrections for comment.php, props jacobsantos, fixes #7550
git-svn-id: http://svn.automattic.com/wordpress/trunk@8956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-22 20:21:10 +00:00 |
azaozz
|
533f1ab81b
|
Complete comment.php inline documentation, props jacobsantos, fixes #5578
git-svn-id: http://svn.automattic.com/wordpress/trunk@8949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-22 03:39:41 +00:00 |
ryan
|
3aad45d7e4
|
Add type argument to wp_list_comments(). Make comments arg optional. Introduce separate_comments(). see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-16 00:23:38 +00:00 |
ryan
|
ef80502b9a
|
Close comments for old posts. see #7741
git-svn-id: http://svn.automattic.com/wordpress/trunk@8892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-15 16:26:37 +00:00 |
azaozz
|
7e721f6b92
|
Ignore comment_max_links option when zero, props tellyworth, fixes #7699
git-svn-id: http://svn.automattic.com/wordpress/trunk@8833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-06 05:59:56 +00:00 |
ryan
|
2192b1f450
|
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: http://svn.automattic.com/wordpress/trunk@8813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-05 15:43:26 +00:00 |
azaozz
|
95fa29a208
|
Reply to comments from admin, first run, see #7435
git-svn-id: http://svn.automattic.com/wordpress/trunk@8720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-24 06:56:22 +00:00 |
ryan
|
e68d5f07b4
|
comment_approved can be zero, so check with isset instead of empty. fixes #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-12 16:23:47 +00:00 |
markjaquith
|
74c46749cb
|
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-06 20:31:54 +00:00 |
ryan
|
1b0bfced2e
|
XML-RPC comments API. see #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-04 22:29:37 +00:00 |
westi
|
bf35dedced
|
PHPDoc updates for comment.php. See #5578 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-06-15 09:34:00 +00:00 |
ryan
|
f7f3005004
|
close the socket in discover_pingback_server_uri
git-svn-id: http://svn.automattic.com/wordpress/trunk@8052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-06-04 23:36:55 +00:00 |
ryan
|
f57354bf63
|
Fix duplicate comment notifications. Props MtDewVirus. fixes #6892 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-28 15:37:59 +00:00 |
ryan
|
359601b720
|
Resurrect comment approval notification. Props chmac. fixes #6892 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-12 16:14:15 +00:00 |
markjaquith
|
25b49b2ceb
|
Remove last remaining user level checks in favor of capabilities checks. props filosofo. fixes #6940
git-svn-id: http://svn.automattic.com/wordpress/trunk@7912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-09 00:45:17 +00:00 |
ryan
|
63d12e0b39
|
Use 'counts' cache group. see #6884
git-svn-id: http://svn.automattic.com/wordpress/trunk@7878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-02 19:42:44 +00:00 |
ryan
|
8c59e943d4
|
Add per post counting to wp_count_comments(). Props josephscott. fixes #6884
git-svn-id: http://svn.automattic.com/wordpress/trunk@7868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-01 16:52:48 +00:00 |
ryan
|
e399f6ad54
|
Cache comment count and use count API in menu.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@7714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-16 23:45:39 +00:00 |
ryan
|
ce1fed1a02
|
Strip slashes before preparing comment insert to avoid double-slashing. Props filosofo. fixes #6738
git-svn-id: http://svn.automattic.com/wordpress/trunk@7690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-15 18:05:08 +00:00 |
ryan
|
56f15cb1bf
|
Add missing comma. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-14 16:45:12 +00:00 |
ryan
|
248a0c06e2
|
Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-14 16:13:25 +00:00 |
markjaquith
|
fda19a41bf
|
don't time-throttle comments from Administrators
git-svn-id: http://svn.automattic.com/wordpress/trunk@7425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-20 20:32:18 +00:00 |
ryan
|
6e181bb941
|
Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: http://svn.automattic.com/wordpress/trunk@7140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-03 21:05:23 +00:00 |
ryan
|
93f0c00cb7
|
Manage comments rework. WIP
git-svn-id: http://svn.automattic.com/wordpress/trunk@6994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-23 08:33:44 +00:00 |
ryan
|
1857fc1627
|
generic_ping() improvements from fitztrev. fixes #5855
git-svn-id: http://svn.automattic.com/wordpress/trunk@6853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-14 21:50:43 +00:00 |
ryan
|
8fecb97b09
|
Order by and index on comment_date_gmt instead of comment_date to insulate order from offset changes. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-05 23:29:59 +00:00 |
ryan
|
b67bbb9e4e
|
Add key on comment_approved,comment_date to speed up last comment modified queries. fixes #5773
git-svn-id: http://svn.automattic.com/wordpress/trunk@6729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-05 18:04:17 +00:00 |
ryan
|
d88983793b
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-05 06:47:27 +00:00 |
westi
|
2ac5c0204f
|
Remove the duplicate code for sanitising IP Addresses we only need to do it once. Fixes #4579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-26 10:18:33 +00:00 |
westi
|
f9ba9a3802
|
Allow IPv6 addresses as well. Fixes #4579 props pishmishy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-25 18:50:52 +00:00 |
ryan
|
6726698979
|
get_col() instead of get_results(). Props fitzrev. fixes #5699
git-svn-id: http://svn.automattic.com/wordpress/trunk@6640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-22 05:50:22 +00:00 |
ryan
|
74cad1dac8
|
Eliminate comment_date_gmt <= now from get_lastcommentmodified() queries. fixes #5650
git-svn-id: http://svn.automattic.com/wordpress/trunk@6610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-14 05:59:39 +00:00 |
westi
|
e0856a070f
|
Simplify to_ping query. Fixes #5649 props misterbisson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-12 17:31:17 +00:00 |
ryan
|
502a542d64
|
phpdoc for comment.php from darkdragon. fixes #5578
git-svn-id: http://svn.automattic.com/wordpress/trunk@6553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-04 20:03:42 +00:00 |
ryan
|
1ae1811dd0
|
Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-04 19:36:34 +00:00 |
ryan
|
99b6eff02c
|
wp.getCommentCount from josephscott. fixes #5463
git-svn-id: http://svn.automattic.com/wordpress/trunk@6534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-01 18:40:39 +00:00 |
ryan
|
8b64f70945
|
Defer comment counting. Props tellyworth. fixes #5557
git-svn-id: http://svn.automattic.com/wordpress/trunk@6532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-01 17:03:52 +00:00 |
ryan
|
028a159440
|
Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-06 19:49:33 +00:00 |
ryan
|
5c07742cd3
|
Remove old comment_count_cache variable. It's dead.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-11-29 05:03:25 +00:00 |
markjaquith
|
47955b3fae
|
prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-27 07:34:15 +00:00 |
ryan
|
0f6dfb8b1f
|
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: http://svn.automattic.com/wordpress/trunk@5975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-29 19:04:14 +00:00 |
matt
|
d9793c3e8d
|
Make the entire comment flood check pluggable as it can cause load problems on large sites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-27 06:34:18 +00:00 |
ryan
|
948284b296
|
Don't update comments feed last-modified header for unapproved comments. Props James Ballantine and Nazgul. fixes #4618 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-16 19:26:01 +00:00 |
ryan
|
ddc05f60ea
|
wp_update_comment_count hook from mdawaffe. fixes #4740
git-svn-id: http://svn.automattic.com/wordpress/trunk@5869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-14 03:08:44 +00:00 |
markjaquith
|
a2f7332558
|
Mark pingback as already pinged when the target site says it already got the pingback. props mdawaffe. fixes #4289
git-svn-id: http://svn.automattic.com/wordpress/trunk@5772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-27 23:28:36 +00:00 |
ryan
|
9d3d20f063
|
Use EXTR_SKIP when extracting. see #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 22:45:40 +00:00 |
ryan
|
f2f6101e1c
|
Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: http://svn.automattic.com/wordpress/trunk@5666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-08 00:20:22 +00:00 |
ryan
|
8aaa48e041
|
Use the right field name ya idjit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-27 04:34:44 +00:00 |
ryan
|
d44752d2ca
|
Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-27 03:51:36 +00:00 |
rob1n
|
56add54053
|
Housekeeping -- clean out debug calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-24 23:58:51 +00:00 |
ryan
|
4de9ca69c2
|
More clean_url and int casts for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-27 23:45:41 +00:00 |
matt
|
3d21925922
|
Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-23 02:05:29 +00:00 |
matt
|
7602d17899
|
(int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-23 00:59:21 +00:00 |
markjaquith
|
611b037efa
|
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: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-17 08:46:59 +00:00 |
ryan
|
7ba967ebd2
|
Update comment date gmt when updating comment date. Props mm6. fixes #3503
git-svn-id: http://svn.automattic.com/wordpress/trunk@4705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-09 08:22:28 +00:00 |
markjaquith
|
5a76c03203
|
new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-21 10:10:04 +00:00 |
ryan
|
203f6c5ab4
|
Some caching cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-08 07:35:45 +00:00 |
markjaquith
|
0aa19529f9
|
Bunch of whitespace and coding standardization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-07 03:57:23 +00:00 |
ryan
|
9f534ebae6
|
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-19 07:56:05 +00:00 |
markjaquith
|
1b1b5bfe03
|
comment link counting improvements from Nazgul. fixes: #938
git-svn-id: http://svn.automattic.com/wordpress/trunk@4299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-04 04:43:25 +00:00 |
markjaquith
|
2c775dede6
|
remove comment_user_domain cruft. Props Nazgul. fixes #3197
git-svn-id: http://svn.automattic.com/wordpress/trunk@4293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-04 03:58:43 +00:00 |
ryan
|
8a4b655453
|
Pluggable comment throttling from Mark Jaquith. fixes #3175
git-svn-id: http://svn.automattic.com/wordpress/trunk@4265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-02 18:19:44 +00:00 |
matt
|
67d5a6d3c7
|
Options cleanup and some styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-19 06:11:42 +00:00 |
ryan
|
ad1924f837
|
do_action_ref_array(). fixes #3125
git-svn-id: http://svn.automattic.com/wordpress/trunk@4186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-12 17:45:23 +00:00 |
ryan
|
849a0d29d7
|
Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 21:46:31 +00:00 |
ryan
|
efcb63ad21
|
s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: http://svn.automattic.com/wordpress/trunk@4133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 16:40:17 +00:00 |
matt
|
7c65645c62
|
Clean up how we address IP addresses throughout the code
git-svn-id: http://svn.automattic.com/wordpress/trunk@3990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-07-06 00:04:24 +00:00 |
ryan
|
42557940a1
|
Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-07-05 22:00:03 +00:00 |
ryan
|
1034767a9a
|
wp_get_current_commenter()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-22 20:52:12 +00:00 |
ryan
|
e673d82afb
|
Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-22 19:44:36 +00:00 |
ryan
|
8ae8b35c10
|
wp_update_comment_count() from MarkJaquith. fixes #2836
git-svn-id: http://svn.automattic.com/wordpress/trunk@3887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-19 17:17:52 +00:00 |
ryan
|
3c8ed766e1
|
Reworg post/page/attachment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-07 23:17:59 +00:00 |
ryan
|
8da6c47ae3
|
Add some prophylactic int casts and quoting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-22 00:02:00 +00:00 |
ryan
|
6027cfa946
|
Reorg comment functions. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-19 02:32:12 +00:00 |