Unnecessary character in gp_radio_buttons() #610

Closed
Zodiac1978 opened this Issue Nov 15, 2016 · 1 comment

Projects

None yet

2 participants

@Zodiac1978

bildschirmfoto 2016-11-15 um 14 39 42

This line should be corrected to:
$res .= "\t<input type='radio' id='" . esc_attr( "{$name}[{$value}]" ) . "' name='" . esc_attr( $name ) . "' value='" . esc_attr( $value ) . "' $checked />&nbsp;";

PR with all these branches is to complicated for me for this little bug ... sorry ;)

@toolstack toolstack added the bug label Nov 15, 2016
@toolstack toolstack added this to the 2.3 milestone Nov 15, 2016
@toolstack toolstack self-assigned this Nov 15, 2016
@toolstack
Contributor

The extra spaces aren't required, just the removal of the spurious single quote after $checked.

For your reference, PR's should be created against the develop branch.

@ocean90 ocean90 closed this in #611 Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment