Fix logs-db redirects
This commit is contained in:
parent
c633db9d65
commit
e2f76bcd54
|
@ -305,7 +305,7 @@ class WC_Admin_Status {
|
|||
WC_Log_Handler_DB::flush();
|
||||
}
|
||||
|
||||
wp_safe_redirect( esc_url_raw( admin_url( 'admin.php?page=wc-status&tab=logs-db' ) ) );
|
||||
wp_safe_redirect( esc_url_raw( admin_url( 'admin.php?page=wc-status&tab=logs' ) ) );
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<?php $log_table_list->display(); ?>
|
||||
|
||||
<input type="hidden" name="page" value="wc-status" />
|
||||
<input type="hidden" name="tab" value="logs-db" />
|
||||
<input type="hidden" name="tab" value="logs" />
|
||||
|
||||
</form>
|
||||
<form method="post" action="">
|
||||
|
|
Loading…
Reference in New Issue