Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlimaza committed Oct 17, 2024
2 parents 9d57a6c + c4f6d95 commit ad34fb1
Show file tree
Hide file tree
Showing 24 changed files with 4,021 additions and 37 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- This form is for reporting bugs and issues specific to the Paid Memberships Pro plugin. This is not a support portal. If you need technical support from a human being, please submit a ticket via the helpdesk instead: https://www.paidmembershipspro.com/support/ -->

<!-- Usage questions can also be directed to the public support forum here: https://wordpress.org/support/plugin/paid-memberships-pro, unless this is a question about a premium extension in which case you should use the helpdesk. -->
<!-- Usage questions can also be directed to the contact form here: https://www.paidmembershipspro.com/contact/, unless this is a question about a premium extension in which case you should use the helpdesk. -->

<!-- If you are a developer who needs a new filter/hook raise a PR instead :) -->

Expand All @@ -11,7 +11,7 @@
<!-- MARK COMPLETED ITEMS WITH AN [x] -->

- [ ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- [ ] The issue still exists against the latest `dev` branch of Paid Memberships Pro on Github (this is **not** the same version as on WordPress.org!)
- [ ] The issue still exists against the latest `dev` branch of Paid Memberships Pro on Github (this is **not** the same version as the current stable release!)
- [ ] I have attempted to find the simplest possible steps to reproduce the issue

## Steps to reproduce the issue
Expand All @@ -33,7 +33,7 @@ I was expecting to see...
<!-- MARK COMPLETED ITEMS WITH AN [x] -->

- [ ] This bug happens with only Paid Memberships Pro plugin active
- [ ] This bug happens with a default WordPress theme active, or [Memberlite](https://wordpress.org/themes/memberlite/)
- [ ] This bug happens with a default WordPress theme active, or [Memberlite](https://memberlitetheme.com)
- [ ] I can reproduce this bug consistently using the steps above

## WordPress Environment
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ Usage docs can be found here: https://www.paidmembershipspro.com/documentation/
Submit a ticket on our helpdesk by visiting https://www.paidmembershipspro.com/new-topic/ (Please note that an [active membership](https://www.paidmembershipspro.com/pricing) is required for paid support.)

**General usage and development questions**
- WordPress.org Forums: https://wordpress.org/support/plugin/paid-memberships-pro
- Website: https://www.paidmembershipspro.com/contact/
15 changes: 0 additions & 15 deletions .github/workflows/wordpress-plugin-deploy.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
![](pmpro-courses-banner.jpg)


# [Paid Memberships Pro - Courses](https://www.paidmembershipspro.com/add-ons/pmpro-courses-lms-integration/) #
[comment]: # (Generate badges from shields.io, only works for .org plugins to get other stats etc. We'd have to create our own endpoints for Premium plugins)

![WordPress Plugin Downloads](https://img.shields.io/wordpress/plugin/dy/pmpro-courses?style=flat-square) ![License](https://img.shields.io/badge/license-GPL--2.0%2B-red.svg?style=flat-square)
![License](https://img.shields.io/badge/license-GPL--2.0%2B-red.svg?style=flat-square)

### Welcome to the Paid Memberships Pro - Courses GitHub Repository

Expand Down
4 changes: 2 additions & 2 deletions includes/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ function pmpro_courses_get_lessons_html( $course_id ) {
$lesson_status = pmpro_courses_get_user_lesson_status( $lesson->ID, $post->ID, get_current_user_id() );
if ( ! empty( $lesson_status ) ) {
if ( $lesson_status === 'complete' ) {
echo '<span class="pmpro_courses-lesson-status pmpro_courses-lesson-status-complete"><i class="dashicons dashicons-yes"></i><span class="pmpro_courses-lesson-status-label">' . esc_html( 'Complete', 'pmpro-courses' ) . '</span></span>';
echo '<span class="pmpro_courses-lesson-status pmpro_courses-lesson-status-complete"><i class="dashicons dashicons-yes"></i><span class="pmpro_courses-lesson-status-label">' . esc_html__( 'Complete', 'pmpro-courses' ) . '</span></span>';
} else {
echo '<span class="pmpro_courses-lesson-status pmpro_courses-lesson-status-incomplete"><i class="dashicons dashicons-marker"></i><span class="pmpro_courses-lesson-status-label">' . esc_html( 'Complete', 'pmpro-courses' ) . '</span></span>';
echo '<span class="pmpro_courses-lesson-status pmpro_courses-lesson-status-incomplete"><i class="dashicons dashicons-marker"></i><span class="pmpro_courses-lesson-status-label">' . esc_html__( 'Complete', 'pmpro-courses' ) . '</span></span>';
}
}
}
Expand Down
Binary file added languages/pmpro-courses-es_AR.mo
Binary file not shown.
Loading

0 comments on commit ad34fb1

Please sign in to comment.