Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mheikkila

    (@mheikkila)

    As for Instagram, new version with Instagram Business API will be ready this or next week

    Well that was a lie. Looks like I am forced to switch plugins. I suggest everyone else do the same too, since they are not fixing this HUGE problem anytime soon.

    It’s because the oembed content is overriding the og tags. The problem is in the wordpress core function get_oembed_response_data in wp-includes/embed.php

    The function outputs the title using $post->post_title. This is a problem when the titles use special tags, like qTranslate does. The function should use apply_filters(‘the_title’,$post->post_title) instead. This fixes the problem.

    This function is not pluggable, so my understanding is that we can’t override it in our theme functions. And of course you can’t make changes to the wordpress core files, since all changes would be lost with the next update.

    • This reply was modified 8 years, 4 months ago by mheikkila.

    It’s because the oembed content is overriding the og tags. The problem is in the wordpress core function get_oembed_response_data in wp-includes/embed.php

    The function outputs the title using $post->post_title. This is a problem when the titles use special tags, like qTranslate does. The function should use apply_filters(‘the_title’,$post->post_title) instead. This fixes the problem.

    This function is not pluggable, so my understanding is that we can’t override it in our theme functions. And of course you can’t make changes to the wordpress core files, since all changes would be lost with the next update.

    I have created a ticket about this, so let’s hope they fix this issue.

Viewing 3 replies - 1 through 3 (of 3 total)