H5P 1.15.8

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

Summary

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

Memory usage: 124.25 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.6.2
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=88e541b1dd
Aspect after-activation
HTTP status 200
Load time 0.606 s
Memory usage 5.2 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.316 s
Memory usage 3.62 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.235 s
Memory usage 3.57 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.152 s
Memory usage 3.57 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.218 s
Memory usage 3.57 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.201 s
Memory usage 3.57 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.222 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.377 s0.373 s-0.004 s3.47 MiB3.6 MiB+ 127.02 KiB
/wp-admin/edit.php0.223 s0.223 s+0.000 s3.54 MiB3.65 MiB+ 116.72 KiB
/wp-admin/post-new.php0.840 s0.678 s-0.162 s5.75 MiB5.9 MiB+ 154.73 KiB
/wp-admin/upload.php0.579 s0.499 s-0.080 s3.49 MiB3.59 MiB+ 99.31 KiB
/wp-admin/options-writing.php0.219 s0.231 s+0.012 s3.41 MiB3.57 MiB+ 162.13 KiB
/wp-admin/media-new.php0.304 s0.289 s-0.015 s3.4 MiB3.57 MiB+ 175.49 KiB
/wp-admin/edit-tags.php?taxonomy=category0.227 s0.240 s+0.013 s3.47 MiB3.59 MiB+ 122.17 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.670 s+0.047 s5.75 MiB5.9 MiB+ 154.31 KiB
/wp-admin/options-discussion.php0.284 s0.538 s+0.254 s3.41 MiB3.57 MiB+ 163.8 KiB
/wp-admin/edit-comments.php0.241 s0.264 s+0.023 s3.49 MiB3.59 MiB+ 99.3 KiB
/0.341 s0.227 s-0.114 s3.45 MiB3.45 MiB- 8.26 KiB
Average 0.387 s0.385 s-0.002 s3.87 MiB4 MiB+ 124.25 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
JavaScript30.4%17,0855,788294
PO File25.7%14,46412,30224
PHP17.3%9,7334,90337
CSS10.0%5,61433770
Sass9.1%5,0943240
Markdown6.6%3,714011
HTML0.4%249112
SVG0.3%19615
JSON0.2%8503
Ruby0.0%7121
Total 56,241 23,386 487

PHP Code Analysis | More results »

Lines of code 9,145
Total complexity 1,835
Median class complexity 35.0
Median method complexity 3.0
Most complex class H5PCore
Most complex function H5PValidator::isValidPackage()
Classes 26
Methods 413
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 26 lines

[11-Sep-2024 00:05:12 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:13 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:14 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:15 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:15 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-content-admin.php on line 67
[11-Sep-2024 00:05:15 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-content-admin.php on line 179
[11-Sep-2024 00:05:15 UTC] PHP Deprecated:  Optional parameter $results declared before required parameter $limit is implicitly treated as a required parameter in /wp-content/plugins/h5p/admin/class-h5p-content-query.php on line 400
[11-Sep-2024 00:05:15 UTC] PHP Deprecated:  Optional parameter $offset declared before required parameter $limit is implicitly treated as a required parameter in /wp-content/plugins/h5p/admin/class-h5p-content-query.php on line 400
[11-Sep-2024 00:05:16 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:16 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-content-admin.php on line 67
[11-Sep-2024 00:05:16 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:16 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-library-admin.php on line 52
[11-Sep-2024 00:05:16 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-library-admin.php on line 114
[11-Sep-2024 00:05:17 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:19 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:19 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:20 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:23 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:23 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:24 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:24 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:24 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:27 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:28 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:28 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/h5p/admin/class-h5p-plugin-admin.php on line 547
[11-Sep-2024 00:05:29 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