Audio Player Block 1.2.4

Does Audio Player Block work with WordPress 6.7.2 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: 116.57 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.7.2
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=dbd7953339
Aspect after-activation
HTTP status 200
Load time 0.740 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.236 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.4: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.924 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.4: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.300 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.726 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.333 s0.324 s-0.009 s3.48 MiB3.6 MiB+ 126.16 KiB
/wp-admin/edit.php0.212 s0.237 s+0.025 s3.54 MiB3.67 MiB+ 126.95 KiB
/wp-admin/post-new.php0.802 s0.910 s+0.108 s5.93 MiB6.08 MiB+ 157.88 KiB
/wp-admin/upload.php0.574 s0.576 s+0.002 s3.5 MiB3.61 MiB+ 115.04 KiB
/wp-admin/options-writing.php0.206 s0.266 s+0.060 s3.47 MiB3.58 MiB+ 113.54 KiB
/wp-admin/media-new.php0.365 s0.210 s-0.155 s3.46 MiB3.58 MiB+ 121.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.201 s+0.021 s3.48 MiB3.61 MiB+ 132.71 KiB
/wp-admin/post-new.php?post_type=page0.576 s0.649 s+0.073 s5.92 MiB6.07 MiB+ 149.77 KiB
/wp-admin/options-discussion.php0.289 s0.278 s-0.011 s3.48 MiB3.58 MiB+ 110.66 KiB
/wp-admin/edit-comments.php0.209 s0.471 s+0.262 s3.5 MiB3.61 MiB+ 115.04 KiB
/0.321 s0.263 s-0.058 s3.48 MiB3.49 MiB+ 12.81 KiB
Average 0.370 s0.399 s+0.029 s3.93 MiB4.04 MiB+ 116.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
PHP63.3%1,0483514
JSON19.5%32203
JavaScript10.3%17125
PO File4.9%81442
CSS2.0%3304
Total 1,655 81 28

PHP Code Analysis | More results »

Lines of code 1,007
Total complexity 216
Median class complexity 27.5
Median method complexity 2.0
Most complex class FSActivate
Most complex function Freemius_Lite::permission_update()
Classes 6
Methods 70
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-Feb-2025 17:43:26 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