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:
parent
87db3d20a6
commit
791f5db5b4
|
@ -287,6 +287,7 @@ class PageController {
|
|||
|
||||
if ( ! is_array( $files ) || count( $files ) < 1 ) {
|
||||
wp_safe_redirect( $sendback );
|
||||
exit;
|
||||
}
|
||||
|
||||
switch ( $action ) {
|
||||
|
|
Loading…
Reference in New Issue