I have the same problem!
I’m using this:
[select country “AFG|Afghanistan” “ALB |Albania” …………… (many indeed). ….. .. .. ]
Now this worked ok before last update! I’m very sure of it, But unfortunately I’m not sure what was the version before update 🙁
I’ve fixed it in plugin source, but hope I won’t have to do it after next update.
Here is what I changed:
includes/pipe.php, line 55:
ADD THIS
function collect_afters() {
$afters = array();
foreach ( $this->pipes as $pipe ) {
$afters[] = $pipe->after;
}
return $afters;
}
END ADD
includes/shortcodes.php
CHANGE lines 113 – 123 like this:
if ( WPCF7_USE_PIPE ) {
$pipes = new WPCF7_Pipes( $scanned_tag['raw_values'] );
$scanned_tag['values'] = $pipes->collect_befores();
$scanned_tag['pipes'] = $pipes;
$scanned_tag['labels'] = $pipes->collect_afters();
} else {
$scanned_tag['values'] = $scanned_tag['raw_values'];
$scanned_tag['labels'] = $scanned_tag['values'];
}
// $scanned_tag['labels'] = $scanned_tag['values'];
END CHANGE
Now, I have no idea if that was a good thing to do or what, maybe the plugin author will enlighten us 🙂
Cheers!