Bugs in content types

Report and discuss bugs related to specific H5P content types

"Deprecated" Notification on WP dashboard - HELP!

Hi guys,

There seems to be a problem on my WordPress website with the H5P plugin as a message has just appeared on the dashboard. I have shortened it here for you to see the error/issue type:

 

"Deprecated: Constant FILTER_SANITIZE_STRING is deprecated ... on line 553"

 

Potential content loss upon the upgrade of H5P content type Game Map

Hi everyone,

On our platform (Moodle v4.5, the H5P integration is running framework v1.27), we noticed the following:

  • When a Game Map is upgraded from v1.2 to v1.5 (by making edits and saving), the “Stage content” for the stages in the Game Map disappears (or at least shows up empty in the editor).
  • As a result, the entire H5P activity no longer displays in Moodle.

Has anyone else experienced this? Any ideas on possible causes or fixes would be greatly appreciated!

Thanks in advance!

CoursePresentation 1.25 -> 1.26 "Optional Button Label" is missing

Course Presentation 1.25 contains the "optional button label" feature, which allows the editor to add a label to the "display as button" option for slide elements.
This was added by this pull request: https://github.com/h5p/h5p-course-presentation/pull/293

Course Presentation 1.26 does not contain/support that feature anymore.
When Course Presentations 1.25 are upgraded to 1.26 by the editor, it removes the labels that were present earlier.

Pages