WP Multisite compatible

It doesn't appear the the H5P plugin is compatible with WP Multisite. I am only able to upload the example modules on the root level of the multisite installation. The plugin shows up on other sites but gives dependency errors when I try uploading the modules.

falcon's picture

We'll look into this. I don't know if it has been tested on WP Multisite. It probably hasn't. Thanks for reporting!

I'd like to use h5p in a WP multisite install, as well. Is there a resolution? Thanks in advance for the response.

falcon's picture

I thought we alredy worked in multisite. I'll ask icc to have a look at this!

icc's picture

Yes we do, but there seems to be a small bug in the lastest version. 
Replacing {$wpdb->prefix}users with {$wpdb->base_prefix}users in the following two files should make it work:

  • admin/class-h5p-content-admin.php
  • admin/class-h5p-plugin-admin.php

I'll commit a fix for this for the next version of the plugin.
Thank you for reporting!

icc's picture

The latest version(1.2.2) of the WP plugin support multi-site setups!