Page is broken when post excerpt contain any HTML tag
-
I wrote this same problem few months ago. I also gave a solution. Plugin author updated this issue in the latest version 1.74. But he use wrong function . it is not working. I have my broken page yet.
Currently it uses following codes in wp-postratings.php
$post_meta = ‘<meta itemprop=”name” content=”‘.esc_attr($post_title).'”><meta itemprop=”description” content=”‘.esc_attr($post_excerpt).'”>——BUT IT SHOULD BE FOLLOWING—— use wp_kses() instead of esc_attr()—-
$post_meta = ‘<meta itemprop=”name” content=”‘.esc_attr($post_title).'”><meta itemprop=”description” content=”‘.wp_kses($post_excerpt, array()).'”>
PLEASE UPDATE THIS PLUGIN
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Page is broken when post excerpt contain any HTML tag’ is closed to new replies.