Add support select2 for log_file dropdown

This commit is contained in:
Mostafa Soufi 2022-04-24 23:34:10 +03:00 committed by GitHub
parent 542f7ef918
commit 6e871a1386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
</div>
<div class="alignright">
<form action="<?php echo esc_url( admin_url( 'admin.php?page=wc-status&tab=logs' ) ); ?>" method="post">
<select name="log_file">
<select class="wc-enhanced-select" name="log_file">
<?php foreach ( $logs as $log_key => $log_file ) : ?>
<?php
$timestamp = filemtime( WC_LOG_DIR . $log_file );