Draw Attention 2.0.41

Does Draw Attention work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/draw-attention/
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=draw-attention%2Fdraw-attention.php&plugin_status=all&paged=1&s&_wpnonce=dae6414dda
Aspect after-activation
HTTP status 200
Load time 0.404 s
Memory usage 3.84 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/draw-attention/public/assets/js/news-letter.js?ver=2.0.41:71:5)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Draw Attention

Page screenshot: Draw Attention
URL /wp-admin/post.php?post=39&action=edit
Requested URL /wp-admin/edit.php?post_type=da_image
Aspect menu-item
HTTP status 200
Load time 0.787 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Draw Attention → Import / Export

Page screenshot: Draw Attention → Import / Export
URL /wp-admin/edit.php?post_type=da_image&page=import_export
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage 3.69 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/draw-attention/public/assets/js/news-letter.js?ver=2.0.41:71:5)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Draw Attention → Upgrade to Pro

Page screenshot: Draw Attention → Upgrade to Pro
URL https://wpdrawattention.com/?utm_source=plugin&utm_medium=ads&utm_campaign=upgrade-pro&utm_content=admin-menu
Requested URL /wp-admin/edit.php?post_type=da_image&page=da_upgrade_to_pro
Aspect menu-item
HTTP status 200
Load time 6.757 s
Memory usage N/A
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at https://wpdrawattention.com/?utm_source=plugin&utm_medium=ads&utm_campaign=upgrade-pro&utm_content=admin-menu:1787:1",
        "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 1.120 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Edit Image ‹ Test site — WordPress

Page screenshot: Edit Image ‹ Test site — WordPress
URL /wp-admin/post.php?post=39&action=edit
Aspect new-meta-boxes
HTTP status 200
Load time 0.673 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.353 s0.645 s+0.292 s3.51 MiB3.7 MiB+ 196.24 KiB
/wp-admin/edit.php0.244 s0.291 s+0.047 s3.57 MiB3.78 MiB+ 214.23 KiB
/wp-admin/post-new.php0.884 s1.294 s+0.410 s6.06 MiB6.31 MiB+ 256 KiB
/wp-admin/upload.php0.796 s0.491 s-0.305 s3.52 MiB3.7 MiB+ 180.31 KiB
/wp-admin/options-writing.php0.272 s0.242 s-0.030 s3.5 MiB3.68 MiB+ 184.3 KiB
/wp-admin/media-new.php0.307 s0.252 s-0.055 s3.49 MiB3.68 MiB+ 192.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.581 s+0.366 s3.5 MiB3.7 MiB+ 197.67 KiB
/wp-admin/post-new.php?post_type=page0.777 s0.889 s+0.112 s6.05 MiB6.23 MiB+ 187.52 KiB
/wp-admin/options-discussion.php0.614 s0.354 s-0.260 s3.5 MiB3.68 MiB+ 180.8 KiB
/wp-admin/edit-comments.php0.302 s0.249 s-0.053 s3.52 MiB3.7 MiB+ 180.3 KiB
/0.382 s0.232 s-0.150 s3.43 MiB3.56 MiB+ 129.17 KiB
Average 0.468 s0.502 s+0.034 s3.97 MiB4.16 MiB+ 190.82 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
PHP41.5%10,0727,07782
JavaScript27.3%6,62374214
CSS24.7%5,9891,23313
Markdown2.8%67602
PO File2.3%5623395
SVG1.2%30206
JSON0.2%5902
Ruby0.0%741
Total 24,290 9,395 125

PHP Code Analysis | More results »

Lines of code 9,743
Total complexity 2,164
Median class complexity 8.0
Median method complexity 2.0
Most complex class CMB2
Most complex function CMB2_Field_Display::get()
Classes 82
Methods 646
Functions 39

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

Custom Post Types 1

ID Name
da_imageDraw Attention

Meta Boxes

{
    "da_image": {
        "da_shortcode": {
            "title": "Copy Shortcode",
            "context": "side"
        },
        "DrawAttention_Newsletter": {
            "title": "Newsletter",
            "context": "side"
        },
        "da_theme_pack": {
            "title": "Apply Color Scheme",
            "context": "side"
        },
        "drag_to_upload": {
            "title": "Image",
            "context": "side"
        },
        "highlight_styling_metabox": {
            "title": "Highlight Styling",
            "context": "normal"
        },
        "moreinfo_metabox": {
            "title": "More Info Box Styling",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Draw Attention Admin Menus and Meta Boxes