Ad Blocks 1.0.3

Does Ad Blocks work with WordPress 6.9.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.9.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/ad-blocks/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=ad-blocks%2Fad-blocks.php&plugin_status=all&paged=1&s&_wpnonce=0a8a65dd7b
Aspect after-activation
HTTP status 200
Load time 0.556 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

Ad Blocks

Page screenshot: Ad Blocks
URL /wp-admin/edit.php?post_type=adblock
Aspect menu-item
HTTP status 200
Load time 0.338 s
Memory usage 3.9 MiB
JS errors None
Resource errors None

Ad Blocks → Add New Ad Block

Page screenshot: Ad Blocks → Add New Ad Block
URL /wp-admin/post-new.php?post_type=adblock
Aspect menu-item
HTTP status 200
Load time 1.078 s
Memory usage 6.64 MiB
JS errors None
Resource errors None

Ad Blocks Settings

Page screenshot: Ad Blocks Settings
URL /wp-admin/admin.php?page=adb_settings
Aspect menu-item
HTTP status 200
Load time 0.729 s
Memory usage 3.86 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.263 s
Memory usage 4.18 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.402 s
Memory usage 6.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.502 s0.525 s+0.023 s3.78 MiB3.92 MiB+ 152.73 KiB
/wp-admin/edit.php0.418 s0.385 s-0.033 s3.78 MiB3.98 MiB+ 199.93 KiB
/wp-admin/post-new.php0.894 s1.292 s+0.398 s6.31 MiB6.63 MiB+ 336.13 KiB
/wp-admin/upload.php0.545 s0.873 s+0.328 s3.74 MiB3.86 MiB+ 127.53 KiB
/wp-admin/options-writing.php0.373 s0.573 s+0.200 s3.71 MiB3.84 MiB+ 137.02 KiB
/wp-admin/media-new.php0.601 s0.387 s-0.214 s3.7 MiB3.84 MiB+ 145.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.418 s0.371 s-0.047 s3.72 MiB3.86 MiB+ 150.08 KiB
/wp-admin/post-new.php?post_type=page1.317 s0.818 s-0.499 s6.3 MiB6.56 MiB+ 265.61 KiB
/wp-admin/options-discussion.php0.542 s0.700 s+0.158 s3.71 MiB3.84 MiB+ 133.52 KiB
/wp-admin/edit-comments.php0.433 s0.451 s+0.018 s3.73 MiB3.86 MiB+ 133.02 KiB
/0.351 s0.266 s-0.085 s4.11 MiB4.18 MiB+ 70.58 KiB
Average 0.581 s0.604 s+0.022 s4.23 MiB4.4 MiB+ 168.31 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
Language % Lines of code Comment lines Files
PHP82.0%85441910
CSS7.6%7943
JavaScript5.5%57101
JSON4.9%5101
Total 1,041 433 15

PHP Code Analysis | More results »

Lines of code 834
Total complexity 171
Median class complexity 12.0
Median method complexity 2.0
Most complex class ADB_Settings_admin
Most complex function ADB_Settings_admin::do_settings_sections()
Classes 9
Methods 62
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.

Options wp_options 1

Custom Post Types 1

ID Name
adblockAd Block

Sidebar Widgets 1

ID Name
adb_widget_adblocksAd Blocks

Meta Boxes

{
    "adblock": {
        "metabox_adblock": {
            "title": "Shortcode options",
            "context": "normal"
        },
        "metabox_adblock_auto": {
            "title": "Auto posting",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[17-Feb-2026 08:12:28 UTC] PHP Deprecated:  Optional parameter $type declared before required parameter $field_id is implicitly treated as a required parameter in /wp-content/plugins/ad-blocks/includes/vendors/cmb2/includes/rest-api/CMB2_REST.php on line 693
[17-Feb-2026 08:12:31 UTC] PHP Deprecated:  Optional parameter $args declared before required parameter $i is implicitly treated as a required parameter in /wp-content/plugins/ad-blocks/includes/vendors/cmb2/includes/types/CMB2_Type_Multi_Base.php on line 34
[17-Feb-2026 08:12:36 UTC] PHP Notice:  Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with the handle "cmb2-conditionals-ext" was enqueued with dependencies that are not registered: cmb2-scripts. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.9.1.) in /wp-includes/functions.php on line 6131
[17-Feb-2026 08:12:47 UTC] PHP Notice:  Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with the handle "cmb2-conditionals-ext" was enqueued with dependencies that are not registered: cmb2-scripts. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.9.1.) in /wp-includes/functions.php on line 6131
See also: All tests for this plugin, How to Hide Ad Blocks Admin Menus and Meta Boxes