Skip to content

Commit

Permalink
Changelog. Wrapping whole attribute in esc_attr().
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhogg committed Sep 24, 2024
1 parent aa31383 commit 7075915
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changelogs/fix_notifications-not-disappearing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
significance: patch
type: fixed
links:
- "#2772"
entry: Fix for notifications no longer auto-dismissing.
2 changes: 1 addition & 1 deletion templates/notifications/basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<?php foreach ( (array) $attributes as $att => $val ) : ?>
<?php echo esc_attr( 'data-' . $att ); ?>="<?php echo esc_attr( $val ); ?>"
<?php endforeach; ?>
id="llms-notification-<?php echo esc_attr( $id ); ?>">
id="<?php echo esc_attr( 'llms-notification-' . $id ); ?>">

<?php do_action( 'llms_before_basic_notification', $id ); ?>

Expand Down

0 comments on commit 7075915

Please sign in to comment.