Skip to:
Content

bbPress.org

Changeset 4748


Ignore:
Timestamp:
02/01/2013 04:07:19 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Reprioritize autoembeds to before make_clickable(), to fix broken autoembeds. Fixes #2192.

Location:
trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/replies/functions.php

    r4676 r4748  
    17101710
    17111711    if ( bbp_use_autoembed() && is_a( $wp_embed, 'WP_Embed' ) ) {
    1712         add_filter( 'bbp_get_reply_content', array( $wp_embed, 'autoembed' ), 8 );
     1712        add_filter( 'bbp_get_reply_content', array( $wp_embed, 'autoembed' ), 2 );
    17131713    }
    17141714}
  • trunk/includes/topics/functions.php

    r4674 r4748  
    32433243
    32443244    if ( bbp_use_autoembed() && is_a( $wp_embed, 'WP_Embed' ) ) {
    3245         add_filter( 'bbp_get_topic_content', array( $wp_embed, 'autoembed' ), 8 );     
     3245        add_filter( 'bbp_get_topic_content', array( $wp_embed, 'autoembed' ), 2 );
    32463246    }
    32473247}
Note: See TracChangeset for help on using the changeset viewer.