Skip to content

Commit

Permalink
Fix linting error.
Browse files Browse the repository at this point in the history
  • Loading branch information
renintw committed Sep 25, 2023
1 parent ad40047 commit 004fa0e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ function modify_jetpack_contact_form( $content ) {

$labels = $dom->getElementsByTagName('label');
foreach ( $labels as $label ) {
// phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
if ( 'What event did you organize?' === $label->nodeValue ) {
$input_id = $label->getAttribute('for');
$event_name_field = $dom->getElementById($input_id);
Expand Down

0 comments on commit 004fa0e

Please sign in to comment.