Skip to content

Commit

Permalink
Remove call to removed gpc_strip_slashes function from helper_ensure_…
Browse files Browse the repository at this point in the history
…confirmed
  • Loading branch information
mantis committed Oct 13, 2013
1 parent abf73bb commit 47b5417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/helper_api.php
Expand Up @@ -430,8 +430,8 @@ function helper_ensure_confirmed( $p_message, $p_button_label ) {
echo '<form method="post" action="">' . "\n";
# CSRF protection not required here - user needs to confirm action
# before the form is accepted.
print_hidden_inputs( gpc_strip_slashes( $_POST ) );
print_hidden_inputs( gpc_strip_slashes( $_GET ) );
print_hidden_inputs( $_POST );
print_hidden_inputs( $_GET );

echo "<input type=\"hidden\" name=\"_confirmed\" value=\"1\" />\n";
echo '<br /><br /><input type="submit" class="button" value="' . $p_button_label . '" />';
Expand Down

0 comments on commit 47b5417

Please sign in to comment.