Skip to content

Commit

Permalink
Fix password reset message bug where reset link is missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannydb committed Jan 15, 2013
1 parent 6b5bae4 commit 43a0732
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions functions.php
Expand Up @@ -628,5 +628,18 @@ function navis_get_theme_resource_url( $type, $filename ) {
trailingslashit( $type ) . $filename;
}

function sw_modify_retrieve_password_messsage($message, $key){

// Replace first open bracket
$message = str_replace('<', '', $message);

// Replace second open bracket
$message = str_replace('>', '', $message);

return $message;
}
add_filter('retrieve_password_message', 'sw_modify_retrieve_password_messsage', 10, 2);



?>

0 comments on commit 43a0732

Please sign in to comment.