Posted on

Sensei Media Attachments 2.0

Sensei Media Attachments 2.0 is now available! 🥳

Please note that Sensei Media Attachments 2.0 requires a minimum Sensei version of 1.11.0 and a minimum PHP version of 5.6. If you are not running Sensei 1.11.0+ and PHP 5.6+, please update to more recent versions of both before updating Media Attachments.

If you’re not sure which version of PHP your site is running, you may find the How to Check Your WordPress Site’s PHP Version section of this article helpful. You can also read more about updating PHP on WordPress.org.

What’s in this Release?

Here are the highlights of the Sensei Media Attachments 2.0 release:

See what else is in this release.

Head over to DashboardUpdates to update Sensei Media Attachments from within WordPress.

As usual, if you spot any issues, please log them on Github.

Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.

Posted on

Media Attachments 1.0.2 Fixes Issue with File Visibility

We’ve put out a small release to fix an issue with the visibility of media attachments. In 1.0.2, media attachments are only visible to people who are enrolled in the course.

We’ve also added a new sensei_media_attachments_show_media_links filter that can be used to override the display of media attachments.

Should you find any issues, please report them in the comments or on Github. Thank you!

Posted on

Beta Releases for Media Attachments, Share Your Grade & Course Participants

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:

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:

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.