Audio Player Block 1.2.2

Does Audio Player Block work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

Page speed impact: 0.032 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/audio-player-block/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

‹ Test site — WordPress

Page screenshot: ‹ Test site — WordPress
URL /wp-admin/admin.php?page=audio-player-block
Requested URL /wp-admin/plugins.php?action=activate&plugin=audio-player-block%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=667316fa03
Aspect after-activation
HTTP status 200
Load time 0.967 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Audio Player

Page screenshot: Audio Player
URL /wp-admin/edit.php?post_type=audio_player_block
Aspect menu-item
HTTP status 200
Load time 0.246 s
Memory usage 3.65 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'querySelector')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/audio-player-block/build/admin-help.js?ver=1.2.2:171:3763)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Audio Player → Add New Player

Page screenshot: Audio Player → Add New Player
URL /wp-admin/post-new.php?post_type=audio_player_block
Aspect menu-item
HTTP status 200
Load time 0.915 s
Memory usage 6.06 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'querySelector')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/audio-player-block/build/admin-help.js?ver=1.2.2:171:3763)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Audio Player → Player Demo

Page screenshot: Audio Player → Player Demo
URL /wp-admin/edit.php?post_type=audio_player_block&page=bpmp_demo_page
Aspect menu-item
HTTP status 200
Load time 0.288 s
Memory usage 3.59 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.429 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.359 s0.519 s+0.160 s3.48 MiB3.6 MiB+ 125.98 KiB
/wp-admin/edit.php0.212 s0.334 s+0.122 s3.54 MiB3.67 MiB+ 126.77 KiB
/wp-admin/post-new.php0.872 s0.703 s-0.169 s5.93 MiB6.08 MiB+ 153.27 KiB
/wp-admin/upload.php0.760 s0.529 s-0.231 s3.5 MiB3.61 MiB+ 114.91 KiB
/wp-admin/options-writing.php0.219 s0.308 s+0.089 s3.47 MiB3.58 MiB+ 113.41 KiB
/wp-admin/media-new.php0.255 s0.222 s-0.033 s3.46 MiB3.58 MiB+ 121.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.224 s+0.052 s3.48 MiB3.6 MiB+ 132.59 KiB
/wp-admin/post-new.php?post_type=page0.733 s1.178 s+0.445 s5.92 MiB6.06 MiB+ 149.64 KiB
/wp-admin/options-discussion.php0.285 s0.296 s+0.011 s3.47 MiB3.58 MiB+ 110.54 KiB
/wp-admin/edit-comments.php0.207 s0.226 s+0.019 s3.49 MiB3.61 MiB+ 114.91 KiB
/0.321 s0.204 s-0.117 s3.44 MiB3.49 MiB+ 51.63 KiB
Average 0.400 s0.431 s+0.032 s3.93 MiB4.04 MiB+ 119.57 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.

PHP
JSON
JavaScript
Language % Lines of code Comment lines Files
PHP62.8%1,0243514
JSON19.7%32203
JavaScript10.5%17125
PO File5.0%81442
CSS2.0%3304
Total 1,631 81 28

PHP Code Analysis | More results »

Lines of code 983
Total complexity 206
Median class complexity 22.5
Median method complexity 2.0
Most complex class FSActivate
Most complex function Freemius_Lite::permission_update()
Classes 6
Methods 69
Functions 3

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.

Options wp_options 3

Custom Post Types 1

ID Name
audio_player_blockAudio Player

PHP Error Log 1 lines

[26-Jan-2025 06:01:27 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
See also: All tests for this plugin, How to Hide Audio Player Block Admin Menus