OG:Description is wrong
-
Hi,
i thing there is a bug on latest version on All In One Seo, since OG:Description meta tag show always the page/post excerpt also if a custom description is present.I have resolved editing this line of code on “aioseop_opengraph.php”, start at line 358
if ( !empty( $description ) ) $description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( preg_replace( '/\s+/', ' ', $post->post_content ) ), 1000 );
with:
if ( empty( $description ) ) $description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( preg_replace( '/\s+/', ' ', $post->post_content ) ), 1000 );
Negation removed on if condition.
Bye.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘OG:Description is wrong’ is closed to new replies.