• We noticed on Buddypress profile pages that the Open Graph description meta tag breaks because of the multiple double quotes. For example:

    <meta property=”og:description” content=”Profile Name“/>

    I think that I have tracked the problem to line 246 in tweet-like-plusone.php. The post content is not being properly stripped of tags in $desc specifically on Buddypress profile pages.

    Hopefully the problem can be solved and help others in a similar situation.

    https://www.ads-software.com/plugins/only-tweet-like-share-and-google-1/

Viewing 1 replies (of 1 total)
  • Thread Starter dexter10

    (@dexter10)

    The problem has not been documented well because I forgot to escape the code in the message…

    The example should look like this:

    <meta property="og:description" content="<a href="domain.com/members/profile-name">profile-name</a>">

    Hopefully this is clearer.

Viewing 1 replies (of 1 total)
  • The topic ‘Buddypress Open Graph description problem’ is closed to new replies.