The beta releases for the remaining Sensei extensions are now available for testing.
These betas are a continuation of the work being done for Sensei 2.0. In particular, they add compatibility with the version of Sensei that will soon be available on WordPress.org. The existing extensions are already compatible with the soon-to-be-released Sensei with WooCommerce Paid Courses plugin.
Please note that Sensei Media Attachments 2.0, Sensei Share Your Grade 2.0 and Sensei Course Participants 2.0 all require a minimum Sensei version of 1.11.0 and a minimum PHP version of 5.6.
Sensei Media Attachments
Here’s what you’ll find in the Sensei Media Attachments release:
- Fixed the visibility of course and lesson media such that they are only visible to users who are taking a course.
- Files now use the media title as the display name of the media file.
- The two-column media attachment layout has been changed to a single column layout.
New Hooks
sensei_media_attachments_show_media_links
– Whether or not to display the media attachments.sensei_media_attachments_get_attachment_title
– Customize the title that is displayed for a particular media attachment.sensei_media_attachments_media_heading
– Customize the media heading.
See what else is in this release or download the beta.
Sensei Share Your Grade
Google+ for personal accounts will be shut down on April 2, 2019. Given this, we’ve removed the Google+ sharing button in Sensei Share Your Grade.
See what else is in this release or download the beta.
Sensei Course Participants
Here are the most notable improvements in Sensei Course Participants:
- Only include learners who are currently taking the course in the learner count and the widget. The learner count and widget previously displayed all learners who had ever taken the course, including those who had already completed the course, which was misleading.
- Replace the
<h3>
tag with a<span>
tag for the participant’s name. This is a potentially breaking change for those using anh3
CSS selector. Please update your CSS where necessary.
New Hooks
sensei_course_participants_exclude_completed_participants
– Whether or not to include learners in the learner count and widget, who have already completed the course.sensei_course_participants_profile_url
– Customize the learner profile URL in the widget.
See what else is in this release or download the beta.
What should I do if I find a problem?
If you find a bug, please open a new issue for Media Attachments, Share Your Grade or Course Participants as appropriate. You are also welcome to leave a comment here.
As always, please test on a staging site and not your live site. If you don’t have a staging site, you can use the WP Staging plugin to create one.
The extensions will remain in beta for about a week.