Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#14612 closed defect (bug) (fixed)

Akismet doesn't play nice with the ajaxified comment screen

Reported by: scribu's profile scribu Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description

After [15491], when Akismet is activated, strange things happen:

  • the pagination is unstyled
  • clicking on Spam or Delete on a comment makes all the other comments dissapear

Change History (5)

#1 @scribu
15 years ago

This is what I get with the second issue:

#1  fsockopen(.rest.akismet.com, 80, 0, , 10) called at [/home/cristi/svn/wp/wp-content/plugins/akismet/akismet.php:414]
#2  akismet_http_post(comment_ID=3&comment_post_ID=26&comment_author=nova&comment_author_email=discotequeidioteque%40gmail.com&comment_author_url=http%3A%2F%2F&comment_author_IP=82.76.172.109&comment_date=2009-04-25+22%3A15%3A10&comment_date_gmt=2009-04-25+19%3A15%3A10&comment_content=din+coltul+drept+de+jos+la+stanga&comment_karma=0&comment_approved=spam&comment_agent=&comment_type=&comment_parent=0&user_id=0&blog=http%3A%2F%2Flocalhost%2Fwp&blog_lang=en_US&blog_charset=UTF-8&permalink=http%3A%2F%2Flocalhost%2Fwp%2Fblog%2F2009%2F01%2F13%2F26%2F&reporter=admin&site_domain=localhost&user_role=&, .rest.akismet.com, /1.1/submit-spam, 80) called at [/home/cristi/svn/wp/wp-content/plugins/akismet/akismet.php:538]
#3  akismet_submit_spam_comment(3) called at [/home/cristi/svn/wp/wp-content/plugins/akismet/akismet.php:558]
#4  akismet_transition_comment_status(spam, approved, stdClass Object ([comment_ID] => 3,[comment_post_ID] => 26,[comment_author] => nova,[comment_author_email] => discotequeidioteque@gmail.com,[comment_author_url] => http://,[comment_author_IP] => 82.76.172.109,[comment_date] => 2009-04-25 22:15:10,[comment_date_gmt] => 2009-04-25 19:15:10,[comment_content] => din coltul drept de jos la stanga,[comment_karma] => 0,[comment_approved] => 1,[comment_agent] => ,[comment_type] => ,[comment_parent] => 0,[user_id] => 0))
#5  call_user_func_array(akismet_transition_comment_status, Array ([0] => spam,[1] => approved,[2] => stdClass Object ([comment_ID] => 3,[comment_post_ID] => 26,[comment_author] => nova,[comment_author_email] => discotequeidioteque@gmail.com,[comment_author_url] => http://,[comment_author_IP] => 82.76.172.109,[comment_date] => 2009-04-25 22:15:10,[comment_date_gmt] => 2009-04-25 19:15:10,[comment_content] => din coltul drept de jos la stanga,[comment_karma] => 0,[comment_approved] => 1,[comment_agent] => ,[comment_type] => ,[comment_parent] => 0,[user_id] => 0))) called at [/home/cristi/svn/wp/wp-includes/plugin.php:395]
#6  do_action(transition_comment_status, spam, approved, stdClass Object ([comment_ID] => 3,[comment_post_ID] => 26,[comment_author] => nova,[comment_author_email] => discotequeidioteque@gmail.com,[comment_author_url] => http://,[comment_author_IP] => 82.76.172.109,[comment_date] => 2009-04-25 22:15:10,[comment_date_gmt] => 2009-04-25 19:15:10,[comment_content] => din coltul drept de jos la stanga,[comment_karma] => 0,[comment_approved] => 1,[comment_agent] => ,[comment_type] => ,[comment_parent] => 0,[user_id] => 0)) called at [/home/cristi/svn/wp/wp-includes/comment.php:1105]
#7  wp_transition_comment_status(spam, 1, stdClass Object ([comment_ID] => 3,[comment_post_ID] => 26,[comment_author] => nova,[comment_author_email] => discotequeidioteque@gmail.com,[comment_author_url] => http://,[comment_author_IP] => 82.76.172.109,[comment_date] => 2009-04-25 22:15:10,[comment_date_gmt] => 2009-04-25 19:15:10,[comment_content] => din coltul drept de jos la stanga,[comment_karma] => 0,[comment_approved] => 1,[comment_agent] => ,[comment_type] => ,[comment_parent] => 0,[user_id] => 0)) called at [/home/cristi/svn/wp/wp-includes/comment.php:1356]
#8  wp_set_comment_status(3, spam) called at [/home/cristi/svn/wp/wp-includes/comment.php:1004]
#9  wp_spam_comment(3) called at [/home/cristi/svn/wp/wp-admin/admin-ajax.php:332]

fsockopen(): unable to connect to .rest.akismet.com:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known)

#1  fsockopen(.rest.akismet.com, 80, 0, , 10) called at [/home/cristi/svn/wp/wp-content/plugins/akismet/akismet.php:414]
#2  akismet_http_post(comment_ID=3&comment_post_ID=26&comment_author=nova&comment_author_email=discotequeidioteque%40gmail.com&comment_author_url=http%3A%2F%2F&comment_author_IP=82.76.172.109&comment_date=2009-04-25+22%3A15%3A10&comment_date_gmt=2009-04-25+19%3A15%3A10&comment_content=din+coltul+drept+de+jos+la+stanga&comment_karma=0&comment_approved=spam&comment_agent=&comment_type=&comment_parent=0&user_id=0&blog=http%3A%2F%2Flocalhost%2Fwp&blog_lang=en_US&blog_charset=UTF-8&permalink=http%3A%2F%2Flocalhost%2Fwp%2Fblog%2F2009%2F01%2F13%2F26%2F&reporter=admin&site_domain=localhost&user_role=&, .rest.akismet.com, /1.1/submit-spam, 80) called at [/home/cristi/svn/wp/wp-content/plugins/akismet/akismet.php:538]
#3  akismet_submit_spam_comment(3) called at [/home/cristi/svn/wp/wp-content/plugins/akismet/akismet.php:558]
#4  akismet_transition_comment_status(spam, approved, stdClass Object ([comment_ID] => 3,[comment_post_ID] => 26,[comment_author] => nova,[comment_author_email] => discotequeidioteque@gmail.com,[comment_author_url] => http://,[comment_author_IP] => 82.76.172.109,[comment_date] => 2009-04-25 22:15:10,[comment_date_gmt] => 2009-04-25 19:15:10,[comment_content] => din coltul drept de jos la stanga,[comment_karma] => 0,[comment_approved] => 1,[comment_agent] => ,[comment_type] => ,[comment_parent] => 0,[user_id] => 0))
#5  call_user_func_array(akismet_transition_comment_status, Array ([0] => spam,[1] => approved,[2] => stdClass Object ([comment_ID] => 3,[comment_post_ID] => 26,[comment_author] => nova,[comment_author_email] => discotequeidioteque@gmail.com,[comment_author_url] => http://,[comment_author_IP] => 82.76.172.109,[comment_date] => 2009-04-25 22:15:10,[comment_date_gmt] => 2009-04-25 19:15:10,[comment_content] => din coltul drept de jos la stanga,[comment_karma] => 0,[comment_approved] => 1,[comment_agent] => ,[comment_type] => ,[comment_parent] => 0,[user_id] => 0))) called at [/home/cristi/svn/wp/wp-includes/plugin.php:395]
#6  do_action(transition_comment_status, spam, approved, stdClass Object ([comment_ID] => 3,[comment_post_ID] => 26,[comment_author] => nova,[comment_author_email] => discotequeidioteque@gmail.com,[comment_author_url] => http://,[comment_author_IP] => 82.76.172.109,[comment_date] => 2009-04-25 22:15:10,[comment_date_gmt] => 2009-04-25 19:15:10,[comment_content] => din coltul drept de jos la stanga,[comment_karma] => 0,[comment_approved] => 1,[comment_agent] => ,[comment_type] => ,[comment_parent] => 0,[user_id] => 0)) called at [/home/cristi/svn/wp/wp-includes/comment.php:1105]
#7  wp_transition_comment_status(spam, 1, stdClass Object ([comment_ID] => 3,[comment_post_ID] => 26,[comment_author] => nova,[comment_author_email] => discotequeidioteque@gmail.com,[comment_author_url] => http://,[comment_author_IP] => 82.76.172.109,[comment_date] => 2009-04-25 22:15:10,[comment_date_gmt] => 2009-04-25 19:15:10,[comment_content] => din coltul drept de jos la stanga,[comment_karma] => 0,[comment_approved] => 1,[comment_agent] => ,[comment_type] => ,[comment_parent] => 0,[user_id] => 0)) called at [/home/cristi/svn/wp/wp-includes/comment.php:1356]
#8  wp_set_comment_status(3, spam) called at [/home/cristi/svn/wp/wp-includes/comment.php:1004]
#9  wp_spam_comment(3) called at [/home/cristi/svn/wp/wp-admin/admin-ajax.php:332]

#2 @scribu
15 years ago

Further testing revealed that the second issue also happens when Akismet is deactivated.

#3 @josephscott
15 years ago

The pagination is not styled correctly because the underlying HTML of the page was changed.

#4 @scribu
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15502]) WP_Comments_Table::extra_tablenav() - move the closing div back to it's original position. Fixes #14612. Props josephscott

#5 @scribu
15 years ago

  • Milestone changed from WordPress.org site to 3.1
Note: See TracTickets for help on using tickets.