Skip to content

Commit 090dbbe

Browse files
author
Cosmin
authored
Merge pull request #15 from c0sm1n87/master
various bug fixes
2 parents 457d840 + 48a0899 commit 090dbbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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

@@ -331,7 +331,7 @@ public function shapely_welcome_screen() {
331331

332332
<div class="wrap about-wrap epsilon-wrap">
333333

334-
<h1><?php echo __( 'Welcome to Shapely! - Version ', 'shapely' ) . $shapely['Version']; ?></h1>
334+
<h1><?php echo esc_html__( 'Welcome to Shapely! - Version ', 'shapely' ) . $shapely['Version']; ?></h1>
335335

336336
<div
337337
class="about-text"><?php echo esc_html__( 'Shapely is now installed and ready to use! Get ready to build something beautiful. We hope you enjoy it! We want to make sure you have the best experience using shapely and that is why we gathered here all the necessary information for you. We hope you will enjoy using shapely, as much as we enjoy creating great products.', 'shapely' ); ?></div>

0 commit comments

Comments
 (0)