"i"-characters removed in comments
-
After updating to Version 3.9.3 all “i”-characters are removed in the comment text. Tested on multiple installations with different themes.
I debugged the code and the problem is the comment_text filter in vimeo.php on line 268. After removing the filter everything works fine.
Something is wrong with this code:
function vimeo_link( $content ) { // For cases of shortcode usage [vimeo 123456] || [vimeo https://vimeo.com/123456] if ( has_shortcode( $content, 'vimeo' ) ) { return preg_replace_callback( '#\[vimeo (https?://vimeo.com/)?(\d+)\]#', 'vimeo_link_callback', $content ); } return preg_replace_callback( '#(https://vimeo.com/)(\d+)/?$|i#', 'vimeo_link_callback', $content ); }
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘"i"-characters removed in comments’ is closed to new replies.