Skip to content

Commit 5a3d897

Browse files
committed
Replies order fixed
1 parent 4f230f0 commit 5a3d897

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

classes/Lesson.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,7 @@ public function reply_lesson_comment() {
717717
array(
718718
'post_id' => $lesson_id,
719719
'parent' => $parent_id,
720+
'order' => 'ASC',
720721
)
721722
);
722723

templates/learning-area/lesson/comment-replies.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
array(
2121
'post_id' => $lesson_id,
2222
'parent' => $comment_item->comment_ID,
23+
'order' => 'ASC',
2324
)
2425
);
2526
$reply_count = is_array( $replies ) ? count( $replies ) : 0;

0 commit comments

Comments
 (0)