Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Fix option page submission
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Jun 24, 2019
1 parent 333db72 commit c93f997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<div class="wrap">
<h1>Auto Links</h1>

<form method="post" action="options.php">
<form method="post" action="<?= $_SERVER['REQUEST_URI']; ?>">
<input type="hidden" name="option_page" value="discussion">
<input type="hidden" name="action" value="update">
<input type="hidden" id="_wpnonce" name="_wpnonce" value="<?= wp_create_nonce($helper::DOMAIN); ?>"/>
Expand Down

0 comments on commit c93f997

Please sign in to comment.