Skip to content

Commit

Permalink
Add site url to download logs url (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmmoreira authored Sep 29, 2022
1 parent e499f34 commit 2df97bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/admin/options.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
?>
</form>
<h2><?php _e('Download Logs', 'mondu'); ?></h2>
<form action='/wp-admin/admin-post.php?action=download_logs' method='post'>
<form action='<?php echo get_option('siteurl'); ?>/wp-admin/admin-post.php?action=download_logs' method='post'>
<input type='hidden' name='action' value='download_logs'>
<label for='date'>Log date:</label>
<input type='date' id='date' name='date' value="<?php echo date('Y-m-d'); ?>" required>
Expand Down

0 comments on commit 2df97bb

Please sign in to comment.