Commit 51f65e04 authored by Michael Iseard's avatar Michael Iseard
Browse files

Rename "resync" to "sync"

parent 51283347
......@@ -551,7 +551,7 @@ class Admin {
new AdminNotice( __( 'Database re-created', 'kudos-donations' ) );
break;
case 'kudos_resync_payments':
case 'kudos_sync_payments':
$mollie = $this->mollie;
$updated = $mollie->sync_transactions();
if($updated) {
......
......@@ -209,9 +209,9 @@ $tab = $_GET['tab'] ?? $default_tab;
<p>Mollie actions.</p>
<form action="<?php echo esc_url( $url ); ?>" method='post'>
<?php wp_nonce_field( 'kudos_resync_payments' ); ?>
<?php wp_nonce_field( 'kudos_sync_payments' ); ?>
<button class="button-secondary confirm" type='submit' name='kudos_action'
value='kudos_resync_payments'>Resync payments
value='kudos_sync_payments'>Sync payments
</button>
</form>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment