H5P 1.15.5

Does H5P work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
24PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 101.26 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 40,000+
WordPress.org page https://wordpress.org/plugins/h5p/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=h5p%2Fh5p.php&plugin_status=all&paged=1&s&_wpnonce=01e7d32022
Aspect after-activation
HTTP status 200
Load time 0.594 s
Memory usage 4.77 MiB
JS errors None
Resource errors None

Settings → H5P

Page screenshot: Settings → H5P
URL /wp-admin/options-general.php?page=h5p_settings
Aspect menu-item
HTTP status 200
Load time 0.253 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

H5P Content

Page screenshot: H5P Content
URL /wp-admin/admin.php?page=h5p
Aspect menu-item
HTTP status 200
Load time 0.211 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

H5P Content → Add New

Page screenshot: H5P Content → Add New
URL /wp-admin/admin.php?page=h5p_new
Aspect menu-item
HTTP status 200
Load time 0.227 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

H5P Content → Libraries

Page screenshot: H5P Content → Libraries
URL /wp-admin/admin.php?page=h5p_libraries
Aspect menu-item
HTTP status 200
Load time 0.167 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

H5P Content → My Results

Page screenshot: H5P Content → My Results
URL /wp-admin/admin.php?page=h5p_results
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.210 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.604 s0.377 s-0.227 s3.05 MiB3.16 MiB+ 117.48 KiB
/wp-admin/edit.php0.184 s0.185 s+0.001 s3.07 MiB3.19 MiB+ 116.77 KiB
/wp-admin/post-new.php0.758 s0.921 s+0.163 s4.97 MiB5.09 MiB+ 124.01 KiB
/wp-admin/upload.php0.673 s0.295 s-0.378 s2.99 MiB3.09 MiB+ 96.26 KiB
/wp-admin/options-writing.php0.133 s0.143 s+0.010 s2.99 MiB3.07 MiB+ 82.91 KiB
/wp-admin/media-new.php0.263 s0.225 s-0.038 s2.97 MiB3.07 MiB+ 108.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.166 s-0.003 s2.98 MiB3.09 MiB+ 112.79 KiB
/wp-admin/post-new.php?post_type=page0.644 s0.730 s+0.086 s4.96 MiB5.08 MiB+ 124.02 KiB
/wp-admin/options-discussion.php0.215 s0.270 s+0.055 s2.97 MiB3.07 MiB+ 96.7 KiB
/wp-admin/edit-comments.php0.174 s0.195 s+0.021 s3 MiB3.09 MiB+ 94.24 KiB
/0.273 s0.217 s-0.056 s2.94 MiB2.98 MiB+ 40.28 KiB
Average 0.372 s0.339 s-0.033 s3.35 MiB3.45 MiB+ 101.26 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

JavaScript
PO File
PHP
CSS
Sass
Language % Lines of code Comment lines Files
JavaScript31.8%17,0635,782294
PO File22.4%12,0265,83916
PHP18.0%9,6474,85737
CSS10.5%5,61133770
Sass9.5%5,0943240
Markdown6.9%3,714011
HTML0.5%249112
SVG0.4%19615
JSON0.2%8503
Ruby0.0%7121
Total 53,692 16,871 479

PHP Code Analysis | More results »

Lines of code 9,059
Total complexity 1,815
Median class complexity 35.0
Median method complexity 2.0
Most complex class H5PCore
Most complex function H5PValidator::isValidPackage()
Classes 26
Methods 411
Functions 1

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 14

Options wp_options 18

Capabilities 8

PHP Error Log 24 lines

[08-Dec-2022 09:19:41 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:42 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:42 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:43 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:43 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-content-admin.php on line 67
[08-Dec-2022 09:19:43 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-content-admin.php on line 179
[08-Dec-2022 09:19:44 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:44 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-content-admin.php on line 67
[08-Dec-2022 09:19:45 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:45 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-library-admin.php on line 52
[08-Dec-2022 09:19:45 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-library-admin.php on line 114
[08-Dec-2022 09:19:46 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:48 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:48 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:48 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:51 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:51 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:51 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:51 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:52 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:54 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:54 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:54 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[08-Dec-2022 09:19:55 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
See also: All tests for this plugin, How to Hide H5P Admin Menus