Skip to content

Commit

Permalink
Updating wording for course data on frontend (#1143)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlashbrooke authored Dec 2, 2022
1 parent 1d3e3b9 commit 056e28d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wp-content/plugins/wporg-learn/inc/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,15 @@ function course_data_render_callback( $attributes, $content ) {
// Set up array of data to be used
$data = array(
'learners' => array(
'label' => __( 'Number of learners', 'wporg-learn' ),
'label' => __( 'Enrolled learners', 'wporg-learn' ),
'value' => $learners,
),
'grade' => array(
'label' => __( 'Average grade', 'wporg-learn' ),
'label' => __( 'Average final grade', 'wporg-learn' ),
'value' => $average_grade . '%',
),
'days' => array(
'label' => __( 'Average days to complete', 'wporg-learn' ),
'label' => __( 'Average days to completion', 'wporg-learn' ),
'value' => $average_days,
),
);
Expand Down

0 comments on commit 056e28d

Please sign in to comment.