Logging: Add missing script exit after redirect

Prevents a fatal error that could occur if you submitted the bulk
edit form on the Logs list table without selecting any log files first.

Fixes #41197
This commit is contained in:
Corey McKrill 2023-11-02 16:41:54 -07:00
parent 87db3d20a6
commit 791f5db5b4
No known key found for this signature in database
GPG Key ID: 84BBFE669C4D97B8
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ class PageController {
if ( ! is_array( $files ) || count( $files ) < 1 ) {
wp_safe_redirect( $sendback );
exit;
}
switch ( $action ) {