[wp-trac] Re: [WordPress Trac] #4548: De-spamming no spam causes
page header to not be loaded
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 3 19:48:24 GMT 2007
#4548: De-spamming no spam causes page header to not be loaded
----------------------------+-----------------------------------------------
Reporter: Podz | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3 (trunk)
Component: Administration | Version: 2.2.1
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by Otto42):
Forgot the nonce check (needed for security reasons):
{{{
if (isset($_POST['submit']) && 'recover' == $_POST['action'] &&
empty($_POST['not_spam'])) {
check_admin_referer( $akismet_nonce );
wp_redirect( $_SERVER['HTTP_REFERER'] );
}
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/4548#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list