Skip to content

Commit

Permalink
add escaping to class attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
psorensen committed Jul 25, 2024
1 parent 5652db4 commit 00baf4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function add_toolbar_item( $admin_bar ) {
'parent' => 'top-secondary',
'title' => '<span class="ab-icon" aria-hidden="true"></span><span class="ab-label">' . esc_html( $this->get_environment_label( $environment ) ) . '</span>',
'meta' => [
'class' => "tenup-$environment",
'class' => esc_attr( "tenup-$environment" ),
],
]
);
Expand Down

0 comments on commit 00baf4c

Please sign in to comment.