Version 3.3.3 breaks WPML language switcher
-
Hello,
in version 3.3.3 a line:
/** This filter is documented in wp-includes/post-template.php */ $title = apply_filters( 'the_title', $item->title, $item->ID );
was changed to
/** This filter is documented in wp-includes/post-template.php */ $title = apply_filters( 'the_title', esc_html( $item->title ), $item->ID );
The nav walker is outputting the Image url thinking it’s a text so WPML menu item now is “<span class=”wpml-ls-native” lang=”en”>EN</span>” insted of “EN”
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Version 3.3.3 breaks WPML language switcher’ is closed to new replies.