Skip to content

Commit 48a0899

Browse files
author
Cosmin
committed
escaping
1 parent 3c0e0a6 commit 48a0899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/admin/welcome-screen/welcome-screen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function shapely_dismiss_required_action_callback() {
124124

125125
$action_id = ( isset( $_GET['id'] ) ) ? $_GET['id'] : 0;
126126

127-
echo $action_id; /* this is needed and it's the id of the dismissable required action */
127+
echo esc_html( $action_id ); /* this is needed and it's the id of the dismissable required action */
128128

129129
if ( ! empty( $action_id ) ):
130130

0 commit comments

Comments
 (0)