Skip to content

Commit 97b60c2

Browse files
committed
comment formatting
1 parent 94a3f47 commit 97b60c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

classes/class-suggested-tasks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,9 @@ public function rest_prepare_recommendation( $response, $post ) {
441441
$response->data['prpl_task_actions'] = $provider->get_task_actions( $response->data );
442442

443443
/*
444-
Check if task was completed before - for example, comments were disabled and then re-enabled, and remove points if so.
444+
* Check if task was completed before - for example, comments were disabled and then re-enabled, and remove points if so.
445445
* Those are tasks which are completed by toggling an option, so non repetitive & not user tasks.
446-
*/
446+
*/
447447
if ( ! \has_term( 'user', 'prpl_recommendations_provider', $post->ID ) && ! $provider->is_repetitive() && $provider->task_has_activity( $response->data['meta']['prpl_task_id'] ) ) {
448448
$response->data['meta']['prpl_points'] = 0;
449449
}

0 commit comments

Comments
 (0)