Skip to content

Commit f4aa36a

Browse files
committed
Fix selected scan speed option value being relected
The 3rd paramiter was set to false meaning it would never echo the selected value even when the current item was the selected one in the database. [PRO-487]
1 parent ffecef8 commit f4aa36a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/options-page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ function edac_full_site_scan_speed_cb() {
413413
<?php foreach ( $speed_values as $value => $label ) : ?>
414414
<option
415415
value="<?php echo esc_attr( $value ); ?>"
416-
<?php selected( $full_site_scan_speed, (int) $value, false ); ?>
416+
<?php selected( $full_site_scan_speed, (int) $value ); ?>
417417
>
418418
<?php echo esc_html( $label ); ?>
419419
</option>

0 commit comments

Comments
 (0)