Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/19/2011 09:55:50 PM (13 years ago)
Author:
djpaul
Message:

Fix oembed activity comments when posting with AJAX. Fixes #3354, props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-functions.php

    r4709 r4727  
    602602    $right_now_text = apply_filters( 'bp_core_time_since_right_now_text', __( 'right now', 'buddypress' ) );
    603603    $ago_text       = apply_filters( 'bp_core_time_since_ago_text',       __( '%s ago',    'buddypress' ) );
    604    
     604
    605605    // array of time period chunks
    606606    $chunks = array(
     
    633633    if ( 0 > $since ) {
    634634        $output = $unknown_text;
    635        
     635
    636636    /**
    637637     * We only want to output two chunks of time here, eg:
     
    926926        $bp->embed = new BP_Embed();
    927927}
    928 add_action( 'bp_init', 'bp_embed_init' );
     928add_action( 'bp_init', 'bp_embed_init', 9 );
    929929
    930930/**
Note: See TracChangeset for help on using the changeset viewer.