Add support select2 for log_file dropdown
This commit is contained in:
parent
542f7ef918
commit
6e871a1386
|
@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
</div>
|
</div>
|
||||||
<div class="alignright">
|
<div class="alignright">
|
||||||
<form action="<?php echo esc_url( admin_url( 'admin.php?page=wc-status&tab=logs' ) ); ?>" method="post">
|
<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 foreach ( $logs as $log_key => $log_file ) : ?>
|
||||||
<?php
|
<?php
|
||||||
$timestamp = filemtime( WC_LOG_DIR . $log_file );
|
$timestamp = filemtime( WC_LOG_DIR . $log_file );
|
||||||
|
|
Loading…
Reference in New Issue