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: |
|
Owned by: |
|
---|---|---|---|
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.
Note: See
TracTickets for help on using
tickets.
In 637926: