We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab0ad3 commit 9f75746Copy full SHA for 9f75746
1 file changed
templates/dashboard/instructor/home/recent-student-review-item.php
@@ -33,7 +33,17 @@
33
</div>
34
<div class="tutor-flex tutor-gap-5 tutor-items-center">
35
<span class="tutor-badge"><?php echo esc_html( $review['course_name'] ); ?></span>
36
- <span class="tutor-text-subdued tutor-tiny"><?php echo esc_html( human_time_diff( strtotime( $review['date'] ) ) . ' ago' ); ?></span>
+ <span class="tutor-text-subdued tutor-tiny">
37
+ <?php
38
+ echo esc_html(
39
+ sprintf(
40
+ /* translators: %s: Human-readable time difference. */
41
+ __( '%s ago', 'tutor' ),
42
+ human_time_diff( strtotime( $review['date'] ) )
43
+ )
44
+ );
45
+ ?>
46
+ </span>
47
48
49
0 commit comments