src/wp-includes/comment.php 1 location
|
@@ 995-1000 (lines=6) @@
|
| 992 |
|
} |
| 993 |
|
|
| 994 |
|
if ( null === $page ) { |
| 995 |
|
if ( '' === $args['max_depth'] ) { |
| 996 |
|
if ( get_option('thread_comments') ) |
| 997 |
|
$args['max_depth'] = get_option('thread_comments_depth'); |
| 998 |
|
else |
| 999 |
|
$args['max_depth'] = -1; |
| 1000 |
|
} |
| 1001 |
|
|
| 1002 |
|
// Find this comment's top level parent if threading is enabled |
| 1003 |
|
if ( $args['max_depth'] > 1 && 0 != $comment->comment_parent ) |
src/wp-includes/comment-template.php 1 location
|
@@ 2064-2069 (lines=6) @@
|
| 2061 |
|
$r['page'] = 0; |
| 2062 |
|
} |
| 2063 |
|
|
| 2064 |
|
if ( '' === $r['max_depth'] ) { |
| 2065 |
|
if ( get_option('thread_comments') ) |
| 2066 |
|
$r['max_depth'] = get_option('thread_comments_depth'); |
| 2067 |
|
else |
| 2068 |
|
$r['max_depth'] = -1; |
| 2069 |
|
} |
| 2070 |
|
|
| 2071 |
|
if ( '' === $r['page'] ) { |
| 2072 |
|
if ( empty($overridden_cpage) ) { |