WPLegalPages 2.5.2

Does WPLegalPages work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version5.8.1
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=2caca1fb7a
Aspect after-activation
HTTP status 200
Load time 1.583 s
Memory usage 3.26 MiB
JS errors
[
    {
        "message": "SyntaxError: Invalid or unexpected token",
        "trace": null,
        "code": null
    }
]
Resource errors None

WPLegalPages

Page screenshot: WPLegalPages
URL /wp-admin/admin.php?page=getting-started
Aspect menu-item
HTTP status 200
Load time 1.139 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.455 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.268 s
Memory usage 4.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.327 s0.348 s+0.021 s3.08 MiB3.2 MiB+ 121.36 KiB
/wp-admin/edit.php0.175 s0.198 s+0.023 s3.11 MiB3.23 MiB+ 121.67 KiB
/wp-admin/post-new.php1.098 s1.273 s+0.175 s5.27 MiB5.33 MiB+ 62.55 KiB
/wp-admin/upload.php0.399 s0.592 s+0.193 s3.03 MiB3.09 MiB+ 57.38 KiB
/wp-admin/options-writing.php0.148 s0.139 s-0.009 s3.02 MiB3.06 MiB+ 40.52 KiB
/wp-admin/media-new.php0.228 s0.211 s-0.017 s3.01 MiB3.06 MiB+ 57.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.224 s+0.060 s3.04 MiB3.09 MiB+ 57.62 KiB
/wp-admin/post-new.php?post_type=page1.172 s1.287 s+0.115 s5.26 MiB5.31 MiB+ 58.14 KiB
/wp-admin/options-discussion.php0.310 s0.265 s-0.045 s3 MiB3.06 MiB+ 57.02 KiB
/wp-admin/edit-comments.php0.253 s0.232 s-0.021 s3.04 MiB3.1 MiB+ 56.56 KiB
/0.344 s0.257 s-0.087 s2.96 MiB3 MiB+ 47.71 KiB
Average 0.420 s0.457 s+0.037 s3.44 MiB3.5 MiB+ 67.1 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
JavaScript62.3%9,3221,4205
PHP24.6%3,6761,74026
CSS6.0%899236
HTML2.7%39707
PO File2.5%3711911
SVG1.9%28801
XML0.1%1801
Total 14,971 3,374 47

PHP Code Analysis | More results »

Lines of code 2,384
Total complexity 382
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 105
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 18

Sidebar Widgets 1

ID Name
legal_pagesWPLegalPages

PHP Error Log

The log file is empty.

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