Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MARQAS committed Feb 15, 2024
1 parent b68fd8b commit bc77f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/admin/class-bc-admin-labels-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct() {
* Renders html of the edit labels page
*/
public function render_edit_label_page() {
$label_name = isset( $_GET['update_label'] ) ? $_GET['update_label'] : '';
$label_name = isset( $_GET['update_label'] ) ? $_GET['update_label'] : ''; // phpcs:ignore WordPress.Security.NonceVerification
?>
<div class="wrap">
<h2>
Expand All @@ -47,7 +47,7 @@ public function render_edit_label_page() {
<form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>" class="validate">
<?php wp_nonce_field( 'brightcove-edit-label', 'brightcove-edit-label-nonce' ); ?>
<input type="hidden" name="action" value="brightcove-edit-label">
<input type="hidden" name="label-path" value="<?php esc_attr_e( $label_name, 'brightcove' ); ?>">
<input type="hidden" name="label-path" value="<?php echo esc_attr( $label_name ); ?>">
<table class="form-table">
<tbody>
<tr class="form-field form-required term-name-wrap">
Expand Down

0 comments on commit bc77f97

Please sign in to comment.