Skip to content

Commit 1477228

Browse files
committed
Playground plugin: escape admin url
1 parent 16a3c4d commit 1477228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/playground/templates/playground-page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
);
2121
?>
2222
</span>
23-
<a href="<?php echo admin_url(); ?>" id="goBack">
23+
<a href="<?php echo esc_url(admin_url()); ?>" id="goBack">
2424
<?php esc_attr_e('Go Back', 'playground'); ?>
2525
</a>
2626
</div>

0 commit comments

Comments
 (0)