- Status
- Resolved
- Resolved in
- WPML String Translation 2.5.4
Overview of the issue
When upgrading to WPML 3.7.0, translations of strings wrapped in the wpml-string shortcodes are lost.
Workaround
Apply the following patch in the ../wpml-string-translation/inc/wpml-string-shortcode.php file, on line 8:
Replace:
$atts = shortcode_atts( array(), $atts );
With:
extract( shortcode_atts( array(), $atts ) );