rebase code on oct-10-2023
This commit is contained in:
@@ -522,13 +522,7 @@ function wpcf7_format_atts( $atts ) {
|
||||
}
|
||||
|
||||
static $boolean_attributes = array(
|
||||
'checked',
|
||||
'disabled',
|
||||
'inert',
|
||||
'multiple',
|
||||
'readonly',
|
||||
'required',
|
||||
'selected',
|
||||
'checked', 'disabled', 'multiple', 'readonly', 'required', 'selected',
|
||||
);
|
||||
|
||||
if ( in_array( $name, $boolean_attributes ) and '' === $value ) {
|
||||
|
||||
Reference in New Issue
Block a user