diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-admin/comment.php --- a/wp/wp-admin/comment.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-admin/comment.php Fri Sep 05 18:40:08 2025 +0200 @@ -16,7 +16,8 @@ * @global string $action */ global $action; -wp_reset_vars( array( 'action' ) ); + +$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : ''; if ( isset( $_POST['deletecomment'] ) ) { $action = 'deletecomment'; @@ -68,8 +69,8 @@ get_current_screen()->set_help_sidebar( '
' . __( 'For more information:' ) . '
' . - '' . __( 'Documentation on Comments' ) . '
' . - '' . __( 'Support' ) . '
' + '' . __( 'Documentation on Comments' ) . '
' . + '' . __( 'Support forums' ) . '
' ); wp_enqueue_script( 'comment' ); @@ -161,11 +162,23 @@ break; } if ( $message ) { - echo '' . $message . '