Changeset 3312
- Timestamp:
- 10/26/2010 10:21:05 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-default/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r3300 r3312 42 42 */ 43 43 function bp_dtheme_add_blog_comments_js() { 44 if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); 44 if ( is_singular() && get_option( 'thread_comments' ) ) 45 wp_enqueue_script( 'comment-reply' ); 45 46 } 46 47 add_action( 'template_redirect', 'bp_dtheme_add_blog_comments_js' );
Note: See TracChangeset
for help on using the changeset viewer.