Skip to content

Commit 686b796

Browse files
committed
Merge branch 'fix/bulk-delete' into develop
2 parents 097b0c4 + 192ebdf commit 686b796

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,14 +664,14 @@ function action_handle_posts() {
664664
}
665665
check_admin_referer( 'bulk-crontrol-events' );
666666

667-
if ( empty( $_POST['crontrol_delete'] ) ) {
667+
if ( empty( $_POST['crontrol_bulk'] ) ) {
668668
return;
669669
}
670670

671671
/**
672672
* @var array<string,array<string,string>>
673673
*/
674-
$delete = (array) wp_unslash( $_POST['crontrol_delete'] );
674+
$delete = (array) wp_unslash( $_POST['crontrol_bulk'] );
675675
$deleted = 0;
676676

677677
foreach ( $delete as $next_run_utc => $events ) {

0 commit comments

Comments
 (0)