Plugin Directory

akismet

Opened 12 years ago

Closed 12 years ago

#1571 closed defect (fixed)

stop using referer on "Check for Spam" (akismet recheck queue)

Reported by: _ck_'s profile _ck_'s profile _ck_ Owned by: matt's profile matt's profile matt
Priority: normal Severity: normal
Plugin: akismet Keywords:
Cc:

Description

Akismet is the only part of WordPress that still relies on browser referer to redirect, specifically the "Check for Spam" button,
ie. /wp-admin/admin.php?action=akismet_recheck_queue

This fails for many users because of personal security firewalls/antivirus packages that block browser referer.

Around line 692 in admin.php

wp_redirect( $_SERVER['HTTP_REFERER'] );

Please either pass the old url or return them to the only logical place the function call could have been from, /wp-admin/edit-comments.php - and/or first check if the referer is valid or even exists.

Change History (1)

#1 @xknown
12 years ago

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

In 637926:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.