Plugin Updates
This commit is contained in:
@@ -375,7 +375,7 @@ class WPCF7_Submission {
|
||||
$value_orig = $value = $posted_data[$tag->name] ?? '';
|
||||
|
||||
if ( wpcf7_form_tag_supports( $tag->type, 'selectable-values' ) ) {
|
||||
$value = (array) $value;
|
||||
$value = ( '' === $value ) ? array() : (array) $value;
|
||||
|
||||
if ( WPCF7_USE_PIPE ) {
|
||||
$pipes = $this->contact_form->get_pipes( $tag->name );
|
||||
|
||||
@@ -66,7 +66,7 @@ function wpcf7_swv_load_rules() {
|
||||
*
|
||||
* @param string $rule_name Rule name.
|
||||
* @param string|array $properties Optional. Rule properties.
|
||||
* @return Rule|null The rule object, or null if it failed.
|
||||
* @return \Contactable\SWV\Rule|null The rule object, or null if it failed.
|
||||
*/
|
||||
function wpcf7_swv_create_rule( $rule_name, $properties = '' ) {
|
||||
$rules = wpcf7_swv_available_rules();
|
||||
|
||||
Reference in New Issue
Block a user