Posted on

Sensei Certificates 2.0

Sensei Certificates 2.0 is now available! 🎊

Please note that Sensei Certificates 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 Certificates.

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 Certificates 2.0 release:

See what else is in this release.

Head over to DashboardUpdates to update Sensei Certificates 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

Sensei Course Progress 2.0

Sensei Course Progress 2.0 has just been released! 🎉

Please note that Sensei Course Progress 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 Course Progress.

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 Course Progress 2.0 release:

See what else is in this release.

Head over to DashboardUpdates to update Sensei Course Progress 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

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

Sensei LMS 2.0.1 Beta 1

The next beta, Sensei LMS 2.0.1 Beta 1, is ready for testing. It contains changes that rename the plugin from Sensei to Sensei LMS.

We recognize that the naming of this beta may be confusing. Given that Sensei 2.0 was made available prematurely on WordPress.org for a short period of time, we’ve had to rename the plugin from Sensei to Sensei LMS in order to prevent the same situation from happening again.

We’ve also bumped the version to 2.0.1, since technically Sensei 2.0.0 was briefly (albeit erroneously) released.

Template File Changes

  • All templates – Changed text domain from sensei to sensei-lms.
  • templates/emails/footer.php – Updated footer text.

Deprecated Hooks

  • manage_sensei_page_sensei_learners_sortable_columns has been deprecated in favour of manage_sensei-lms_page_sensei_learners_sortable_columns
  • manage_sensei_page_sensei_grading_sortable_columns has been deprecated in favour of manage_sensei-lms_page_sensei_grading_sortable_columns
  • manage_sensei_page_sensei_analysis_sortable_columns has been deprecated in favour of manage_sensei-lms_page_sensei_analysis_sortable_columns

Other Things to be Aware of

There are some additional things you should be aware of, particularly for developers:

  • The main plugin file has been renamed from sensei.php to sensei-lms.php.
  • Sensei LMS is now installed in the wp-content/plugins/sensei-lms directory.
  • The text domain has been changed to sensei-lms throughout the codebase.
  • The screen IDs for all subpages under the Sensei LMS menu have changed. If you are referencing screen IDs in any custom Sensei code, they will need to be updated.

You can download the beta here. Should you find any issues, please report them here in the comments or on Github. Thank you!

As this is a beta release, 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.

Posted on

Premature Update for Sensei 2.0

Some of you may have seen an update prompt earlier this week that invited you to upgrade to Sensei 2.0. Choosing to update had the following consequences:

  • If you were selling courses, those courses would have been made available for free.
  • If you were using any Sensei extensions (with the exception of Content Drip), those extensions would have stopped working.
  • Sensei translations would have broken.

If your site was upgraded to Sensei 2.0, we strongly recommend that you downgrade to 1.12.3 to resolve the above issues. Choosing to remain on Sensei 2.0 means that your site will NOT receive updates for the plugin going forward. You can downgrade to Sensei 1.12.3 by downloading it from WooCommerce.com, deactivating Sensei 2.0, and installing/activating Sensei 1.12.3.

Why Did This Happen?

On Tuesday, April 2nd, 2019, we deployed a free version of Sensei to WordPress.org. Later in the day, we started receiving reports that Sensei wasn’t working correctly after updating to Sensei 2.0.

This was very concerning, as Sensei being deployed to WordPress.org should have had zero impact on our existing users. This is because existing sites with Sensei installed receive their plugin updates from WooCommerce.com, not WordPress.org, and so should not have had an update prompt displayed in the first place. Yet WordPress.org intercepted Sensei’s plugin update check, detected that a new version was available, and surfaced an update prompt on your site.

What Did We Do About It?

Once we received the first report of someone being asked to upgrade to Sensei 2.0, we contacted the plugin team at WordPress.org. Within 30 minutes of our being made aware of the problem, Sensei was removed from WordPress.org, and the update prompt was no longer displayed in the WordPress admin.

For those users who opened support tickets with us, we asked that they downgrade to Sensei 1.12.3.

How Will We Prevent This From Happening Again?

We have had some communication with the WordPress.org plugin team to determine why this happened.

It would seem that WordPress.org used a combination of Sensei’s name and author fields to identify it. This meant that when your site checked in with WordPress.org for plugin updates, WordPress.org compared the name and author fields of the version of Sensei that was installed on your site to the version that it had on its servers, found them to be the same, and pushed out a notice to update.

We were expecting WordPress.org to use the plugin slug for identification purposes. The plugin slug on WooCommerce.com (woothemes-sensei) was different from the plugin slug on WordPress.org (sensei). Had the slug been used to identify Sensei, this entire incident would have been avoided.

We are currently planning to resubmit Sensei to WordPress.org. However, we will be submitting it with a different plugin name – Sensei LMS. This will be enough to ensure that WordPress.org does not identify existing versions of Sensei as something that it is responsible for updating.

Questions?

Should you have any questions or comments, please feel free to leave them here. If you need help downgrading, please open a Support ticket and our Happiness Engineers will take good care of you.

We sincerely apologize for the inconvenience this has caused some of our users.

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

Sensei 1.12.3 is Available Now

We’ve just released Sensei 1.12.3, which fixes a few troublesome bugs and does some preliminary work that will make the transition to Sensei 2.0 easier. Given this, we recommend that you upgrade to 1.12.3 as soon as possible ahead of the upcoming Sensei 2.0 release.

It’s important to note that the upcoming 2.0 versions of Sensei and our official extensions will not work on sites running older versions of PHP. If you are running a version of PHP that is older than 5.6, we strongly encourage you to update to 5.6 or higher.

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’s the rundown of what’s in this release:

Please report any issues you find in the comments or on Github. Thank you!

Posted on

Sensei Content Drip 2.0

Sensei Content Drip 2.0 is now available! 🥳

Please note that Sensei Content Drip 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 Content Drip.

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 Content Drip 2.0 release:

See what else is in this release.

Head over to DashboardUpdates to update Sensei Content Drip from within WordPress.

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

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

Posted on

Sensei 2.0 Beta 3

We’ve just released another beta for the open source version of Sensei that will be listed on WordPress.org.

The most noteworthy change since the last beta is a fix we made to flush the permalink/rewrite rules when Sensei is activated. Now when you deactivate and reactivate Sensei, your existing Sensei pages will still be viewable without requiring you to re-save your lessons or click the Install Sensei Pages button.

Here’s what else is new since the last beta:

Download the beta or view the full Sensei 2.0 milestone.

We will be applying these changes to Sensei with WooCommerce Paid Courses, and sending out Beta 3 to our testers next week.

As always, since this is a beta release, 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.

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.