• 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.

    https://www.ads-software.com/plugins/all-in-one-seo-pack/

Viewing 1 replies (of 1 total)
  • Hi satoshy86,

    There is a bug here with description handling, as has been covered in the forums here, and it will be fixed in the next release.

Viewing 1 replies (of 1 total)
  • The topic ‘OG:Description is wrong’ is closed to new replies.