Skip to content

Commit c266c05

Browse files
committed
replace TBD with V2.0
1 parent 177edc2 commit c266c05

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

includes/common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ function pmpro_courses_get_lessons_html( $course_id ) {
423423
* Get the lessons dropdown HTML with all PMPro lessons that are "available"
424424
* This is used for the the lesson settings.
425425
*
426-
* @since TBD
426+
* @since 2.0
427427
*
428428
*/
429429
function pmpro_courses_lessons_settings( $exclude_lessons = array(), $parent_id = 0 ) {

includes/courses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function pmpro_courses_update_course_callback() {
134134
/**
135135
* Ajax function to allow creation and assignment of a draft lesson.
136136
*
137-
* @since TBD
137+
* @since 2.0
138138
*/
139139
function pmpro_courses_create_lesson_cb() {
140140

includes/lessons.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function pmpro_courses_lessons_pre_get_posts_table_sorting( $query ) {
145145
/**
146146
* Add a "Course" dropdown filter to the Lessons list table.
147147
*
148-
* @since TBD
148+
* @since 2.0
149149
*/
150150
function pmpro_courses_lessons_filter_dropdown() {
151151
// Only show on the pmpro_lesson list screen.
@@ -184,7 +184,7 @@ function pmpro_courses_lessons_filter_dropdown() {
184184
/**
185185
* Apply the Course filter to the Lessons query based on the dropdown.
186186
*
187-
* @since TBD
187+
* @since 2.0
188188
*/
189189
function pmpro_courses_lessons_filter_query( WP_Query $query ) {
190190
if ( ! is_admin() || ! $query->is_main_query() ) {
@@ -207,7 +207,7 @@ function pmpro_courses_lessons_filter_query( WP_Query $query ) {
207207
/**
208208
* Bypass any level restrictions for a PMPro Lesson CPT and mark it as "Free/Public"
209209
*
210-
* @since TBD
210+
* @since 2.0
211211
*/
212212
function pmpro_lessons_bypass_check($hasaccess, $post, $user, $levels) {
213213

includes/modules/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function init_active() {
113113
/**
114114
* Load the Member Edit Panel if the class exists.
115115
*
116-
* @since TBD
116+
* @since 2.0
117117
*/
118118
static public function pmpro_courses_pmpro_member_edit_panels( $panels ) {
119119

includes/post-types/courses.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function pmpro_courses_course_cpt_define_meta_boxes() {
9494
/**
9595
* Always show the "Course Outline" metabox on a page for PMPro Courses as it's required.
9696
*
97-
* @since TBD
97+
* @since 2.0
9898
*/
9999
function pmpro_courses_unhide_course_outline_meta_box( $hidden, $screen ) {
100100
if ( $screen->post_type == 'pmpro_course' ) {
@@ -205,7 +205,7 @@ function pmpro_courses_get_lessons_table_html( $lessons, $section_id = 1 ){
205205
* Save PMPro Course sections + lessons as a normalized array.
206206
* Runs only when saving the pmpro_course post type.
207207
*
208-
* @since TBD
208+
* @since 2.0
209209
*/
210210
function pmpro_courses_save_course_sections( $post_id, $post, $update ) {
211211

includes/progress.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class PMPro_Courses_User_Progress {
33
/**
44
* Toggle progress for lesson completion (complete or reset/clear)
55
*
6-
* @since TBD
6+
* @since 2.0
77
*
88
* @param int $lesson_id The lesson ID.
99
* @param int $user_id The user ID. Optional.
@@ -82,7 +82,7 @@ public static function get_user_lesson_status( $lesson_id, $user_id = null ) {
8282
/**
8383
* Get the user's progress for a specific course.
8484
*
85-
* @since TBD
85+
* @since 2.0
8686
*
8787
* @param int $course_id The course ID.
8888
* @param int $user_id The user ID. Optional.
@@ -165,7 +165,7 @@ public static function get_completed_lessons_for_a_course( $course_id, $user_id
165165
/**
166166
* Get a list of courses for a user that have no progress at all.
167167
*
168-
* @since TBD
168+
* @since 2.0
169169
*
170170
* @param int|null $user_id
171171
* @return array|false Array of WP_Post objects (pmpro_course) or false if no user.
@@ -302,7 +302,7 @@ function pmpro_courses_toggle_lesson_progress_ajax(){
302302
/**
303303
* Retroactively migrate any user progress from user meta to the new progress table.
304304
*
305-
* @since TBD
305+
* @since 2.0
306306
*/
307307
function pmpro_courses_migrate_course_progress() {
308308
global $wpdb;

includes/shortcodes/courses-outline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* - course_id: The ID(s) of the course(s) to display. Can be a single ID, an array of IDs, or a comma-separated string of IDs.
77
* - show_course_title: Whether to display the course title. Default is true.
88
*
9-
* @since TBD
9+
* @since 2.0
1010
*/
1111

1212
// Exit if accessed directly.

includes/updates/upgrade_1_3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function pmpro_courses_upgrade_1_3() {
1212
/**
1313
* Create the table for progress tracking.
1414
*
15-
* @since TBD
15+
* @since 2.0
1616
* @return void
1717
*/
1818
function pmpro_courses_create_progress_table() {

js/admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/**
77
* Remove a lesson from the lesson table for a course.
88
*
9-
* @since TBD
9+
* @since 2.0
1010
*/
1111
function pmpro_courses_remove_lesson(lesson_id, section_id) {
1212
let $row, $section, $table;
@@ -111,7 +111,7 @@ function pmpro_courses_remove_lesson(lesson_id, section_id) {
111111
*
112112
* AJAX is needed, because we need to get the WP_POST object for the lesson when building the table row.
113113
*
114-
* @since TBD
114+
* @since 2.0
115115
*/
116116
function pmpro_courses_update_post(button_element) {
117117
var button = jQuery(button_element);

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Please visit [our support site at https://www.paidmembershipspro.com](http://www
135135
4. A course page on the site frontend showing overview content, a registration box with required levels, and a list of lessons.
136136

137137
== Changelog ==
138-
= 2.0 - 2026-02-26 =
138+
= 2.0 - 2026-02-27 =
139139
* ENHANCEMENT: Reworked the plugin to support sectioned content and rehauled the lesson management and progress for future development and improvements.
140140
* ENHANCEMENT: Added "Courses" to the Edit Member panel to see all courses a member is enrolled in (has access) and their progress.
141141
* ENHANCEMENT: Moved progress tracking to custom tables instead for better performance. This will help improve future development. Progress will retroactively update for learners as they view course content.

0 commit comments

Comments
 (0)