Skip to content

Commit

Permalink
Restore Default Options doesn't restore default options; see: #181
Browse files Browse the repository at this point in the history
  • Loading branch information
renzms committed Dec 15, 2015
1 parent 784e7fb commit c8c6ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comment-mail/includes/classes/utils-url.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ public function options_updated($scheme = 'admin')
public function restore_default_options($scheme = 'admin')
{
$url = $this->main_menu_page_nonce_only(__NAMESPACE__, $scheme);
$args = array(__NAMESPACE__ => array('restore_default_options' => '1'));
$args = array(__NAMESPACE__ => array('restore_default_options' => time()));

return add_query_arg(urlencode_deep($args), $url);
}
Expand Down

0 comments on commit c8c6ab7

Please sign in to comment.