Skip to content
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
name: core-development-skill
description: This skill governs all development, bug fixing, and feature work inside the **Tutor LMS** plugin codebase (`github.com/themeum/tutor`). It covers project structure, namespace conventions, coding patterns, PHPDoc standards, available helpers/utilities, security rules, and AI agent instructions.
---

# Tutor LMS — Core Development Skill

## Overview
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
name: wpcs-security-skill
description: Enforces strict WordPress coding standards (WPCS) and security best practices for PHP, JS, CSS, and HTML.
---

# WordPress Coding Standards & Security Skill

## Overview
Expand Down
1 change: 1 addition & 0 deletions models/UserModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function get_users_list( array $args ) {
public function get_unenrolled_users( $object_id, $search_clause = array(), $limit = 10, $offset = 0 ) {
global $wpdb;

$object_id = absint( $object_id );
$primary_table = "{$wpdb->users} AS u";
$joining_tables = array(
array(
Expand Down
Loading