Skip to:
Content
Pages
Categories
Search
Top
Bottom

Internal Links are broken on single-entry page by auto-embed


  • x2764tech
    Participant

    @x2764tech

    I help run a moderately sized BuddyPress based site.

    We’re having a problem where all links on the single activity page are being replaced by (embed) links to the activity.

    I’ve traced this down to BP_Core_oEmbed_Extension->filter_embed_url and BP_Core_oEmbed_Extension->filter_embed_html, which are called as part of WordPress’ ‘auto-embed’ links (via the post_embed_url and embed_html filters).

    AFAICS, these are designed to override the HTML produced when a post is embedded elsewhere, but neither check is_embed().

    Does anyone else have this problem, or is it just me?

    Thanks

    David

Viewing 1 replies (of 1 total)

  • r-a-y
    Keymaster

    @r-a-y

    Can you paste an example of the activity content?

    If you need to, use pastebin.com.

    Those class methods only run on embed pages, it shouldn’t run on regular page content such as single activity pages.

    My guess is a plugin is running the 'embed_html' filter on the activity content somewhere.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar