Skip to content

Commit

Permalink
Fix WordPress coding standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Arntz committed Oct 3, 2017
1 parent f19671c commit 6ba0642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/CF7BS_Form_Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ public function display( $echo = true ) {
}

$label_required = '';
$required = 'required' == $mode || ( version_compare(WPCF7_VERSION, '4.9', '>=') && 'radio' == $type );
$required = 'required' == $mode || version_compare( WPCF7_VERSION, '4.9', '>=' ) && 'radio' == $type;
if ( $required ) {
$append .= ' aria-required="true" required';
$label_required = ' ' . cf7bs_get_form_property( 'required_html' );
}
if( 'disabled' == $mode ) {
if ( 'disabled' == $mode ) {
$append .= ' disabled';
}

Expand Down

0 comments on commit 6ba0642

Please sign in to comment.