Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
donnapep committed Jan 14, 2025
1 parent bbffd35 commit 8e2553a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/admin/class-sensei-learner-management.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ public function edit_date_started() {
exit( '' );
}

$mysql_date = gmdate( 'Y-m-d H:i:s', $date->getTimestamp() );
$updated = (bool) update_comment_meta( $comment_id, 'start', $mysql_date, $date_started );
$formatted_date = gmdate( 'Y-m-d H:i:s', $date->getTimestamp() );
$updated = (bool) update_comment_meta( $comment_id, 'start', $formatted_date, $date_started );

/**
* Filter sensei_learners_learner_updated
Expand All @@ -546,7 +546,7 @@ public function edit_date_started() {
exit( '' );
}

exit( esc_html( $mysql_date ) );
exit( esc_html( $formatted_date ) );
}

/**
Expand Down

0 comments on commit 8e2553a

Please sign in to comment.