WP Attention Click 1.0

Does WP Attention Click work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/wp-attention-click/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=wp-attention-click%2Fwp-click.php&plugin_status=all&paged=1&s&_wpnonce=4de52bd83b
Aspect after-activation
HTTP status 200
Load time 0.766 s
Memory usage 3.68 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fn')\n    at factory (/wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=759:6514:5)\n    at /wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=759:6534:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → WP Attention Click

Page screenshot: Settings → WP Attention Click
URL /wp-admin/options-general.php?page=wp-click
Aspect menu-item
HTTP status 200
Load time 0.928 s
Memory usage 3.68 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fn')\n    at factory (/wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=130:6514:5)\n    at /wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=130:6534:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → WP Attention Click → Popup

Screenshot not available
URL /wp-admin/options-general.php?page=wp-click
Aspect menu-item-tab
HTTP status 200
Load time 0.466 s
Memory usage 3.65 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fn')\n    at factory (/wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=645:6514:5)\n    at /wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=645:6534:3",
        "trace": null,
        "code": null
    }
]
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.212 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.261 s0.447 s+0.186 s3.51 MiB3.69 MiB+ 185.61 KiB
/wp-admin/edit.php0.177 s0.516 s+0.339 s3.57 MiB3.76 MiB+ 195.49 KiB
/wp-admin/post-new.php0.658 s0.934 s+0.276 s6.06 MiB6.22 MiB+ 164.51 KiB
/wp-admin/upload.php0.745 s0.449 s-0.296 s3.52 MiB3.66 MiB+ 135.2 KiB
/wp-admin/options-writing.php0.164 s0.357 s+0.193 s3.5 MiB3.65 MiB+ 154.71 KiB
/wp-admin/media-new.php0.227 s0.363 s+0.136 s3.49 MiB3.65 MiB+ 162.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.158 s0.509 s+0.351 s3.5 MiB3.67 MiB+ 168.17 KiB
/wp-admin/post-new.php?post_type=page0.523 s0.671 s+0.148 s6.05 MiB6.14 MiB+ 96.04 KiB
/wp-admin/options-discussion.php0.369 s0.585 s+0.216 s3.5 MiB3.65 MiB+ 151.84 KiB
/wp-admin/edit-comments.php0.171 s0.357 s+0.186 s3.52 MiB3.67 MiB+ 150.87 KiB
/0.259 s0.215 s-0.044 s3.49 MiB3.53 MiB+ 33.99 KiB
Average 0.337 s0.491 s+0.154 s3.97 MiB4.12 MiB+ 145.39 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP40.6%7,8752,78683
JavaScript37.7%7,3241,0185
CSS21.7%4,2191823
Total 19,418 3,986 91

PHP Code Analysis | More results »

Lines of code 7,354
Total complexity 1,696
Median class complexity 12.0
Median method complexity 2.0
Most complex class PF_classOptions
Most complex function PF_Field_styling::render()
Classes 67
Methods 274
Functions 42

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 2

PHP Error Log 23 lines

[07-May-2025 12:12:58 UTC] PHP Deprecated:  Optional parameter $type declared before required parameter $path is implicitly treated as a required parameter in /wp-content/plugins/wp-attention-click/admin/framework/pixel/classes/class-init.php on line 624
[07-May-2025 12:12:58 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ID (ID)
                    ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_...' at line 18 for query CREATE TABLE wp_wpac_clicks (
                                ID int(11) NOT NULL AUTO_INCREMENT,
                                post_id int(15) NULL,
                                type_click CHAR(20) NOT NULL DEFAULT 'b', /* ← even if you add it here, it goes to the end of the table */
                                date_click datetime NOT NULL,
                                timestamp_click int(15) NOT NULL,
                                ip varchar(100) NULL,
                                la varchar(100) NULL,
                                lo varchar(100) NULL,
                                country varchar(100) NULL,
                                country_code varchar(100) NULL,
                                region varchar(100) NULL,
                                city varchar(100) NULL,
                                device varchar(10) NOT NULL,
                                url varchar(250) NOT NULL,
                                where_is varchar(30) NULL,
                                browser_details varchar(500) NULL
                            UNIQUE KEY ID (ID)
                    ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, wpAttentionClick\Admin\wpacAdmin::admin_activated_plugin, wpAttentionClick\Core\wpacActivator::activate, wpAttentionClick\Core\wpacActivator::create_tables, dbDelta
[07-May-2025 12:12:58 UTC] WordPress database error Table 'wordpress.wp_wpac_clicks' doesn't exist for query SHOW COLUMNS FROM wp_wpac_clicks LIKE 'type_click' made by activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, wpAttentionClick\Admin\wpacAdmin::admin_activated_plugin, wpAttentionClick\Core\wpacActivator::activate, wpAttentionClick\Core\wpacActivator::create_tables
[07-May-2025 12:12:58 UTC] WordPress database error Table 'wordpress.wp_wpac_clicks' doesn't exist for query ALTER TABLE wp_wpac_clicks ADD type_click CHAR(20) NOT NULL DEFAULT 'b' made by activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, wpAttentionClick\Admin\wpacAdmin::admin_activated_plugin, wpAttentionClick\Core\wpacActivator::activate, wpAttentionClick\Core\wpacActivator::create_tables
See also: All tests for this plugin, How to Hide the "WP Attention Click" Admin Menu