Warning: This function has been deprecated.
bp_dtheme_add_blog_comments_js()
In BuddyPress 1.2.x, this added the JavaScript needed for blog comment replies.
Description Description
As of 1.5.x, we recommend that you enqueue the comment-reply JavaScript in your theme’s header.php.
Source Source
File: bp-core/deprecated/1.5.php
function bp_dtheme_add_blog_comments_js() { _deprecated_function( __FUNCTION__, '1.5', "Enqueue the comment-reply script in your theme's header.php." ); if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); }
Changelog Changelog
Version | Description |
---|---|
1.5.0 | This function has been deprecated. |
1.2.0 | Introduced. |