Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
m1r0 committed Feb 5, 2024
1 parent b3abae5 commit 216fa21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/class-sensei-teacher.php
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ public function get_learner_ids_for_courses_with_edit_permission() {
"SELECT DISTINCT user_id
FROM {$wpdb->prefix}sensei_lms_progress
WHERE type = 'course'
AND post_id IN ( $course_ids_placeholder )",
AND post_id IN ( $course_ids_placeholder )", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$course_ids
)
);
Expand All @@ -1227,7 +1227,7 @@ public function get_learner_ids_for_courses_with_edit_permission() {
"SELECT DISTINCT user_id
FROM {$wpdb->comments}
WHERE comment_type = 'sensei_course_status'
AND comment_post_ID IN ( $course_ids_placeholder )",
AND comment_post_ID IN ( $course_ids_placeholder )", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
$course_ids
)
);
Expand Down

0 comments on commit 216fa21

Please sign in to comment.