WP Legal Pages 2.4.9

Does WP Legal Pages work with WordPress 5.8 and PHP 7.4.8? 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: 64.74 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/wplegalpages/
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=wplegalpages%2Fwplegalpages.php&plugin_status=all&paged=1&s&_wpnonce=92f5777c6e
Aspect after-activation
HTTP status 200
Load time 0.927 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

Legal Pages

Page screenshot: Legal Pages
URL /wp-admin/admin.php?page=getting-started
Aspect menu-item
HTTP status 200
Load time 0.740 s
Memory usage 3.06 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.256 s
Memory usage 3 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 2.077 s
Memory usage 4.51 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.305 s0.230 s-0.075 s3.08 MiB3.2 MiB+ 118.84 KiB
/wp-admin/edit.php0.176 s0.182 s+0.006 s3.11 MiB3.23 MiB+ 119.16 KiB
/wp-admin/post-new.php0.873 s0.707 s-0.166 s5.27 MiB5.32 MiB+ 60.04 KiB
/wp-admin/upload.php0.548 s0.417 s-0.131 s3.03 MiB3.08 MiB+ 54.86 KiB
/wp-admin/options-writing.php0.140 s0.134 s-0.006 s3.02 MiB3.06 MiB+ 38 KiB
/wp-admin/media-new.php0.214 s0.218 s+0.004 s3.01 MiB3.06 MiB+ 55.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.166 s0.249 s+0.083 s3.04 MiB3.09 MiB+ 55.1 KiB
/wp-admin/post-new.php?post_type=page0.761 s0.984 s+0.223 s5.26 MiB5.31 MiB+ 55.63 KiB
/wp-admin/options-discussion.php0.274 s0.252 s-0.022 s3 MiB3.06 MiB+ 54.51 KiB
/wp-admin/edit-comments.php0.335 s0.204 s-0.131 s3.04 MiB3.1 MiB+ 54.05 KiB
/0.337 s0.259 s-0.078 s2.96 MiB3 MiB+ 46.88 KiB
Average 0.375 s0.349 s-0.027 s3.44 MiB3.5 MiB+ 64.74 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.

JavaScript
PHP
Language % Lines of code Comment lines Files
JavaScript63.2%9,2501,4205
PHP24.0%3,5131,72626
CSS5.5%805206
HTML2.7%39007
PO File2.5%3691551
SVG2.0%28801
XML0.1%1801
Total 14,633 3,321 47

PHP Code Analysis | More results »

Lines of code 2,329
Total complexity 371
Median class complexity 13.5
Median method complexity 2.0
Most complex class Analytics
Most complex function WP_Legal_Pages_Admin::wplegalpages_menu_meta_box()
Classes 12
Methods 103
Functions 32

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.

Database Tables 2

Options wp_options 17

Sidebar Widgets 1

ID Name
legal_pagesWP Legal Pages

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Legal Pages Admin Menus