WP Legal Pages 3.2.4

Does WP Legal Pages work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 231.93 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 version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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 5

WPLegalPages ‹ Test site — WordPress

Page screenshot: WPLegalPages ‹ Test site — WordPress
URL /wp-admin/admin.php?page=legal-pages
Requested URL /wp-admin/plugins.php?action=activate&plugin=wplegalpages%2Fwplegalpages.php&plugin_status=all&paged=1&s&_wpnonce=5a5cc88c1a
Aspect after-activation
HTTP status 200
Load time 1.711 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

WP Legal Pages

Page screenshot: WP Legal Pages
URL /wp-admin/admin.php?page=legal-pages
Aspect menu-item
HTTP status 200
Load time 0.973 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

WP Legal Pages → Cookie Consent

Page screenshot: WP Legal Pages → Cookie Consent
URL /wp-admin/admin.php?page=gdpr-cookie-consent
Aspect menu-item
HTTP status 200
Load time 0.377 s
Memory usage 3.65 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.194 s
Memory usage 3.51 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.479 s
Memory usage 5.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.317 s0.622 s+0.305 s3.47 MiB3.67 MiB+ 202.04 KiB
/wp-admin/edit.php0.212 s0.350 s+0.138 s3.54 MiB3.73 MiB+ 201.43 KiB
/wp-admin/post-new.php0.742 s0.560 s-0.182 s5.75 MiB6.12 MiB+ 381.66 KiB
/wp-admin/upload.php0.534 s0.356 s-0.178 s3.49 MiB3.67 MiB+ 184.34 KiB
/wp-admin/options-writing.php0.366 s0.182 s-0.184 s3.41 MiB3.65 MiB+ 246.83 KiB
/wp-admin/media-new.php0.270 s0.248 s-0.022 s3.4 MiB3.65 MiB+ 260.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.179 s+0.000 s3.47 MiB3.67 MiB+ 206.88 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.598 s+0.019 s5.75 MiB6.11 MiB+ 373.25 KiB
/wp-admin/options-discussion.php0.230 s0.240 s+0.010 s3.41 MiB3.65 MiB+ 248.52 KiB
/wp-admin/edit-comments.php0.223 s0.195 s-0.028 s3.49 MiB3.67 MiB+ 184.02 KiB
/0.317 s0.182 s-0.135 s3.45 MiB3.51 MiB+ 62.11 KiB
Average 0.361 s0.337 s-0.023 s3.88 MiB4.1 MiB+ 231.93 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
CSS
Language % Lines of code Comment lines Files
JavaScript39.6%15,1972,02529
PHP36.4%13,9602,90942
CSS13.4%5,1536818
JSON4.5%1,72401
HTML2.7%1,050041
SVG2.3%866069
PO File1.0%3711911
XML0.0%1801
Total 38,339 5,193 202

PHP Code Analysis | More results »

Lines of code 10,412
Total complexity 1,930
Median class complexity 25.0
Median method complexity 3.0
Most complex class WP_Legal_Pages_Admin
Most complex function WP_Legal_Pages_Wizard_Page::get_page_preview_text()
Classes 18
Methods 241
Functions 34

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 23

Sidebar Widgets 1

ID Name
legal_pagesWPLegalPages

PHP Error Log 2 lines

[11-Sep-2024 04:09:16 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). 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 5.8.0.) in /wp-includes/functions.php on line 6085
[11-Sep-2024 04:09:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wplegalpages/wc-am-client-legalpages.php on line 249
See also: All tests for this plugin, How to Hide WP Legal Pages Admin Menus